Re: [PATCH] [1/16] HWPOISON: Add page flag for poisoned pages

From: Alan Cox
Date: Wed May 27 2009 - 17:14:32 EST


On Wed, 27 May 2009 22:12:26 +0200 (CEST)
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

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

Why can't you use PG_reserved ? That already indicates the page may not
even be present (which is effectively your situation at that point).
Given lots of other hardware platforms we support bus error, machine
check, explode or do random undefined fun things when you touch pages
that don't exist I'm not sure I see why poisoned is different here ?

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/