Re: [PATCH] NET : keep sk_backlog near sk_lock

2007-03-04 Thread David Miller
From: Eric Dumazet [EMAIL PROTECTED] Date: Thu, 22 Feb 2007 15:50:15 +0100 sk_backlog is a critical field of struct sock. (known famous words) It is (ab)used in hot paths, in particular in release_sock(), tcp_recvmsg(), tcp_v4_rcv(), sk_receive_skb(). It really makes sense to place it

[PATCH] NET : keep sk_backlog near sk_lock

2007-02-22 Thread Eric Dumazet
Hi David sk_backlog is a critical field of struct sock. (known famous words) It is (ab)used in hot paths, in particular in release_sock(), tcp_recvmsg(), tcp_v4_rcv(), sk_receive_skb(). It really makes sense to place it next to sk_lock, because sk_backlog is only used after sk_lock locked