Re: Purpose of the mm/slab.c changes

Rik van Riel (
Sun, 9 Sep 2001 17:26:01 -0300 (BRST)

On Sun, 9 Sep 2001, Alan Cox wrote:

> > > doesn't matter which free page is used first/last.
> >
> > You're full of crap.
> > LIFO is obviously superior due to cache re-use.
> Interersting question however. On SMP without sufficient per CPU
> slab caches is tht still the case ?

By definition, no.

If we're allocating and freeing the slabs at such a fast
speed that the slabs which are NOT in the per-CPU caches
are still in the cache, chances are our per-CPU caches
are too small.



IA64: a worthy successor to the i860.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at