aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@intel.com>2011-08-31 23:32:18 -0400
committerPekka Enberg <penberg@kernel.org>2011-09-27 16:03:30 -0400
commit9f26490412cf15b04ac8f44a512ba0b09e774576 (patch)
tree56bc5068f353fb16a1038ffc0fdaaef54d7fd7c8 /include
parent12d79634f8d7af5229b7d21143d50e7cf7d94177 (diff)
slub: correct comments error for per cpu partial
Correct comment errors, that mistake cpu partial objects number as pages number, may make reader misunderstand. Signed-off-by: Alex Shi <alex.shi@intel.com> Reviewed-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/slub_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h
index 4890ef79d752..a32bcfdc7834 100644
--- a/include/linux/slub_def.h
+++ b/include/linux/slub_def.h
@@ -82,7 +82,7 @@ struct kmem_cache {
82 int size; /* The size of an object including meta data */ 82 int size; /* The size of an object including meta data */
83 int objsize; /* The size of an object without meta data */ 83 int objsize; /* The size of an object without meta data */
84 int offset; /* Free pointer offset. */ 84 int offset; /* Free pointer offset. */
85 int cpu_partial; /* Number of per cpu partial pages to keep around */ 85 int cpu_partial; /* Number of per cpu partial objects to keep around */
86 struct kmem_cache_order_objects oo; 86 struct kmem_cache_order_objects oo;
87 87
88 /* Allocation and freeing of slabs */ 88 /* Allocation and freeing of slabs */