diff options
| author | Breno Leitao <leitao@debian.org> | 2026-02-06 14:18:02 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-02-07 19:54:42 +0300 |
| commit | 9cb8b0f289560728dbb8b88158e7a957e2e90a14 (patch) | |
| tree | 0d85afce6d08dee0fdc1abe7c8bd23d66d85971c /include/uapi/linux/mqueue.h | |
| parent | f84c9dd34e8dce3fb42598344da711573b383626 (diff) | |
| download | linux-9cb8b0f289560728dbb8b88158e7a957e2e90a14.tar.xz | |
workqueue: replace BUG_ON with panic in panic_on_wq_watchdog
Replace BUG_ON() with panic() in panic_on_wq_watchdog(). This is not
a bug condition but a deliberate forced panic requested by the user
via module parameters to crash the system for debugging purposes.
Using panic() instead of BUG_ON() makes this intent clearer and provides
more informative output about which threshold was exceeded and the actual
values, making it easier to diagnose the stall condition from crash dumps.
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/uapi/linux/mqueue.h')
0 files changed, 0 insertions, 0 deletions
