diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-10-28 15:02:26 -0400 |
---|---|---|
committer | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-11-26 09:47:25 -0500 |
commit | e9beef1815ab3aa88925595582cf09e64b2b9894 (patch) | |
tree | ab9bf8d18b5003f5f4c2da51867e5a50e8a82b06 /mm | |
parent | ce71e27c6fdc43c29f36d307b9100bde70c947fc (diff) |
slub - fix get_object_page comment
Use 'slab page' instead of 'slab object'.
Acked-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1739,7 +1739,7 @@ void kmem_cache_free(struct kmem_cache *s, void *x) | |||
1739 | } | 1739 | } |
1740 | EXPORT_SYMBOL(kmem_cache_free); | 1740 | EXPORT_SYMBOL(kmem_cache_free); |
1741 | 1741 | ||
1742 | /* Figure out on which slab object the object resides */ | 1742 | /* Figure out on which slab page the object resides */ |
1743 | static struct page *get_object_page(const void *x) | 1743 | static struct page *get_object_page(const void *x) |
1744 | { | 1744 | { |
1745 | struct page *page = virt_to_head_page(x); | 1745 | struct page *page = virt_to_head_page(x); |