login
Header Space

 
 

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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <a.p.zijlstra@...>
Cc: Matt Mackall <mpm@...>, <linux-kernel@...>, <linux-mm@...>, Thomas Graf <tgraf@...>, David Miller <davem@...>, Andrew Morton <akpm@...>, Daniel Phillips <phillips@...>, Pekka Enberg <penberg@...>
Date: Monday, May 14, 2007 - 3:56 pm

On Mon, 14 May 2007, Peter Zijlstra wrote:


Hmmm.. Maybe we could do that.... But what I had in mind was simply to 
set a page flag (DebugSlab()) if you know in alloc_slab that the slab 
should be only used for emergency allocation. If DebugSlab is set then the
fastpath will not be called. You can trap all allocation attempts and 
insert whatever fancy logic you want in the debug path since its not 
performance critical.


Well I have version of SLUB here that allows you do redirect the alloc 
calls at will. Adds a kmem_cache_ops structure and in the kmem_cache_ops 
structure you can redirect allocation and freeing of slabs (not objects!) 
at will. Would that help?
-
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