aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>2013-11-08 20:47:37 +0800
committerMoyster <oysterized@gmail.com>2016-09-28 15:12:53 +0200
commitd001213cee021c65878a2e0e6a3b26d4433d60d6 (patch)
treec4e2593f6f4d0d721318f2e84fb756325340049e
parent91298fbc52830ffd066bce185f24c097d001c9b2 (diff)
downloadandroid_kernel_m2note-d001213cee021c65878a2e0e6a3b26d4433d60d6.tar.gz
mm, slub: fix the typo in mm/slub.c
Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: W4TCH0UT <ateekujjawal@gmail.com>
-rw-r--r--mm/slub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/slub.c b/mm/slub.c
index f5c4f73a8..7eb710586 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -173,7 +173,7 @@ static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s)
/*
* Maximum number of desirable partial slabs.
* The existence of more partial slabs makes kmem_cache_shrink
- * sort the partial list by the number of objects in the.
+ * sort the partial list by the number of objects in use.
*/
#define MAX_PARTIAL 10
@@ -3017,8 +3017,8 @@ static struct kmem_cache *kmem_cache_node;
* slab on the node for this slabcache. There are no concurrent accesses
* possible.
*
- * Note that this function only works on the kmalloc_node_cache
- * when allocating for the kmalloc_node_cache. This is used for bootstrapping
+ * Note that this function only works on the kmem_cache_node
+ * when allocating for the kmem_cache_node. This is used for bootstrapping
* memory on a fresh node that has no slab structures yet.
*/
static void early_kmem_cache_node_alloc(int node)