mm, slub: fix the typo in mm/slub.c

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 22 17:59:03 EST 2013


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=721ae22ae1a51c25871b7a0b543877aa94ff2a20
Commit:     721ae22ae1a51c25871b7a0b543877aa94ff2a20
Parent:     a941f8360f200d6849b292f9dc50250bca531c0e
Author:     Zhi Yong Wu <wuzhy at linux.vnet.ibm.com>
AuthorDate: Fri Nov 8 20:47:37 2013 +0800
Committer:  Pekka Enberg <penberg at kernel.org>
CommitDate: Mon Nov 11 18:19:07 2013 +0200

    mm, slub: fix the typo in mm/slub.c
    
    Acked-by: Christoph Lameter <cl at linux.com>
    Signed-off-by: Zhi Yong Wu <wuzhy at linux.vnet.ibm.com>
    Signed-off-by: Pekka Enberg <penberg at kernel.org>
---
 mm/slub.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mm/slub.c b/mm/slub.c
index 2cf3982..1ee14ac 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -155,7 +155,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
 
@@ -2849,8 +2849,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)



More information about the linux-mtd-cvs mailing list