From: Christoph Lameter Add some comments explaining the fields of the kmem_cache_cpu structure. Signed-off-by: Chrsitoph Lameter Signed-off-by: Andrew Morton --- include/linux/slub_def.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff -puN include/linux/slub_def.h~slub-comment-kmem_cache_cpu-structure include/linux/slub_def.h --- a/include/linux/slub_def.h~slub-comment-kmem_cache_cpu-structure +++ a/include/linux/slub_def.h @@ -12,12 +12,12 @@ #include struct kmem_cache_cpu { - void **freelist; - struct page *page; - int node; - unsigned int offset; - unsigned int objsize; - unsigned int objects; + void **freelist; /* Pointer to first free per cpu object */ + struct page *page; /* The slab from which we are allocating */ + int node; /* The node of the page (or -1 for debug) */ + unsigned int offset; /* Freepointer offset (in word units) */ + unsigned int objsize; /* Size of an object (from kmem_cache) */ + unsigned int objects; /* Objects per slab (from kmem_cache) */ }; struct kmem_cache_node { _