User: Password:
|
|
Subscribe / Log in / New account

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

From:  Rik van Riel <riel-AT-redhat.com>
To:  Andi Kleen <andi-AT-firstfloor.org>
Subject:  Re: [PATCH] [1/16] HWPOISON: Add page flag for poisoned pages
Date:  Fri, 29 May 2009 12:10:24 -0400
Message-ID:  <4A2008F0.1070304@redhat.com>
Cc:  Alan Cox <alan-AT-lxorguk.ukuu.org.uk>, akpm-AT-linux-foundation.org, linux-kernel-AT-vger.kernel.org, linux-mm-AT-kvack.org, fengguang.wu-AT-intel.com
Archive-link:  Article

Andi Kleen wrote:
> On Wed, May 27, 2009 at 10:15:10PM +0100, Alan Cox wrote:
>> On Wed, 27 May 2009 22:12:26 +0200 (CEST)
>> Andi Kleen <andi@firstfloor.org> 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).
> 
> Right now a page must be present with PG_reserved, otherwise /dev/mem, /proc/kcore
> lots of other things will explode.

Could we use a combination of, say PG_reserved and
PG_writeback to keep /dev/mem and /proc/kcore from
exploding ?

-- 
All rights reversed.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>



(Log in to post comments)


Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds