diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-06-08 19:54:15 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-06-10 10:00:08 +0200 |
commit | 156172a13ff0626d8e23276e741c7e2cb2f3b572 (patch) | |
tree | 4e2e00a1189ed6bf172472190a196f63e2b38b3a /kernel/irq_work.c | |
parent | perf/x86/intel/uncore: Fix M2M event umask for Ice Lake server (diff) | |
download | linux-156172a13ff0626d8e23276e741c7e2cb2f3b572.tar.xz linux-156172a13ff0626d8e23276e741c7e2cb2f3b572.zip |
irq_work: Make irq_work_queue() NMI-safe again
Someone carelessly put NMI unsafe code in irq_work_queue(), breaking
just about every single user. Also, someone has a terrible comment
style.
Fixes: e2b5bcf9f5ba ("irq_work: record irq_work_queue() call stack")
Reported-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/YL+uBq8LzXXZsYVf@hirez.programming.kicks-ass.net
Diffstat (limited to 'kernel/irq_work.c')
-rw-r--r-- | kernel/irq_work.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/irq_work.c b/kernel/irq_work.c index 23a7a0ba1388..db8c248ebc8c 100644 --- a/kernel/irq_work.c +++ b/kernel/irq_work.c @@ -70,9 +70,6 @@ bool irq_work_queue(struct irq_work *work) if (!irq_work_claim(work)) return false; - /*record irq_work call stack in order to print it in KASAN reports*/ - kasan_record_aux_stack(work); - /* Queue the entry and raise the IPI if needed. */ preempt_disable(); __irq_work_queue_local(work); |