Re: More thoughts about hwpoison and pageflags compression

Andrew Morton
2009-05-30T06:53:24Z

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.