[PATCH v2 25/44] printk: Remove trace_.*_rcuidle() usage

Peter Zijlstra peterz at infradead.org
Mon Sep 19 20:00:04 AEST 2022


The problem, per commit fc98c3c8c9dc ("printk: use rcuidle console
tracepoint"), was printk usage from the cpuidle path where RCU was
already disabled.

Per the patches earlier in this series, this is no longer the case.

Signed-off-by: Peter Zijlstra (Intel) <peterz at infradead.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky at chromium.org>
Acked-by: Petr Mladek <pmladek at suse.com>
---
 kernel/printk/printk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -2238,7 +2238,7 @@ static u16 printk_sprint(char *text, u16
 		}
 	}
 
-	trace_console_rcuidle(text, text_len);
+	trace_console(text, text_len);
 
 	return text_len;
 }




More information about the Linuxppc-dev mailing list