Re: lib/idr.c: initialize struct idr_layer

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Vegard Nossum <vegard.nossum@...>
Cc: Jim Houston <jim.houston@...>, Ingo Molnar <mingo@...>, Tejun Heo <htejun@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Sunday, January 27, 2008 - 5:35 pm

Hi Vegard,

On Jan 27, 2008 11:30 PM, Vegard Nossum <vegard.nossum@gmail.com> wrote:

It's intentional. The caller of kmem_cache_free() is expected to put
the object in such a state that it can be recycled immediately when
kmem_cache_alloc() for that cache is called. You can find the design
rationale for that in Bonwick's original paper on slab:
http://citeseer.ist.psu.edu/bonwick94slab.html

                        Pekka
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
lib/idr.c: initialize struct idr_layer, Vegard Nossum, (Sun Jan 27, 4:07 pm)
Re: lib/idr.c: initialize struct idr_layer, Pekka Enberg, (Sun Jan 27, 5:00 pm)
Re: lib/idr.c: initialize struct idr_layer, Vegard Nossum, (Sun Jan 27, 5:17 pm)
Re: lib/idr.c: initialize struct idr_layer, Pekka J Enberg, (Sun Jan 27, 5:21 pm)
Re: lib/idr.c: initialize struct idr_layer, Vegard Nossum, (Sun Jan 27, 5:30 pm)
Re: lib/idr.c: initialize struct idr_layer, Pekka Enberg, (Sun Jan 27, 5:35 pm)
Re: lib/idr.c: initialize struct idr_layer, Vegard Nossum, (Sun Jan 27, 5:56 pm)