diff options
| author | Petr Mladek <pmladek@suse.com> | 2025-09-26 14:49:11 +0200 |
|---|---|---|
| committer | Petr Mladek <pmladek@suse.com> | 2025-10-30 12:11:33 +0100 |
| commit | 4c3ba0d5925685d27490078bf2d54ff9c0a0e67b (patch) | |
| tree | 3014375c5f4e5d4ce64e4834f728671d389251b9 /tools/lib/python/kdoc/kdoc_parser.py | |
| parent | c41c0ebfa1e0eb40cfb11846a7a579eb8d9dfb5f (diff) | |
printk/nbcon/panic: Allow printk kthread to sleep when the system is in panic
The printk kthread might be running when there is a panic in progress.
But it is not able to acquire the console ownership any longer.
Prevent the desperate attempts to acquire the ownership and allow sleeping
in panic. It would make it behave the same as when there is any CPU
in an emergency context.
Reviewed-by: Andrew Murray <amurray@thegoodpenguin.co.uk>
Reviewed-by: John Ogness <john.ogness@linutronix.de>
Link: https://patch.msgid.link/20250926124912.243464-3-pmladek@suse.com
[pmladek@suse.com: Rebased on top of 6.18-rc1 (panic_in_progress() moved to panic.c)]
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
