forked from luck/tmp_suning_uos_patched
Explain kmem_cache_cpu fields
Add some comments explaining the fields of the kmem_cache_cpu structure. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
ba84c73c7a
commit
da89b79ed0
@ -12,11 +12,11 @@
|
||||
#include <linux/kobject.h>
|
||||
|
||||
struct kmem_cache_cpu {
|
||||
void **freelist;
|
||||
struct page *page;
|
||||
int node;
|
||||
unsigned int offset;
|
||||
unsigned int objsize;
|
||||
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) */
|
||||
};
|
||||
|
||||
struct kmem_cache_node {
|
||||
|
Loading…
Reference in New Issue
Block a user