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]
Date:	Mon, 24 Aug 2015 22:21:27 +0100
From:	Russell King - ARM Linux <linux@....linux.org.uk>
To:	Olof Johansson <olof@...om.net>
Cc:	Masahiro Yamada <yamada.masahiro@...ionext.com>,
	"arm@...nel.org" <arm@...nel.org>,
	Andy Gross <agross@...eaurora.org>,
	Arnd Bergmann <arnd@...db.de>,
	Gregory Clement <gregory.clement@...e-electrons.com>,
	Tsahee Zidenberg <tsahee@...apurnalabs.com>,
	Kumar Gala <galak@...eaurora.org>,
	Jason Cooper <jason@...edaemon.net>,
	Geert Uytterhoeven <geert@...ux-m68k.org>,
	Jun Nie <jun.nie@...aro.org>, Ray Jui <rjui@...adcom.com>,
	Sören Brinkmann <soren.brinkmann@...inx.com>,
	"linux-samsung-soc@...r.kernel.org" 
	<linux-samsung-soc@...r.kernel.org>,
	Heiko Stuebner <heiko@...ech.de>,
	David Brown <davidb@...eaurora.org>,
	Scott Branden <sbranden@...adcom.com>,
	Hans de Goede <hdegoede@...hat.com>,
	"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>,
	Maxime Ripard <maxime.ripard@...e-electrons.com>,
	Krzysztof Kozlowski <k.kozlowski@...sung.com>,
	Broadcom Kernel Feedback List 
	<bcm-kernel-feedback-list@...adcom.com>,
	Florian Fainelli <f.fainelli@...il.com>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Yingjoe Chen <yingjoe.chen@...iatek.com>,
	Stephen Warren <swarren@...dia.com>,
	Kukjin Kim <kgene@...nel.org>,
	Emilio López <emilio@...pez.com.ar>,
	Stephen Boyd <sboyd@...eaurora.org>,
	linux-arm-msm <linux-arm-msm@...r.kernel.org>,
	Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
	Andrew Lunn <andrew@...n.ch>,
	Brian Norris <computersforpeace@...il.com>,
	Michal Simek <michal.simek@...inx.com>,
	Gregory Fong <gregory.0xf0@...il.com>,
	Dinh Nguyen <dinguyen@...nsource.altera.com>,
	linux-soc@...r.kernel.org,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Santosh Shilimkar <ssantosh@...nel.org>,
	Wei Xu <xuwei5@...ilicon.com>, Chen-Yu Tsai <wens@...e.org>,
	Pavel Machek <pavel@....cz>,
	"Peter Zijlstra (Intel)" <peterz@...radead.org>
Subject: Re: [PATCH 00/18] ARM: use const and __initconst for smp_operations

On Mon, Aug 24, 2015 at 02:12:06PM -0700, Olof Johansson wrote:
> Easiest of all would probably be to get the sub-arch patches into one
> release, then switch the prototypes and function definitions in the
> next. If you switch prototypes first you'll get a bunch of warnings,
> right?

Wrong way around. :)

If you change the sub-arches to declare the smp operations as const,
and try and pass them into a function which doesn't take a const-pointer,
you'll get a warning.  The core bits need to go in first before the
sub-arch patches.

I think the series has limited value - it allows us to (a) check that a
small quantity of code doesn't write to these things, and (b) allows us
to move the SMP operations structure from __initdata to __initconstdata.
It's still going to end up in the init region which is read/write in any
case, and still gets thrown away.

Given where we are, I don't think we need to rush this in during the
last week before the merge window opens, even though it's trivial.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ