login
Header Space

 
 

Re: [PATCH 0/5] make slab gfp fair

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Lameter <clameter@...>
Cc: Matt Mackall <mpm@...>, <linux-kernel@...>, <linux-mm@...>, Thomas Graf <tgraf@...>, David Miller <davem@...>, Andrew Morton <akpm@...>, Daniel Phillips <phillips@...>, Pekka Enberg <penberg@...>
Date: Wednesday, May 16, 2007 - 4:18 pm

On Wed, 2007-05-16 at 12:53 -0700, Christoph Lameter wrote:

It is, its just that we're swapping very heavily at that point, a
bouncing cache-line will not significantly slow down the box compared to
waiting for block IO, will it?


Well, single as in a single active; it gets spilled into the full list
and a new one is instanciated if more is needed.


All cpus are redirected to ->reserve_slab when the regular allocations
start to fail.


Ah, quite right. I do indeed not use the lockless_freelist.


Right, so the cpu-slab is NULL, and we need a new slab.


/me fails to parse.

When we need a new_slab: 
 - we try the partial lists,
 - we try the reserve (if ALLOC_NO_WATERMARKS)
   otherwise alloc_slab


No, no, we did get a page, and it was !ALLOC_NO_WATERMARK hard to get
it. 


It need not be the same node; the reserve_slab is node agnostic.
So here the free page watermarks are good again, and we can forget all
about the ->reserve_slab. We just push it on the free/partial lists and
forget about it.

But like you said above: unfreeze_slab() should be good, since I don't
use the lockless_freelist.


So this is when we get a page and it was ALLOC_NO_WATERMARKS hard to get
it. Instead of updating the cpu_slab we leave that unset, so that
subsequent allocations will try to allocate a slab again thereby testing
the current free pages limit (and not gobble up the reserve).


__deactivete_slab() doesn't do putback_slab, and now I see that whole
function isn't there anymore. unfreeze_slab() it is.




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

Messages in current thread:
[PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Mon May 14, 9:19 am)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Wed May 16, 11:02 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Thu May 17, 3:08 am)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Thu May 17, 1:29 pm)
Re: [PATCH 0/5] make slab gfp fair, Matt Mackall, (Thu May 17, 1:53 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Thu May 17, 2:02 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Thu May 17, 3:18 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Thu May 17, 3:24 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Thu May 17, 5:26 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Thu May 17, 6:27 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Fri May 18, 5:54 am)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Fri May 18, 1:11 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Sun May 20, 4:39 am)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Mon May 21, 12:45 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Mon May 21, 3:33 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Mon May 21, 3:43 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Mon May 21, 4:08 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Mon May 21, 4:32 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Mon May 21, 4:54 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Mon May 21, 5:04 pm)
Re: [PATCH 0/5] make slab gfp fair, Paul Jackson, (Fri May 18, 1:11 pm)
Re: [PATCH 0/5] make slab gfp fair, Paul Jackson, (Thu May 17, 5:44 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Thu May 17, 1:52 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Thu May 17, 1:59 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Mon May 14, 11:53 am)
Re: [PATCH 0/5] make slab gfp fair, Matt Mackall, (Mon May 14, 12:12 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Mon May 14, 12:29 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Mon May 14, 1:40 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Mon May 14, 1:57 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Mon May 14, 3:28 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Mon May 14, 3:56 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Mon May 14, 4:03 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Mon May 14, 4:25 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Mon May 14, 4:06 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Mon May 14, 4:12 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Tue May 15, 1:27 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Tue May 15, 6:02 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Wed May 16, 2:59 am)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Wed May 16, 2:43 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Wed May 16, 3:25 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Wed May 16, 3:53 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Wed May 16, 4:18 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Wed May 16, 4:27 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Wed May 16, 4:40 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Wed May 16, 4:44 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Wed May 16, 4:54 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Wed May 16, 4:59 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Wed May 16, 5:04 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Wed May 16, 5:13 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Wed May 16, 5:20 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Wed May 16, 5:42 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Thu May 17, 3:28 am)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Thu May 17, 1:30 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Thu May 17, 1:53 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Thu May 17, 2:01 pm)
Re: [PATCH 0/5] make slab gfp fair, Andrew Morton, (Mon May 14, 3:44 pm)
Re: [PATCH 0/5] make slab gfp fair, Matt Mackall, (Mon May 14, 4:01 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Mon May 14, 4:05 pm)
Re: [PATCH 0/5] make slab gfp fair, Peter Zijlstra, (Mon May 14, 12:10 pm)
Re: [PATCH 0/5] make slab gfp fair, Christoph Lameter, (Mon May 14, 12:37 pm)
speck-geostationary