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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070312.141550.48806100.davem@davemloft.net>
Date:	Mon, 12 Mar 2007 14:15:50 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	shemminger@...ux-foundation.org
Cc:	netdev@...r.kernel.org
Subject: Re: [patch 4/4] tcp: statistics not read_mostly

From: Stephen Hemminger <shemminger@...ux-foundation.org>
Date: Mon, 12 Mar 2007 14:08:21 -0700

> The TCP statistics shouldn't be located in the middle of the
> read_mostly section surrounded by sysctl values.
> Move EXPORT_SYMBOL next to data like other declarations near by.
> 
> Signed-off-by: Stephen Hemminger <shemminger@...ux-foundation.org>

Stephen, they are pointers to the statistics, not the statistic
counters themselves.  We're marking the _pointers_ as __read_mostly
here.

When Eric originally submitted the change to add __read_mostly here I
didn't understand it either.

Look at the definition of DEFINE_SNMP_STAT().
-
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