diff options
author | Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> | 2013-11-08 07:47:37 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2013-11-11 11:19:07 -0500 |
commit | 721ae22ae1a51c25871b7a0b543877aa94ff2a20 (patch) | |
tree | 95cef5bbd82e6f82a1f368e55a4aa898e5db13e3 /mm | |
parent | a941f8360f200d6849b292f9dc50250bca531c0e (diff) |
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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -155,7 +155,7 @@ static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s) | |||
155 | /* | 155 | /* |
156 | * Maximum number of desirable partial slabs. | 156 | * Maximum number of desirable partial slabs. |
157 | * The existence of more partial slabs makes kmem_cache_shrink | 157 | * The existence of more partial slabs makes kmem_cache_shrink |
158 | * sort the partial list by the number of objects in the. | 158 | * sort the partial list by the number of objects in use. |
159 | */ | 159 | */ |
160 | #define MAX_PARTIAL 10 | 160 | #define MAX_PARTIAL 10 |
161 | 161 | ||
@@ -2849,8 +2849,8 @@ static struct kmem_cache *kmem_cache_node; | |||
2849 | * slab on the node for this slabcache. There are no concurrent accesses | 2849 | * slab on the node for this slabcache. There are no concurrent accesses |
2850 | * possible. | 2850 | * possible. |
2851 | * | 2851 | * |
2852 | * Note that this function only works on the kmalloc_node_cache | 2852 | * Note that this function only works on the kmem_cache_node |
2853 | * when allocating for the kmalloc_node_cache. This is used for bootstrapping | 2853 | * when allocating for the kmem_cache_node. This is used for bootstrapping |
2854 | * memory on a fresh node that has no slab structures yet. | 2854 | * memory on a fresh node that has no slab structures yet. |
2855 | */ | 2855 | */ |
2856 | static void early_kmem_cache_node_alloc(int node) | 2856 | static void early_kmem_cache_node_alloc(int node) |