Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da89b79e authored by Christoph Lameter's avatar Christoph Lameter
Browse files

Explain kmem_cache_cpu fields



Add some comments explaining the fields of the kmem_cache_cpu structure.

Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent ba84c73c
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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 {