[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOesGMgayep0EgCAdDWSujmiycDqtFUb0iKg-aioJqyzHRectA@mail.gmail.com>
Date: Mon, 24 Aug 2015 14:44:21 -0700
From: Olof Johansson <olof@...om.net>
To: Russell King - ARM Linux <linux@....linux.org.uk>
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 2:21 PM, Russell King - ARM Linux
<linux@....linux.org.uk> wrote:
> 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.
Ah yes, my bad.
> 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.
Agreed. So if you pick it up for 4.4, we'll get the rest for 4.5.
-Olof
--
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