summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-10-28 22:02:26 +0300
committerPekka Enberg <penberg@cs.helsinki.fi>2008-11-26 16:47:25 +0200
commite9beef1815ab3aa88925595582cf09e64b2b9894 (patch)
treeab9bf8d18b5003f5f4c2da51867e5a50e8a82b06 /mm
parentce71e27c6fdc43c29f36d307b9100bde70c947fc (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 68ab260583d0..8f4edacd082d 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1739,7 +1739,7 @@ void kmem_cache_free(struct kmem_cache *s, void *x)
}
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)
{
struct page *page = virt_to_head_page(x);