• Andrew Morton's avatar
    [PATCH] slab: consolidate panic code · b33a7bad
    Andrew Morton authored
    Many places do:
    
    	if (kmem_cache_create(...) == NULL)
    		panic(...);
    
    We can consolidate all that by passing another flag to kmem_cache_create()
    which says "panic if it doesn't work".
    b33a7bad
slab.c 79.9 KB