lkml.org 
[lkml]   [2005]   [Dec]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 21 Dec 2005 09:16:47 +0200 (EET)
FromPekka J Enberg <>
SubjectRe: [PATCH RT 00/02] SLOB optimizations
Hi Ingo,

Steven Rostedt <rostedt@goodmis.org> wrote:
> > [...] Today's slab system is starting to become like the IDE where 
> > nobody, but a select few sado-masochis, dare to venture in. (I've CC'd 
> > them ;) [...]

On Wed, 21 Dec 2005, Ingo Molnar wrote:
> while it could possibly be cleaned up a bit, it's one of the 
> best-optimized subsystems Linux has. Most of the "unnecessary 
> complexity" in SLAB is related to a performance or a debugging feature.  
> Many times i have looked at the SLAB code in a disassembler, right next 
> to profile output from some hot workload, and have concluded: 'I couldnt 
> do this any better even with hand-coded assembly'.
> 
> SLAB-bashing has become somewhat fashionable, but i really challenge 
> everyone to improve the SLAB code first (to make it more modular, easier 
> to read, etc.), before suggesting replacements.

I dropped working on the replacement because I wanted to do just that. I 
sent my patch only because Matt and Steve talked about writing a 
replacement and thought they would be interested to see it.

I am all for gradual improvements but after taking a stab at it, I 
starting to think rewriting would be easier, simply because the slab 
allocator has been clean-up resistant for so long.

			Pekka
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-21 08:19    [from the cache]
©2003-2008