Re: CK5 [03/18] create common functions for boot slab creation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 5 Nov 2012, Christoph Lameter wrote:

> > Eek, the calls to __kmem_cache_create() in the boot path as it sits in
> > slab/next right now are ignoring SLAB_PANIC.
> 
> Any failure to create a slab cache during early boot is fatal and we panic
> unconditionally. Like before as far as I can tell but without the use of
> SLAB_PANIC.
> 

With your patch, yeah, but right now mm/slab.c calls directly into 
__kmem_cache_create() with SLAB_PANIC which never gets respected during 
bootstrap since it is handled in kmem_cache_create() in slab/next.  So 
this patch could actually be marketed as a bugfix :)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]