summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-10-28 20:02:26 +0100
committerPekka Enberg <penberg@cs.helsinki.fi>2008-11-26 15:47:25 +0100
commite9beef1815ab3aa88925595582cf09e64b2b9894 (patch)
treeab9bf8d18b5003f5f4c2da51867e5a50e8a82b06 /mm
parentSLUB: Replace __builtin_return_address(0) with _RET_IP_. (diff)
downloadlinux-e9beef1815ab3aa88925595582cf09e64b2b9894.tar.xz
linux-e9beef1815ab3aa88925595582cf09e64b2b9894.zip
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);