HWPOISON: Add page flag for poisoned pages
commitd466f2fcb32cd97fd586bfa33f5dba3ac78aadb0
authorAndi Kleen <andi@firstfloor.org>
Wed, 16 Sep 2009 09:50:03 +0000 (16 11:50 +0200)
committerAndi Kleen <ak@linux.intel.com>
Wed, 16 Sep 2009 09:50:03 +0000 (16 11:50 +0200)
tree3e8d7f89f08e6b2340adebb4ebdbfb7329902607
parent0cb583fd2862f19ea88b02eb307d11c09e51e2f8
HWPOISON: Add page flag for poisoned pages

Hardware poisoned pages need special handling in the VM and shouldn't be
touched again. This requires a new page flag. Define it here.

The page flags wars seem to be over, so it shouldn't be a problem
to get a new one.

v2: Add TestSetHWPoison (suggested by Johannes Weiner)

Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
include/linux/page-flags.h