Re: [Bug #13319] Page allocation failures with b43 and p54usb

David Rientjes
2009-07-27T18:16:16Z

On Mon, 27 Jul 2009, Christoph Lameter wrote:

> On Mon, 27 Jul 2009, David Rientjes wrote:
>
> > We need DEBUG_FLAGS to determine which flags to mask off to reduce the
> > minimum order, so I don't see DEBUG_FLAGS_SIZE as troublesome.
> >
> > Christoph?
>
> Post a patch? Otherwise just go ahead.
>
>

My patch is already in Pekka's slab-2.6.git tree at
http://git.kernel.org/?p=linux/kernel/git/penberg/slab-2.6.git;a=commit;h=fa5ec8a1f66f3c2a3af723abcf8085509c9ee682

You had proposed http://marc.info/?l=linux-kernel&m=124725166205814, which
moves the mask to kmem_cache_open() and calls calculate_sizes() twice.
That eliminates DEBUG_FLAGS_SIZE, but I don't see that define as being
troublesome since we must define DEBUG_FLAGS to specify what options add
metdata anyway.