]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: numa: limit scope of lock for NUMA migrate rate limiting
authorMel Gorman <mgorman@suse.de>
Fri, 3 Jan 2014 03:09:58 +0000 (14:09 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:09:58 +0000 (14:09 +1100)
commita10d71566ed6b0c12ec20a6a693e2ecff3afa809
tree8169f64503f76f3178a4ca9e3b973ace114391ea
parent2d9a1e50d4dd2a818a185eaa1f8b37ee865e3662
mm: numa: limit scope of lock for NUMA migrate rate limiting

NUMA migrate rate limiting protects a migration counter and window using a
lock but in some cases this can be a contended lock.  It is not critical
that the number of pages be perfect, lost updates are acceptable.  Reduce
the importance of this lock.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Alex Thorlton <athorlton@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mmzone.h
mm/migrate.c