aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
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 /mm/slub.c
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 'mm/slub.c')
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 4982fb5c91de..8f687575d310 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3084,7 +3084,7 @@ static int kmem_cache_open(struct kmem_cache *s,
3084 * 3084 *
3085 * A) The number of objects from per cpu partial slabs dumped to the 3085 * A) The number of objects from per cpu partial slabs dumped to the
3086 * per node list when we reach the limit. 3086 * per node list when we reach the limit.
3087 * B) The number of objects in partial partial slabs to extract from the 3087 * B) The number of objects in cpu partial slabs to extract from the
3088 * per node list when we run out of per cpu objects. We only fetch 50% 3088 * per node list when we run out of per cpu objects. We only fetch 50%
3089 * to keep some capacity around for frees. 3089 * to keep some capacity around for frees.
3090 */ 3090 */