summaryrefslogtreecommitdiffstats
path: root/mm/pgtable-generic.c
diff options
context:
space:
mode:
authorMel Gorman2013-12-19 02:08:42 +0100
committerLinus Torvalds2013-12-19 04:04:51 +0100
commitde466bd628e8d663fdf3f791bc8db318ee85c714 (patch)
treea7f9cc6ab09cbdbce981b974c8ec238f6c3e1524 /mm/pgtable-generic.c
parentmm: numa: clear numa hinting information on mprotect (diff)
downloadkernel-qcow2-linux-de466bd628e8d663fdf3f791bc8db318ee85c714.tar.gz
kernel-qcow2-linux-de466bd628e8d663fdf3f791bc8db318ee85c714.tar.xz
kernel-qcow2-linux-de466bd628e8d663fdf3f791bc8db318ee85c714.zip
mm: numa: avoid unnecessary disruption of NUMA hinting during migration
do_huge_pmd_numa_page() handles the case where there is parallel THP migration. However, by the time it is checked the NUMA hinting information has already been disrupted. This patch adds an earlier check with some helpers. 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>
Diffstat (limited to 'mm/pgtable-generic.c')
0 files changed, 0 insertions, 0 deletions