Subject: Re: [RFC] netdevice ops

From: Andi Kleen <[email-masked]>
Date: 19 May 2007 16:18:02 +0200

Stephen Hemminger <[email-masked]> writes:
> 
> I would think a non-conditional deref would be easily pipelined.
> If the net_device struct was more cache dense, it probably would
> even out.

It might be a good idea to consider strategic prefetch points for it.

e.g. TCP executes quite a lot of code until it finally decides to dev_queue_xmit.
Prefetching before that might be a good idea.

-Andi