aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-10-28 15:02:26 -0400
committerPekka Enberg <penberg@cs.helsinki.fi>2008-11-26 09:47:25 -0500
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)
1739} 1739}
1740EXPORT_SYMBOL(kmem_cache_free); 1740EXPORT_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 */
1743static struct page *get_object_page(const void *x) 1743static 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);