[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070327.135852.69409418.davem@davemloft.net>
Date: Tue, 27 Mar 2007 13:58:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] NET : tcp_memory_pressure and tcp_socket
are__read_mostly candidates
From: Eric Dumazet <dada1@...mosbay.com>
Date: Tue, 27 Mar 2007 15:25:13 +0200
>
> tcp_memory_pressure and tcp_socket currently share a cache line with tcp_memory_allocated, tcp_sockets_allocated.
> (Very hot cache line)
> It makes sense to declare these variables as __read_mostly, to avoid false sharing on SMP.
>
> ffffffff8081d9c0 B tcp_orphan_count
> ffffffff8081d9c4 B tcp_memory_allocated
> ffffffff8081d9c8 B tcp_sockets_allocated
> ffffffff8081d9cc B tcp_memory_pressure
> ffffffff8081d9d0 b tcp_md5sig_users
> ffffffff8081d9d8 b tcp_md5sig_pool
> ffffffff8081d9e0 b warntime.31570
> ffffffff8081d9e8 b tcp_socket
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
Thanks for spotting this Eric, patch 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