[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <463ACE47.6080807@cosmosbay.com>
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