Changes in kernel/generic/src/mm/slab.c [7f11dc6:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/slab.c
r7f11dc6 r63e27ef 102 102 103 103 #include <assert.h> 104 #include <errno.h>105 104 #include <synch/spinlock.h> 106 105 #include <mm/slab.h> … … 335 334 irq_spinlock_unlock(&cache->slablock, true); 336 335 337 if ((cache->constructor) && (cache->constructor(obj, flags) != EOK)) {336 if ((cache->constructor) && (cache->constructor(obj, flags))) { 338 337 /* Bad, bad, construction failed */ 339 338 slab_obj_destroy(cache, obj, slab); … … 819 818 } 820 819 821 /* Print list of caches */ 820 /* Print list of slabs 821 * 822 */ 822 823 void slab_print_list(void) 823 824 { 824 printf("[ cache name] [size ] [pages ] [obj/pg] [slabs ]"825 printf("[slab name ] [size ] [pages ] [obj/pg] [slabs ]" 825 826 " [cached] [alloc ] [ctl]\n"); 826 827
Note:
See TracChangeset
for help on using the changeset viewer.