From: Michael Ellerman <mpe@ellerman.id.au>
To: Borislav Petkov <bp@suse.de>
Cc: akpm@osdl.org, tglx@linutronix.de, mingo@redhat.com,
hpa@zytor.com, x86@kernel.org, peterz@infradead.org,
jgross@suse.com, mgorman@techsingularity.net, richard@nod.at,
len.brown@intel.com, boris.ostrovsky@oracle.com,
tim.c.chen@linux.intel.com, ak@linux.intel.com, jolsa@redhat.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] kernel/smp: Make the SMP boot message common on all arches
Date: Wed, 26 Oct 2016 16:32:47 +1100 [thread overview]
Message-ID: <87funjy8sg.fsf@concordia.ellerman.id.au> (raw)
In-Reply-To: <20161014115446.gowu4r3aereixwz7@pd.tnic>
Borislav Petkov <bp@suse.de> writes:
> On Thu, Oct 13, 2016 at 07:55:19PM +1100, Michael Ellerman wrote:
>> @@ -564,8 +560,11 @@ void __init smp_init(void)
>> cpu_up(cpu);
>> }
>>
>> + num_nodes = num_online_nodes();
>> + pr_info("smp: Brought up %d node%s, %d CPUs\n",
>> + num_nodes, (num_nodes > 1 ? "s" : ""), num_online_cpus());
>
> Please define pr_fmt for this file so that pr_info adds the prefix
> automatically. I guess
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
> at the top, before all the include directives should suffice.
Sure thing.
> Other than that, for both patches:
>
> Reviewed-by: Borislav Petkov <bp@suse.de>
Thanks, v2 coming soon.
cheers
next prev parent reply other threads:[~2016-10-26 5:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-13 8:55 [PATCH 1/2] kernel/smp: Make the SMP boot message common on all arches Michael Ellerman
2016-10-13 8:55 ` [PATCH 2/2] kernel/smp: Tell the user we're bringing up secondary CPUs Michael Ellerman
2016-10-14 11:54 ` [PATCH 1/2] kernel/smp: Make the SMP boot message common on all arches Borislav Petkov
2016-10-26 5:32 ` Michael Ellerman [this message]
2016-10-16 7:04 ` Ingo Molnar
2016-10-26 5:34 ` Michael Ellerman
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=87funjy8sg.fsf@concordia.ellerman.id.au \
--to=mpe@ellerman.id.au \
--cc=ak@linux.intel.com \
--cc=akpm@osdl.org \
--cc=boris.ostrovsky@oracle.com \
--cc=bp@suse.de \
--cc=hpa@zytor.com \
--cc=jgross@suse.com \
--cc=jolsa@redhat.com \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@techsingularity.net \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=richard@nod.at \
--cc=tglx@linutronix.de \
--cc=tim.c.chen@linux.intel.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;
as well as URLs for NNTP newsgroup(s).