Skip to content

Commit be19ef8

Browse files
author
Ingo Molnar
committed
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>
1 parent 45beca0 commit be19ef8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎kernel/rcuclassic.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static void print_other_cpu_stall(struct rcu_ctrlblk *rcp)
191191

192192
/* OK, time to rat on our buddy... */
193193

194-
printk(KERN_ERR "RCU detected CPU stalls:");
194+
printk(KERN_ERR "INFO: RCU detected CPU stalls:");
195195
for_each_possible_cpu(cpu) {
196196
if (cpu_isset(cpu, rcp->cpumask))
197197
printk(" %d", cpu);
@@ -204,7 +204,7 @@ static void print_cpu_stall(struct rcu_ctrlblk *rcp)
204204
{
205205
unsigned long flags;
206206

207-
printk(KERN_ERR "RCU detected CPU %d stall (t=%lu/%lu jiffies)\n",
207+
printk(KERN_ERR "INFO: RCU detected CPU %d stall (t=%lu/%lu jiffies)\n",
208208
smp_processor_id(), jiffies,
209209
jiffies - rcp->gp_start);
210210
dump_stack();

0 commit comments

Comments
 (0)