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

From: Andi Kleen
Date: Wed Apr 08 2009 - 02:24:19 EST


> > @@ -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@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/