Skip to content

Commit 156172a

Browse files
author
Peter Zijlstra
committed
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: e2b5bcf ("irq_work: record irq_work_queue() call stack") Reported-by: Alexander Shishkin <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 848ff37 commit 156172a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

kernel/irq_work.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ bool irq_work_queue(struct irq_work *work)
7070
if (!irq_work_claim(work))
7171
return false;
7272

73-
/*record irq_work call stack in order to print it in KASAN reports*/
74-
kasan_record_aux_stack(work);
75-
7673
/* Queue the entry and raise the IPI if needed. */
7774
preempt_disable();
7875
__irq_work_queue_local(work);

0 commit comments

Comments
 (0)