Commit 9f706d68 authored by Jesper Dangaard Brouer's avatar Jesper Dangaard Brouer Committed by Linus Torvalds

mm: fix some spelling

Fix up trivial spelling errors, noticed while reading the code.
Signed-off-by: default avatarJesper Dangaard Brouer <brouer@redhat.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Vladimir Davydov <vdavydov@virtuozzo.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ca257195
...@@ -765,7 +765,7 @@ int __memcg_kmem_charge(struct page *page, gfp_t gfp, int order); ...@@ -765,7 +765,7 @@ int __memcg_kmem_charge(struct page *page, gfp_t gfp, int order);
void __memcg_kmem_uncharge(struct page *page, int order); void __memcg_kmem_uncharge(struct page *page, int order);
/* /*
* helper for acessing a memcg's index. It will be used as an index in the * helper for accessing a memcg's index. It will be used as an index in the
* child cache array in kmem_cache, and also to derive its name. This function * child cache array in kmem_cache, and also to derive its name. This function
* will return -1 when this is not a kmem-limited memcg. * will return -1 when this is not a kmem-limited memcg.
*/ */
......
...@@ -314,7 +314,7 @@ void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment ...@@ -314,7 +314,7 @@ void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment
void kmem_cache_free(struct kmem_cache *, void *); void kmem_cache_free(struct kmem_cache *, void *);
/* /*
* Bulk allocation and freeing operations. These are accellerated in an * Bulk allocation and freeing operations. These are accelerated in an
* allocator specific way to avoid taking locks repeatedly or building * allocator specific way to avoid taking locks repeatedly or building
* metadata structures unnecessarily. * metadata structures unnecessarily.
* *
......
...@@ -172,7 +172,7 @@ ssize_t slabinfo_write(struct file *file, const char __user *buffer, ...@@ -172,7 +172,7 @@ ssize_t slabinfo_write(struct file *file, const char __user *buffer,
/* /*
* Generic implementation of bulk operations * Generic implementation of bulk operations
* These are useful for situations in which the allocator cannot * These are useful for situations in which the allocator cannot
* perform optimizations. In that case segments of the objecct listed * perform optimizations. In that case segments of the object listed
* may be allocated or freed using these operations. * may be allocated or freed using these operations.
*/ */
void __kmem_cache_free_bulk(struct kmem_cache *, size_t, void **); void __kmem_cache_free_bulk(struct kmem_cache *, size_t, void **);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment