Commit f5405172 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by Linus Torvalds
Browse files

printk: make dynamic units clear for the kernel ring buffer

Signed-off-by: default avatarLuis R. Rodriguez <>
Suggested-by: default avatarDavidlohr Bueso <>
Cc: Andrew Lunn <>
Cc: Stephen Warren <>
Cc: Greg Kroah-Hartman <>
Cc: Michal Hocko <>
Cc: Petr Mladek <>
Cc: Joe Perches <>
Cc: Arun KS <>
Cc: Kees Cook <>
Cc: Davidlohr Bueso <>
Cc: Chris Metcalf <>
Cc: Jan Kara <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent c0a318a3
......@@ -879,7 +879,7 @@ void __init setup_log_buf(int early)
memcpy(log_buf, __log_buf, __LOG_BUF_LEN);
raw_spin_unlock_irqrestore(&logbuf_lock, flags);
pr_info("log_buf_len: %d\n", log_buf_len);
pr_info("log_buf_len: %d bytes\n", log_buf_len);
pr_info("early log buf free: %d(%d%%)\n",
free, (free * 100) / __LOG_BUF_LEN);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment