|
@@ -100,7 +100,7 @@ struct kmem_cache {
|
|
void (*ctor)(void *);
|
|
void (*ctor)(void *);
|
|
int inuse; /* Offset to metadata */
|
|
int inuse; /* Offset to metadata */
|
|
int align; /* Alignment */
|
|
int align; /* Alignment */
|
|
- int reserved; /* Reserved bytes at the end of slabs */
|
|
|
|
|
|
+ unsigned int reserved; /* Reserved bytes at the end of slabs */
|
|
unsigned int red_left_pad; /* Left redzone padding size */
|
|
unsigned int red_left_pad; /* Left redzone padding size */
|
|
const char *name; /* Name (only for display!) */
|
|
const char *name; /* Name (only for display!) */
|
|
struct list_head list; /* List of slab caches */
|
|
struct list_head list; /* List of slab caches */
|