public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Robin Holt <holt@sgi.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@redhat.com>,
	Russ Anderson <rja@sgi.com>, Shawn Guo <shawn.guo@linaro.org>,
	Oleg Nesterov <oleg@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Lai Jiangshan <laijs@cn.fujitsu.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Michel Lespinasse <walken@google.com>,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Paul Mackerras <paulus@samba.org>,
	Peter Zijlstra <peterz@infradead.org>,
	"rusty@rustcorp.com.au" <rusty@rustcorp.com.au>,
	Tejun Heo <tj@kernel.org>,
	the arch/x86 maintainers <x86@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [Patch -v3 4/4] Make reboot_cpuid a kernel parameter.
Date: Tue, 16 Apr 2013 11:29:58 +0200	[thread overview]
Message-ID: <20130416092958.GG9569@gmail.com> (raw)
In-Reply-To: <20130416092429.GI3658@sgi.com>


* Robin Holt <holt@sgi.com> wrote:

> On Tue, Apr 16, 2013 at 11:01:09AM +0200, Ingo Molnar wrote:
> > 
> > * Robin Holt <holt@sgi.com> wrote:
> > 
> > > On Mon, Apr 15, 2013 at 10:47:49AM -0700, H. Peter Anvin wrote:
> > > > We usually don't break working user setups as a matter if policy.  Only if it can't be avoided.
> > > > 
> > > > Robin Holt <holt@sgi.com> wrote:
> > > > 
> > > > >On Mon, Apr 15, 2013 at 10:18:31AM -0700, H. Peter Anvin wrote:
> > > > >> Um... doesn't this break anyone who currently depends on this?
> > > > >
> > > > >Yes.  That is also why I kept this separate and not tagged for
> > > > >stable. They would need to start using the more general kernel
> > > > >parameter
> > > > >to get the same functionality.  Should I have done it differently?
> > > 
> > > How about:
> > > Author: Robin Holt <holt@sgi.com>
> > > Date:   Mon Apr 15 11:39:33 2013 -0500
> > > 
> > >     Make reboot_cpuid a kernel parameter.
> > >     
> > >     Moving the reboot=s<##> parameter for x86 to a kernel parameter
> > >     proper.  I did not find any other arch that was specifying the
> > >     reboot cpu.
> > >     
> > >     I left a compatibility mode in there.  The new parameter always
> > >     takes precedence.  I also fixed up the current code to support
> > >     up to cpuid's up to the current max of 4096.
> > 
> > Looks pretty nice and clean to me, as the old boot parameter still keeps working.
> > 
> > Mind sending an updated series that includes all the fixes and the Tested-by from 
> > Shawn Guo?
> 
> Will do.  I am still going through the comments from Joe Perches to the
> third patch. [...]

Those fixes looked sensible to me.

> [...]  Already have added the Tested-by to just the first patch. Otherwise, I am 
> ready to send -v4.

Cool, thanks.

Assuming there are no objections from others, this looks like v3.10 material, as 
we are right before the final v3.9 release and this touches core kernel code 
(which is risky in such a late stage). It all needs a few days of testing as well, 
since it affects the reboot path of pretty much every Linux box in existence that 
runs the updated kernel.

Would you like to see this fix backported? If yes then your simpler v1 patch to 
kernel/sys.c from a few days ago should probably be put into the series as patch
#1, partially reverted by patch #2 et al.

Then patch #1 can be sent to -stable in a compact form, not the whole series. The 
end result of the series would not change.

Thanks,

	Ingo

      reply	other threads:[~2013-04-16  9:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-15 17:12 [Patch -v3 0/4] Shutdown from reboot_cpuid without stopping other cpus Robin Holt
2013-04-15 17:14 ` [Patch -v3 1/4] Migrate shutdown/reboot to boot cpu Robin Holt
2013-04-16  3:02   ` Shawn Guo
2013-04-15 17:15 ` [Patch -v3 2/4] Move shutdown/reboot related functions to kernel/reboot.c Robin Holt
2013-04-15 17:38   ` Joe Perches
2013-04-15 17:16 ` [Patch -v3 3/4] checkpatch.pl the new kernel/reboot.c file Robin Holt
2013-04-15 17:45   ` Joe Perches
2013-04-15 18:39     ` Robin Holt
2013-04-16  9:41     ` Robin Holt
2013-04-16 15:10       ` Joe Perches
2013-04-15 17:16 ` [Patch -v3 4/4] Make reboot_cpuid a kernel parameter Robin Holt
2013-04-15 17:18   ` H. Peter Anvin
2013-04-15 17:33     ` Robin Holt
2013-04-15 17:47       ` H. Peter Anvin
2013-04-15 18:22         ` Robin Holt
2013-04-16  9:01           ` Ingo Molnar
2013-04-16  9:24             ` Robin Holt
2013-04-16  9:29               ` Ingo Molnar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130416092958.GG9569@gmail.com \
    --to=mingo@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=holt@sgi.com \
    --cc=hpa@zytor.com \
    --cc=laijs@cn.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=oleg@redhat.com \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=paulus@samba.org \
    --cc=peterz@infradead.org \
    --cc=rja@sgi.com \
    --cc=rusty@rustcorp.com.au \
    --cc=shawn.guo@linaro.org \
    --cc=tglx@linutronix.de \
    --cc=tj@kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=walken@google.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox