Re: PATCH killing dead code and design errors in pre6

Marcin Dalecki (dalecki@cs.net.pl)
Wed, 13 Jan 1999 18:28:46 +0100


MOLNAR Ingo wrote:
>
> On Wed, 13 Jan 1999, Marcin Dalecki wrote:
>
> > Or put it again into 2.3 or whatever. [...]
>
> it breaks the interface. The SLAB allocator should not be faulted for
> other code not using it's capabilities ... It's not something obsolete,
> it's a future use ...
>
> > [...] Even after my patch, there appears to be still *PLENTY* of room
> > for other simplifications/optimizations in slab.c.
>
> your patches are welcome! (Last i checked it had a near perfect jumpless
> fast path.)

You can well make the code denser to improve general cache/branch
prediction
behaviour for example, by removig a lot of featurism. My expierence
shows that
this is already quite a good optimization method in general.

Shorter code runs faster!

--Marcin

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