mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
rcu: make rcu-stall debug printout more standard
Impact: change debug printout Change "RCU detected CPU stall" to "INFO: RCU detected CPU stall" message, to make it easier for tools to pick up the warning. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
45beca08dd
commit
be19ef82e0
1 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@ static void print_other_cpu_stall(struct rcu_ctrlblk *rcp)
|
||||||
|
|
||||||
/* OK, time to rat on our buddy... */
|
/* OK, time to rat on our buddy... */
|
||||||
|
|
||||||
printk(KERN_ERR "RCU detected CPU stalls:");
|
printk(KERN_ERR "INFO: RCU detected CPU stalls:");
|
||||||
for_each_possible_cpu(cpu) {
|
for_each_possible_cpu(cpu) {
|
||||||
if (cpu_isset(cpu, rcp->cpumask))
|
if (cpu_isset(cpu, rcp->cpumask))
|
||||||
printk(" %d", cpu);
|
printk(" %d", cpu);
|
||||||
|
@ -204,7 +204,7 @@ static void print_cpu_stall(struct rcu_ctrlblk *rcp)
|
||||||
{
|
{
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
printk(KERN_ERR "RCU detected CPU %d stall (t=%lu/%lu jiffies)\n",
|
printk(KERN_ERR "INFO: RCU detected CPU %d stall (t=%lu/%lu jiffies)\n",
|
||||||
smp_processor_id(), jiffies,
|
smp_processor_id(), jiffies,
|
||||||
jiffies - rcp->gp_start);
|
jiffies - rcp->gp_start);
|
||||||
dump_stack();
|
dump_stack();
|
||||||
|
|
Loading…
Reference in a new issue