commit | b023f46813cde6e3b8a8c24f432ff9c1fd8e9a64 | [log] [tgz] |
---|---|---|
author | Wen Congyang <[email protected]> | Tue Dec 11 16:00:45 2012 -0800 |
committer | Linus Torvalds <[email protected]> | Tue Dec 11 17:22:22 2012 -0800 |
tree | edac3509e7c44136450e20d7f9cc81de35926650 | |
parent | fa7194eb99b8e9fefe96f045002648ffb55f53c0 [diff] |
memory-hotplug: skip HWPoisoned page when offlining pages hwpoisoned may be set when we offline a page by the sysfs interface /sys/devices/system/memory/soft_offline_page or /sys/devices/system/memory/hard_offline_page. If we don't clear this flag when onlining pages, this page can't be freed, and will not in free list. So we can't offline these pages again. So we should skip such page when offlining pages. Signed-off-by: Wen Congyang <[email protected]> Cc: David Rientjes <[email protected]> Cc: Jiang Liu <[email protected]> Cc: Len Brown <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Minchan Kim <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Yasuaki Ishimatsu <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Mel Gorman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>