From: Mel Gorman Date: Thu, 19 Dec 2013 01:08:42 +0000 (-0800) Subject: mm: numa: avoid unnecessary disruption of NUMA hinting during migration X-Git-Tag: v3.13-rc5~23^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de466bd628e8d663fdf3f791bc8db318ee85c714;p=pandora-kernel.git 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 Reviewed-by: Rik van Riel Cc: Alex Thorlton Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed