mm: numa: limit scope of lock for NUMA migrate rate limiting
authorMel Gorman <mgorman@suse.de>
Tue, 21 Jan 2014 23:50:59 +0000 (15:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Jan 2014 00:19:48 +0000 (16:19 -0800)
commit1c5e9c27cbd966c7f0038698d5dcd5ada3574f47
treea546cec0019aa3b726ba06e50ce38f960ee8f222
parent1c30e0177e4f41a11cb88b0f1f056ccebfe0fff4
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h
mm/migrate.c