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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 04 May 2007 08:10:15 +0200
From:	Eric Dumazet <dada1@...mosbay.com>
To:	Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
	"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH][SOCK]: shrink struct sock

Arnaldo Carvalho de Melo a écrit :
> 
> [acme@...a linux-2.6]$ pahole -C sk_buff_head net/core/sock.o
> struct sk_buff_head {
> 	struct sk_buff *           next;                 /*     0     8 */
> 	struct sk_buff *           prev;                 /*     8     8 */
> 	__u32                      qlen;                 /*    16     4 */
> 	spinlock_t                 lock;                 /*    20     8 */
> }; /* size: 32, cachelines: 1 */
>    /* padding: 4 */
>    /* last cacheline: 32 bytes */


Hum, maybe not enough tea this morning, but I always thought spinlock_t size 
was 4 bytes....

-
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