On Thu, 17 May 2007 22:05:29 -0700 (PDT)
David Miller <[EMAIL PROTECTED]> wrote:

> From: Jeff Garzik <[EMAIL PROTECTED]>
> Date: Fri, 18 May 2007 00:54:13 -0400
> 
> > Stephen Hemminger wrote:
> > > I want to take all the function pointers of 'struct net_device' and
> > > move them to 'struct net_device_ops'. This will save memory for the
> > > case of lots of devices, as well as reduce initialization code.
> > 
> > It will also add an additional deref to every operation, right?
> 
> Yes, it's certainly going to.  How much do we think that actually
> matters?

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.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to