mm: numa: clear numa hinting information on mprotect
authorMel Gorman <[email protected]>
Thu, 19 Dec 2013 01:08:41 +0000 (17:08 -0800)
committerLinus Torvalds <[email protected]>
Thu, 19 Dec 2013 03:04:51 +0000 (19:04 -0800)
commit1667918b6483b12a6496bf54151b827b8235d7b1
tree05fbf14be003948a074fff97950c7764f6bf9c80
parent3c67f474558748b604e247d92b55dfe89654c81d
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 <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Cc: Alex Thorlton <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/huge_memory.c
mm/mprotect.c