[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080101.192111.75000132.davem@davemloft.net>
Date: Tue, 01 Jan 2008 19:21:11 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: netdev@...r.kernel.org
Subject: Re: [ICMP]: change "struct socket *" percpu var to a "struct sock
*"
From: Eric Dumazet <dada1@...mosbay.com>
Date: Tue, 01 Jan 2008 19:46:21 +0100
> Instead of storing a pointer to a 'struct socket' and dereferencing ->sk
> to get "struct sock *" from it, just store a "struct sock *" pointer.
>
> This saves 75 bytes of text on x86
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.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