diff options
author | James Morris <jmorris@namei.org> | 2011-04-19 07:32:41 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-04-19 07:32:41 -0400 |
commit | d4ab4e6a23f805abb8fc3cc34525eec3788aeca1 (patch) | |
tree | eefd82c155bc27469a85667d759cd90facf4a6e3 /mm/slab.c | |
parent | c0fa797ae6cd02ff87c0bfe0d509368a3b45640e (diff) | |
parent | 96fd2d57b8252e16dfacf8941f7a74a6119197f5 (diff) |
Merge branch 'master'; commit 'v2.6.39-rc3' into next
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -878,7 +878,7 @@ static struct array_cache *alloc_arraycache(int node, int entries, | |||
878 | nc = kmalloc_node(memsize, gfp, node); | 878 | nc = kmalloc_node(memsize, gfp, node); |
879 | /* | 879 | /* |
880 | * The array_cache structures contain pointers to free object. | 880 | * The array_cache structures contain pointers to free object. |
881 | * However, when such objects are allocated or transfered to another | 881 | * However, when such objects are allocated or transferred to another |
882 | * cache the pointers are not cleared and they could be counted as | 882 | * cache the pointers are not cleared and they could be counted as |
883 | * valid references during a kmemleak scan. Therefore, kmemleak must | 883 | * valid references during a kmemleak scan. Therefore, kmemleak must |
884 | * not scan such objects. | 884 | * not scan such objects. |
@@ -2606,7 +2606,7 @@ EXPORT_SYMBOL(kmem_cache_shrink); | |||
2606 | * | 2606 | * |
2607 | * The cache must be empty before calling this function. | 2607 | * The cache must be empty before calling this function. |
2608 | * | 2608 | * |
2609 | * The caller must guarantee that noone will allocate memory from the cache | 2609 | * The caller must guarantee that no one will allocate memory from the cache |
2610 | * during the kmem_cache_destroy(). | 2610 | * during the kmem_cache_destroy(). |
2611 | */ | 2611 | */ |
2612 | void kmem_cache_destroy(struct kmem_cache *cachep) | 2612 | void kmem_cache_destroy(struct kmem_cache *cachep) |