Merge d652502ef4 Merge tag 'ovl-update-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs into android-mainline
A tiny step en route to v5.13-rc1 Signed-off-by: Lee Jones <lee.jones@linaro.org> Change-Id: I049e80976042ebffc90bb080f09da0afcfd48d77
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#include <linux/notifier.h>
|
||||
#include <linux/smp.h>
|
||||
#include <asm/processor.h>
|
||||
|
||||
#include <linux/kasan.h>
|
||||
|
||||
static DEFINE_PER_CPU(struct llist_head, raised_list);
|
||||
static DEFINE_PER_CPU(struct llist_head, lazy_list);
|
||||
@@ -70,6 +70,9 @@ 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);
|
||||
@@ -98,6 +101,8 @@ bool irq_work_queue_on(struct irq_work *work, int cpu)
|
||||
if (!irq_work_claim(work))
|
||||
return false;
|
||||
|
||||
kasan_record_aux_stack(work);
|
||||
|
||||
preempt_disable();
|
||||
if (cpu != smp_processor_id()) {
|
||||
/* Arch remote IPI send/receive backend aren't NMI safe */
|
||||
|
||||
Reference in New Issue
Block a user