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