[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091018.185407.193720322.davem@davemloft.net>
Date: Sun, 18 Oct 2009 18:54:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] inet: rename some inet_sock fields
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 15 Oct 2009 18:30:45 +0200
> In order to have better cache layouts of struct sock (separate zones
> for rx/tx paths), we need this preliminary patch.
>
> Goal is to transfert fields used at lookup time in the first
> read-mostly cache line (inside struct sock_common) and move sk_refcnt
> to a separate cache line (only written by rx path)
>
> This patch adds inet_ prefix to daddr, rcv_saddr, dport, num, saddr,
> sport and id fields. This allows a future patch to define these
> fields as macros, like sk_refcnt, without name clashes.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks.
--
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