diff options
| author | Enlin Mu <enlin.mu@linux.dev> | 2026-08-25 09:15:09 +0800 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-09-04 08:45:56 +0200 |
| commit | 67f399a9ac7f3001cafc0cb1b645e3e5760779d2 (patch) | |
| tree | 6bda65dd46da6f567751262bf9611798f0070437 /kernel/nstree.c | |
| parent | 94235414a0568f260b60b89ec584ff4829d5e8c9 (diff) | |
| download | linux-next-67f399a9ac7f3001cafc0cb1b645e3e5760779d2.tar.gz linux-next-67f399a9ac7f3001cafc0cb1b645e3e5760779d2.zip | |
softirq: Remove redundant h->action from preempt_count mismatch error
When a preempt_count mismatch is detected in handle_softirqs(), the
error message currently prints the softirq action handler (h->action).
However, as Thomas Gleixner pointed out, the action handler for a given
softirq vector is always a known, fixed function (e.g., run_timer_softirq
for TIMER_SOFTIRQ). Printing it provides zero diagnostic value. The real
issue typically lies in the functions invoked *within* that handler, not
the handler entry point itself.
Therefore, as suggested by Sebastian Andrzej Siewior, remove h->action
from the print statement entirely to clean up the error message.
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Suggested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Enlin Mu <enlin.mu@unisoc.com>
Signed-off-by: Enlin Mu <enlin.mu@linux.dev>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://patch.msgid.link/20260825011509.8505-1-enlin.mu@linux.dev
Diffstat (limited to 'kernel/nstree.c')
0 files changed, 0 insertions, 0 deletions
