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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101209.200758.226778071.davem@davemloft.net>
Date:	Thu, 09 Dec 2010 20:07:58 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] net: optimize INET input path further

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 01 Dec 2010 06:04:07 +0100

> Followup of commit b178bb3dfc30 (net: reorder struct sock fields)
> 
> Optimize INET input path a bit further, by :
> 
> 1) moving sk_refcnt close to sk_lock.
> 
> This reduces number of dirtied cache lines by one on 64bit arches (and
> 64 bytes cache line size).
> 
> 2) moving inet_daddr & inet_rcv_saddr at the beginning of sk
> 
> (same cache line than hash / family / bound_dev_if / nulls_node)
> 
> This reduces number of accessed cache lines in lookups by one, and dont
> increase size of inet and timewait socks.
> inet and tw sockets now share same place-holder for these fields. 
 ...
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>

Applied, thanks Eric.
--
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