lkml.org 
[lkml]   [2008]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] slub - fix get_object_page comment
Use 'slab page' instead of 'slab object'.
---

Not a big deal but anyway :)

Index: linux-2.6.git/mm/slub.c
===================================================================
--- linux-2.6.git.orig/mm/slub.c 2008-10-27 21:35:50.000000000 +0300
+++ linux-2.6.git/mm/slub.c 2008-10-28 21:57:51.000000000 +0300
@@ -1748,7 +1748,7 @@ void kmem_cache_free(struct kmem_cache *
}
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);

\
 
 \ /
  Last update: 2008-10-28 20:05    [W:0.116 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site