mm: numa: do not automatically migrate KSM pages
authorMel Gorman <mgorman@suse.de>
Tue, 21 Jan 2014 23:51:02 +0000 (15:51 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Jan 2014 00:19:48 +0000 (16:19 -0800)
commit64a9a34e22896dad430e21a28ad8cb00a756fefc
treea2b61f7edff663bdf35d688ff160f3153c23fba4
parentaf1839d722c986ffeaae1e70a6ef1c75ff38dcd5
mm: numa: do not automatically migrate KSM pages

KSM pages can be shared between tasks that are not necessarily related
to each other from a NUMA perspective.  This patch causes those pages to
be ignored by automatic NUMA balancing so they do not migrate and do not
cause unrelated tasks to be grouped together.

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>
mm/mprotect.c