All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Use pr_crit() instead of long fancy messages
@ 2021-03-31  9:31 ` Geert Uytterhoeven
  0 siblings, 0 replies; 26+ messages in thread
From: Geert Uytterhoeven @ 2021-03-31  9:31 UTC (permalink / raw)
  To: Joerg Roedel, Will Deacon, Steven Rostedt, Ingo Molnar,
	Petr Mladek, Sergey Senozhatsky
  Cc: Linus Torvalds, Andrew Morton, Andy Shevchenko, Rasmus Villemoes,
	John Ogness, Gary R Hook, Marco Elver, Randy Dunlap,
	Vlastimil Babka, iommu, linux-kernel, linux-embedded,
	Geert Uytterhoeven

	Hi all,

While long fancy messages have a higher probability of being seen than
small messages, they may scroll of the screen fast, if visible at all,
and may still be missed.  In addition, they increase boot time and
kernel size.

The correct mechanism to increase importance of a kernel message is not
to draw fancy boxes with more text, but to shout louder, i.e. increase
the message's reporting level.  Making sure the administrator of the
system is aware of such a message is a system policy, and is the
responsability of a user-space log daemon.

This series increases the reporting level of such messages from
KERN_WARNING to KERN_CRIT, and removes irrelevant text and graphics.
It was made against linux-next, but applies to v5.12-rc5 with an offset
for the last patch.

Each of these patches reduces kernel size by ca. 0.5 KiB.

Thanks for your comments!

Geert Uytterhoeven (3):
  iommu: Use pr_crit() instead of long fancy messages
  tracing: Use pr_crit() instead of long fancy messages
  lib/vsprintf: Use pr_crit() instead of long fancy messages

 drivers/iommu/iommu-debugfs.c | 19 ++++---------------
 kernel/trace/trace.c          | 17 +++--------------
 lib/vsprintf.c                | 17 +++--------------
 3 files changed, 10 insertions(+), 43 deletions(-)

-- 
2.25.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2021-05-20 12:53 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-31  9:31 [PATCH 0/3] Use pr_crit() instead of long fancy messages Geert Uytterhoeven
2021-03-31  9:31 ` Geert Uytterhoeven
2021-03-31  9:31 ` [PATCH 1/3] iommu: " Geert Uytterhoeven
2021-03-31  9:31   ` Geert Uytterhoeven
2021-03-31  9:31 ` [PATCH 2/3] tracing: " Geert Uytterhoeven
2021-03-31  9:31   ` Geert Uytterhoeven
2021-03-31 13:40   ` Steven Rostedt
2021-03-31 13:40     ` Steven Rostedt
2021-03-31 13:40     ` Steven Rostedt
2021-04-01  9:14     ` Petr Mladek
2021-04-01  9:14       ` Petr Mladek via iommu
2021-04-01  9:14       ` Petr Mladek via iommu
2021-04-01  9:39     ` Geert Uytterhoeven
2021-04-01  9:39       ` Geert Uytterhoeven
2021-04-01  9:39       ` Geert Uytterhoeven
2021-04-01 11:28       ` Robin Murphy
2021-04-01 11:28         ` Robin Murphy
2021-04-01 11:28         ` Robin Murphy
2021-03-31  9:31 ` [PATCH 3/3] lib/vsprintf: " Geert Uytterhoeven
2021-03-31  9:31   ` Geert Uytterhoeven
2021-05-17  6:21   ` Geert Uytterhoeven
2021-05-17  6:21     ` Geert Uytterhoeven
2021-05-17  6:21     ` Geert Uytterhoeven
2021-05-20 12:51     ` Petr Mladek
2021-05-20 12:51       ` Petr Mladek via iommu
2021-05-20 12:51       ` Petr Mladek via iommu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.