lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ