Re: [PATCH V2] output the cpu number when printking.

From: Greg KH
Date: Mon Dec 24 2012 - 12:52:33 EST


On Mon, Dec 24, 2012 at 01:01:55PM +0800, he, bo wrote:
> From: "he, bo" <bo.he@xxxxxxxxx>
>
> We often hit kernel panic issues on SMP machines because processes race
> on multiple cpu. By adding a new parameter printk.cpu, kernel prints
> cpu number at printk information line. Itâs useful to debug what cpus
> are racing.

How useful is this really for normal developers? We complained when
this option was proposed by the ARM developers who were, for the first
time, handling more than one processor and the issues involved with
that. You are enabling this as a default option, for all developers,
and almost no one will ever need it.

So, if you really want this, don't enable this by default. Also, go
back and read the old thread about this option and why it was rejeted
previously.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/