From: Ingo Molnar <mingo@kernel.org>
To: Borislav Petkov <bp@alien8.de>
Cc: Yinghai Lu <yinghai@kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [GIT PULL] x86/boot changes for v3.13
Date: Tue, 12 Nov 2013 12:37:10 +0100 [thread overview]
Message-ID: <20131112113710.GA12998@gmail.com> (raw)
In-Reply-To: <20131112113208.GC12849@pd.tnic>
* Borislav Petkov <bp@alien8.de> wrote:
> On Tue, Nov 12, 2013 at 12:23:38PM +0100, Ingo Molnar wrote:
> > So I suspect what Yinghai tried to say if CPU0 and CPU1 are not on the
> > same node we do the printout incorrectly.
>
> I hope your translation is correct :) I'd still like to get a
> confirmation from him though.
>
> > Arguably this was a pre-existing condition, but would be nice to fix
> > it now that this code has emerged out of steady bitrot! :-)
> >
> > How difficult would it be in your opinion?
>
> Well, I did try a weird, non-existant configuration:
>
> kvm ... -smp 6 -numa node,nodeid=0,cpus=0\;2\;3 -numa node,nodeid=1,cpus=1\;4\;5
>
> and what I get is:
>
> [ 0.068574] x86: Booting SMP configuration:
> [ 0.069006] .... node #1, CPUs: #1
> [ 0.147005] .... node #0, CPUs: #2 #3 #4 #5
> [ 0.445273] x86: Booted up 2 nodes, 6 CPUs
>
> Before my cleanup and after removing the "fixing up alternatives"
> message which hid things, the output looked like:
>
> [ 0.069621] smpboot: Booting Node 1, Processors # 1 OK
> [ 0.146006] smpboot: Booting Node 0, Processors # 2 # 3 # 4 # 5 OK
> [ 0.448320] Brought up 6 CPUs
>
> The problem is not the indentation but that the current code slaps all
> cpus on the last node, in this case node 0, because announce_cpu gets
> the cores one by one.
>
> A possible fix would be to collect the topology and dump it *only*
> *after* the last core has been announced.
Hm, I think it's actually a bonus that we see the individual CPUs printed
as they boot up. That way if there's a hang, the place where it hangs is
apparent, etc.
Thanks,
Ingo
next prev parent reply other threads:[~2013-11-12 11:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-11 17:05 [GIT PULL] x86/boot changes for v3.13 Ingo Molnar
2013-11-11 21:37 ` Yinghai Lu
2013-11-12 10:34 ` Borislav Petkov
2013-11-12 11:23 ` Ingo Molnar
2013-11-12 11:32 ` Borislav Petkov
2013-11-12 11:37 ` Ingo Molnar [this message]
2013-11-12 11:52 ` Borislav Petkov
2013-11-12 12:39 ` [PATCH] x86/smpboot: Make the code more consistent Ingo Molnar
2013-11-12 14:04 ` Borislav Petkov
2013-11-12 14:24 ` Ingo Molnar
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=20131112113710.GA12998@gmail.com \
--to=mingo@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=yinghai@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.