Messages in this thread | | | Date | Wed, 4 Mar 2009 23:12:40 +0900 | From | Akinobu Mita <> | Subject | Re: [PATCH] generic debug pagealloc |
| |
On Tue, Mar 03, 2009 at 05:05:03PM +0100, Ingo Molnar wrote: > if every architecture supports it now then i guess this config > switch can go away: > > > +config ARCH_SUPPORTS_DEBUG_PAGEALLOC > > + def_bool y
The generic debug pagealloc needs the poison flag for each struct page.
So I introduced CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC for x86, powerpc, sparc (64bit), and s390. If there is no CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC, make config prompts the generic debug pagealloc in mm/Kconfig.debug for the other architectures.
I was trying to add cleaner config dependency but CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC is my solution for now.
| |