]> git.baikalelectronics.ru Git - kernel.git/commit
mm: numa: clear numa hinting information on mprotect
authorMel Gorman <mgorman@suse.de>
Thu, 19 Dec 2013 01:08:41 +0000 (17:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 19 Dec 2013 03:04:51 +0000 (19:04 -0800)
commit7c91ad93a6ee0f83c9f2660444218cfd1a025097
tree05fbf14be003948a074fff97950c7764f6bf9c80
parentb10d92e205bc38cf68088e2bf780ef2a6986dce1
mm: numa: clear numa hinting information on mprotect

On a protection change it is no longer clear if the page should be still
accessible.  This patch clears the NUMA hinting fault bits on a
protection change.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Alex Thorlton <athorlton@sgi.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/huge_memory.c
mm/mprotect.c