Re: Purpose of the mm/slab.c changes

Davide Libenzi (davidel@xmailserver.org)
Sun, 09 Sep 2001 13:44:44 -0700 (PDT)


On 09-Sep-2001 Rik van Riel wrote:
> On Sun, 9 Sep 2001, Manfred Spraul wrote:
>
>> > it provides lifo allocations from both partial and unused slabs.
>>
>> lifo/fifo for unused slabs is obviously superflous - free is
>> free, it doesn't matter which free page is used first/last.
>
> Mind that the L2 cache is often as much as 10 times faster
> than RAM, so it would be nice if we had a good chance that
> the slab we just allocated would be in L2 cache.

Do You see it as a plus ?
The new allocated slab will be very likely written ( w/o regard about the old content )
and an L2 mapping will generate invalidate traffic.

- Davide

-
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/