mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Kay Sievers <kay@vrfy.org>
Cc: "Pandita, Vikram" <vikram.pandita@ti.com>,
	Venu Byravarasu <vbyravarasu@nvidia.com>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Mike Turquette <mturquette@linaro.org>,
	Vimarsh Zutshi <vimarsh.zutshi@gmail.com>
Subject: Re: [PATCH v2] printk: add option to print cpu id
Date: Fri, 3 Aug 2012 12:42:12 +0200	[thread overview]
Message-ID: <20120803104212.GA6936@x1.osrc.amd.com> (raw)
In-Reply-To: <CAPXgP11A=QfOt4SL2GvhsepP8JiDFfdaAhi6-AhW++-AvOz+aw@mail.gmail.com>

On Fri, Aug 03, 2012 at 12:09:15PM +0200, Kay Sievers wrote:
> That would be needed, I guess. We easily have server systems with more
> than 255 CPUs. It will only be a matter of time, that the number of
> CPUs will increase for everybody, I guess.

Actually, AFAICR, we already have SGI machines booting Linux on 4K cpus. Now.

> > b) to put cpuid in struct cont and struct log - under the #ifdef macro?
> 
> As said, I really can't tell how generally useful it is, and if people
> think that it should be there unconditionally, should not be there at
> all, or as a compile time option. Others might have an opinion on
> that.
> 
> I personally never missed the CPU-ID in the logs. I personally would
> find the PID/task ID more interesting, and even that I never really
> missed. :)

And even then you can add debugging code to dump the stuff you need.

And I have to agree with Kai here, having the cpu number in dmesg is
not something I'd wish for - printk timestampts OTOH has at least some
usecases.

Thanks.

-- 
Regards/Gruss,
Boris.

  reply	other threads:[~2012-08-03 10:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-03  9:16 Vikram Pandita
2012-08-03  9:27 ` Venu Byravarasu
2012-08-03  9:32   ` Venu Byravarasu
2012-08-03  9:36     ` Pandita, Vikram
2012-08-03  9:44       ` Venu Byravarasu
2012-08-03  9:48       ` Kay Sievers
2012-08-03  9:56         ` Pandita, Vikram
2012-08-03 10:09           ` Kay Sievers
2012-08-03 10:42             ` Borislav Petkov [this message]
2012-08-03 16:46               ` Pandita, Vikram
2012-08-04  5:16                 ` Borislav Petkov
2012-08-03  9:43 ` Nikunj A Dadhania
2012-08-03  9:51   ` Kay Sievers

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=20120803104212.GA6936@x1.osrc.amd.com \
    --to=bp@alien8.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=kay@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@linaro.org \
    --cc=vbyravarasu@nvidia.com \
    --cc=vikram.pandita@ti.com \
    --cc=vimarsh.zutshi@gmail.com \
    /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

all inboxes | Powered by JetHome®