slab_common.c (756a025f00091918d9d09ca3229defb160b409c0) | slab_common.c (1170532bb49f9468aedabdc1d5a560e2521a2bcc) |
---|---|
1/* 2 * Slab allocator functions that are independent of the allocator strategy 3 * 4 * (C) 2012 Christoph Lameter <cl@linux.com> 5 */ 6#include <linux/slab.h> 7 8#include <linux/mm.h> --- 428 unchanged lines hidden (view full) --- 437 put_online_mems(); 438 put_online_cpus(); 439 440 if (err) { 441 if (flags & SLAB_PANIC) 442 panic("kmem_cache_create: Failed to create slab '%s'. Error %d\n", 443 name, err); 444 else { | 1/* 2 * Slab allocator functions that are independent of the allocator strategy 3 * 4 * (C) 2012 Christoph Lameter <cl@linux.com> 5 */ 6#include <linux/slab.h> 7 8#include <linux/mm.h> --- 428 unchanged lines hidden (view full) --- 437 put_online_mems(); 438 put_online_cpus(); 439 440 if (err) { 441 if (flags & SLAB_PANIC) 442 panic("kmem_cache_create: Failed to create slab '%s'. Error %d\n", 443 name, err); 444 else { |
445 printk(KERN_WARNING "kmem_cache_create(%s) failed with error %d", | 445 pr_warn("kmem_cache_create(%s) failed with error %d\n", |
446 name, err); 447 dump_stack(); 448 } 449 return NULL; 450 } 451 return s; 452} 453EXPORT_SYMBOL(kmem_cache_create); --- 831 unchanged lines hidden --- | 446 name, err); 447 dump_stack(); 448 } 449 return NULL; 450 } 451 return s; 452} 453EXPORT_SYMBOL(kmem_cache_create); --- 831 unchanged lines hidden --- |