HWPOISON: x86: Add VM_FAULT_HWPOISON handling to x86 page fault handler v2
authorAndi Kleen <andi@firstfloor.org>
Wed, 16 Sep 2009 09:50:09 +0000 (11:50 +0200)
committerAndi Kleen <ak@linux.intel.com>
Wed, 16 Sep 2009 09:50:09 +0000 (11:50 +0200)
commita6e04aa92965565968573a220a35b4e907385697
treea8f49a97247a0ee14a1442ea2ee4719001785fc7
parenta3b947eacfe783df4ca0fe53ef8a764eebc2d0d6
HWPOISON: x86: Add VM_FAULT_HWPOISON handling to x86 page fault handler v2

Add VM_FAULT_HWPOISON handling to the x86 page fault handler. This is
very similar to VM_FAULT_OOM, the only difference is that a different
si_code is passed to user space and the new addr_lsb field is initialized.

v2: Make the printk more verbose/unique

Cc: x86@kernel.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
arch/x86/mm/fault.c