Re: [PATCH] [2/16] POISON: Add page flag for poisoned pages

Andi Kleen
2009-04-08T06:24:18Z

> > @@ -104,6 +107,9 @@
> > #ifdef CONFIG_IA64_UNCACHED_ALLOCATOR
> > PG_uncached, /* Page has been mapped as uncached */
> > #endif
> > +#ifdef CONFIG_MEMORY_FAILURE
>
> Is it necessary to have this under CONFIG_MEMORY_FAILURE?

That was mainly so that !MEMORY_FAILURE 32bits NUMA architectures who
might not use sparsemap/vsparsemap get a few more zone bits in page flags
to play with. Not sure those really exist, so it might be indeed
redundant, but it seemed safer.

-Andi
--
ak@linux.intel.com -- Speaking for myself only.