lkml.org 
[lkml]   [2009]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 5 Mar 2009 09:39:03 -0500 (EST)
FromChristoph Lameter <>
SubjectRe: [PATCH -mm 3/6] slub: introduce __kfree_rcu
On Thu, 5 Mar 2009, Lai Jiangshan wrote:

> The first parameter of __kfree_rcu() is unused in slab,slub,slqb.
> (I used it before, for CONFIG_SLUB_DEBUG=y ...etc. But I found
> these debugging code is needless)
>
> Object sizes of the memory objects in slob's kmalloc-slab are various.
> We hardly calculate the start address of the object from the rcu address.

But you can start with the descriptor at the beginning of the page and
scan until you find the object.



\
 
 \ /
  Last update: 2009-03-05 15:53    [from the cache]
©2003-2010