Hugh Dickins fd4a4663db mm: fix hugepage migration
2.6.37 added an unmap_and_move_huge_page() for memory failure recovery,
but its anon_vma handling was still based around the 2.6.35 conventions.
Update it to use page_lock_anon_vma, get_anon_vma, page_unlock_anon_vma,
drop_anon_vma in the same way as we're now changing unmap_and_move().

I don't particularly like to propose this for stable when I've not seen
its problems in practice nor tested the solution: but it's clearly out of
synch at present.

Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Rik van Riel <riel@redhat.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: "Jun'ichi Nomura" <j-nomura@ce.jp.nec.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: <stable@kernel.org> [2.6.37, 2.6.36]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-13 17:32:49 -08:00
..
2011-01-13 17:32:42 -08:00
2010-08-08 21:57:23 +01:00
2011-01-13 17:32:49 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:47 -08:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:47 -08:00
2009-09-22 07:17:35 -07:00
2011-01-13 17:32:49 -08:00
2010-03-24 16:31:21 -07:00
2011-01-13 17:32:46 -08:00
2011-01-13 17:32:41 -08:00
2010-05-21 18:31:21 -04:00
2011-01-13 17:32:41 -08:00
2010-05-25 08:07:00 -07:00
2011-01-07 17:50:26 +11:00
2011-01-13 17:32:33 -08:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:36 -08:00
2011-01-13 17:32:43 -08:00