HWPOISON: Add basic support for poisoned pages in fault handler v3
authorAndi Kleen <andi@firstfloor.org>
Wed, 16 Sep 2009 09:50:06 +0000 (11:50 +0200)
committerAndi Kleen <ak@linux.intel.com>
Wed, 16 Sep 2009 09:50:06 +0000 (11:50 +0200)
commitd1737fdbec7f90edc52dd0c5c3767457f28e78d8
tree8699aabdff713a70665a9f60106ce21012376733
parentad5fa913991e9e0f122b021e882b0d50051fbdbc
HWPOISON: Add basic support for poisoned pages in fault handler v3

- Add a new VM_FAULT_HWPOISON error code to handle_mm_fault. Right now
architectures have to explicitely enable poison page support, so
this is forward compatible to all architectures. They only need
to add it when they enable poison page support.
- Add poison page handling in swap in fault code

v2: Add missing delayacct_clear_flag (Hidehiro Kawai)
v3: Really use delayacct_clear_flag (Hidehiro Kawai)

Signed-off-by: Andi Kleen <ak@linux.intel.com>
include/linux/mm.h
mm/memory.c