lkml.org 
[lkml]   [2008]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 21/21] slab defrag: Obsolete SLAB
From
Date

On Wed, 2008-05-14 at 11:03 -0700, Christoph Lameter wrote:
> > What is the big problem of having a batched free queue? If the expiry
> > is done at a good bounded time (e.g. on interrupt exit or similar)
> > locally on the CPU it shouldn't be a big issue, should it?
>
> Interrupt exit in general would have to inspect the per cpu structures of
> all slab caches on the system?

Why's that? When we're not under pressure (fast path), we can delay (and
batch) remote frees. When we are under pressure (slow path), we can do
everything immediately.

--
Mathematics is the supreme nostalgia of our time.



\
 
 \ /
  Last update: 2008-05-14 20:33    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site