Re: [GIT PULL v2] Early SLAB fixes for 2.6.31
From: Benjamin Herrenschmidt
Date: Wed Jun 17 2009 - 22:24:44 EST
> So I'm very much ok with the whole "use magic gfp_mask to indicate what
> works at what stage". And yes, I think it makes sense to extend it to the
> page allocator and might_sleep too, because GFP_KERNEL has all the same
> issues regardless of whether it's about page allocation or about slab
> allocators. And any "might_sleep" suppression really does tend to be about
> the exact same thing.
Argh... still broken.
In fact, my initial patch added it to the page allocator, which worked
for me. Pekka patch removed that and made it slab-only. So I'm blowing
up at boot in lockdep or so because I'm allocating page tables on
ppc32 with __get_free_pages() and GFP_KERNEL.
I'll cook up a patch.
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/