LWN.net Logo

Re: More thoughts about hwpoison and pageflags compression

From:  Andrew Morton <akpm-AT-linux-foundation.org>
To:  Andi Kleen <andi-AT-firstfloor.org>
Subject:  Re: More thoughts about hwpoison and pageflags compression
Date:  Fri, 29 May 2009 23:53:02 -0700
Message-ID:  <20090529235302.ccf58d88.akpm@linux-foundation.org>
Cc:  Alan Cox <alan-AT-lxorguk.ukuu.org.uk>, linux-kernel-AT-vger.kernel.org, linux-mm-AT-kvack.org, fengguang.wu-AT-intel.com
Archive-link:  Article, Thread

On Sat, 30 May 2009 08:37:10 +0200 Andi Kleen <andi@firstfloor.org> wrote:

> So using a separate bit is a sensible choice imho.

Could you make the feature 64-bit-only and use one of bits 32-63?

Did you consider making the poison tag external to the pageframe?  Some
hash(page*) into a bitmap or something?  If suitably designed, such
infrastructure could perhaps be reused to reclaim some existing page
flags.  Dave Hansen had such a patch a few years back.  Or maybe it
was Andy Whitcroft.

--
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