Re: [PATCH] printk: add cpu number to the recursion_msg message

From: Sergey Senozhatsky
Date: Mon Jan 04 2016 - 10:30:23 EST


On (01/05/16 00:11), Sergey Senozhatsky wrote:
> `recursion_bug' occupies 4 bytes to just tell us there was a recent
> recursion bug (basically 'bool'). Make it a bit more informative and
> keep in `recursion_bug' smp_processor_id of the CPU (the most recent
> one) that has caused a recursive printk bug. For instance, the error
> message will change from
> BUG: recent printk recursion!
> to
> BUG: recent printk recursion on CPU5!
>

on the other hand -- no, this is silly. disregard, sorry. It's just my
setup that confused me.

but I think we can change `recursion_bug' type to `bool'. what do you think?

===8<===8<===