lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070517225833.1b7e6acf@localhost>
Date:	Thu, 17 May 2007 22:58:33 -0700
From:	Stephen Hemminger <shemminger@...ux-foundation.org>
To:	David Miller <davem@...emloft.net>
Cc:	jgarzik@...ox.com, netdev@...r.kernel.org
Subject: Re: [RFC] netdevice ops

On Thu, 17 May 2007 22:05:29 -0700 (PDT)
David Miller <davem@...emloft.net> wrote:

> From: Jeff Garzik <jgarzik@...ox.com>
> 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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ