]> Git Repo - linux.git/commit
hwpoison: always unset MIGRATE_ISOLATE before returning from soft_offline_page()
authorNaoya Horiguchi <[email protected]>
Wed, 11 Sep 2013 21:22:49 +0000 (14:22 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Sep 2013 22:58:08 +0000 (15:58 -0700)
commit0d6fdbdb2a651f0c9bb979e1d92b1e15dadffc4f
tree821dd8299770976d4d4d049bb527a2c85d6e730e
parentcf6fe945389e674130dc7564392930cf7fb9f5e8
hwpoison: always unset MIGRATE_ISOLATE before returning from soft_offline_page()

Soft offline code expects that MIGRATE_ISOLATE is set on the target page
only during soft offlining work.  But currenly it doesn't work as expected
when get_any_page() fails and returns negative value.  In the result, end
users can have unexpectedly isolated pages.  This patch just fixes it.

Signed-off-by: Naoya Horiguchi <[email protected]>
Reviewed-by: Wanpeng Li <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Fengguang Wu <[email protected]>
Cc: Tony Luck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memory-failure.c
This page took 0.049616 seconds and 4 git commands to generate.