diff options
| author | Breno Leitao <leitao@debian.org> | 2026-02-06 03:18:02 -0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-02-07 06:54:42 -1000 |
| commit | 9cb8b0f289560728dbb8b88158e7a957e2e90a14 (patch) | |
| tree | 0d85afce6d08dee0fdc1abe7c8bd23d66d85971c /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | f84c9dd34e8dce3fb42598344da711573b383626 (diff) | |
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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
