Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead

Eric Dumazet
2007-11-12T19:49:19Z

Christoph Lameter a écrit :
> On Mon, 12 Nov 2007, Herbert Xu wrote:
>
>> David Miller <davem@davemloft.net> wrote:
>>> Each IP compression tunnel instance does an alloc_percpu().
>> Actually all IPComp tunnels share one set of objects which are
>> allocated per-cpu. So only the first tunnel would do that.
>
> Ahh so the need to be able to expand per cpu memory storage on demand
> is not as critical as we thought.
>

Yes, but still desirable for future optimizations.

For example, I do think using a per cpu memory storage on net_device refcnt &
last_rx could give us some speedups.