Commit e9beef18 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pekka Enberg

slub - fix get_object_page comment

Use 'slab page' instead of 'slab object'.
Acked-by: default avatarChristoph Lameter <cl@linux-foundation.org>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent ce71e27c
...@@ -1739,7 +1739,7 @@ void kmem_cache_free(struct kmem_cache *s, void *x) ...@@ -1739,7 +1739,7 @@ void kmem_cache_free(struct kmem_cache *s, void *x)
} }
EXPORT_SYMBOL(kmem_cache_free); EXPORT_SYMBOL(kmem_cache_free);
/* Figure out on which slab object the object resides */ /* Figure out on which slab page the object resides */
static struct page *get_object_page(const void *x) static struct page *get_object_page(const void *x)
{ {
struct page *page = virt_to_head_page(x); struct page *page = virt_to_head_page(x);
......
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