diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2021-10-06 13:18:52 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-10-15 11:25:18 +0200 |
commit | 09089db79859cbccccd8df95b034f36f7027efa6 (patch) | |
tree | 52cf18ecadd4750e3a8f319d36ddc8c856f3c656 /kernel/smp.c | |
parent | b4c6f86ec2f648b5e6d4b04564fbc6d5351160a8 (diff) |
irq_work: Also rcuwait for !IRQ_WORK_HARD_IRQ on PREEMPT_RT
On PREEMPT_RT most items are processed as LAZY via softirq context.
Avoid to spin-wait for them because irq_work_sync() could have higher
priority and not allow the irq-work to be completed.
Wait additionally for !IRQ_WORK_HARD_IRQ irq_work items on PREEMPT_RT.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20211006111852.1514359-5-bigeasy@linutronix.de
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions