projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
848ff37
)
irq_work: Make irq_work_queue() NMI-safe again
author
Peter Zijlstra
<peterz@infradead.org>
Tue, 8 Jun 2021 17:54:15 +0000
(19:54 +0200)
committer
Peter Zijlstra
<peterz@infradead.org>
Thu, 10 Jun 2021 08:00:08 +0000
(10:00 +0200)
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
kernel/irq_work.c
patch
|
blob
|
history
diff --git
a/kernel/irq_work.c
b/kernel/irq_work.c
index
23a7a0b
..
db8c248
100644
(file)
--- 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);