sched/rt: Annotate the RT balancing logic irqwork as IRQ_WORK_HARD_IRQ
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 6 Oct 2021 11:18:49 +0000 (13:18 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 15 Oct 2021 09:25:16 +0000 (11:25 +0200)
commitda6ff09943491819e077b94c284bf0a6b751c9b8
tree6fbf4c728598ba9d5b9954c1a4fc301dab9cd625
parent66558b730f2533cc2bf2b74d51f5f80b81e2bad0
sched/rt: Annotate the RT balancing logic irqwork as IRQ_WORK_HARD_IRQ

The push-IPI logic for RT tasks expects to be invoked from hardirq
context. One reason is that a RT task on the remote CPU would block the
softirq processing on PREEMPT_RT and so avoid pulling / balancing the RT
tasks as intended.

Annotate root_domain::rto_push_work as IRQ_WORK_HARD_IRQ.

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-2-bigeasy@linutronix.de
kernel/sched/topology.c