diff options
author | 2025-01-09 16:24:33 -0800 | |
---|---|---|
committer | 2025-01-13 14:10:23 +0100 | |
commit | 8061b9f5e111a3012f8b691e5b75dd81eafbb793 (patch) | |
tree | cbef07c729fbf0e675999a165a039fa71961a91b /scripts/lib/kdoc/kdoc_files.py | |
parent | sched/fair: Encapsulate set custom slice in a __setparam_fair() function (diff) | |
download | wireguard-linux-8061b9f5e111a3012f8b691e5b75dd81eafbb793.tar.xz wireguard-linux-8061b9f5e111a3012f8b691e5b75dd81eafbb793.zip |
sched/debug: Change need_resched warnings to pr_err
need_resched warnings, if enabled, are treated as WARNINGs. If
kernel.panic_on_warn is enabled, then this causes a kernel panic.
It's highly unlikely that a panic is desired for these warnings, only a
stack trace is normally required to debug and resolve.
Thus, switch need_resched warnings to simply be a printk with an
associated stack trace so they are no longer in scope for panic_on_warn.
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Madadi Vineeth Reddy <vineethr@linux.ibm.com>
Acked-by: Josh Don <joshdon@google.com>
Link: https://lkml.kernel.org/r/e8d52023-5291-26bd-5299-8bb9eb604929@google.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions