Thread (16 messages) 16 messages, 6 authors, 16d ago

Re: [PATCH 1/2] bug: Provide WARN_ON.*DEFERRED() macros for console deferred output

From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2026-06-24 06:26:45
Also in: linux-arch, lkml, sched-ext

On 2026-06-23 20:24:02 [+0530], K Prateek Nayak wrote:
Hello Sebastian,
Hi Prateek,
nit.

Instead of replicating these bits, can we replace that return with a
"goto out" ...
sure

…
... and replace this return with a:

    return (warning) ? BUG_TRAP_TYPE_WARN : BUG_TRAP_TYPE_BUG;

Looks a tab bit cleaner to my eyes. Thoughts?
It sure does.
I wait for PeterZ' executive order to either do this and sprinkle sched/
_or_ make legacy consoles deferred as it is done on RT.

Petr, was there a big push back doing it unconditionally?
quoted
 }
 
Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help