Re: [PATCH] irq_work: Avoid unnecessary "IRQ work" interrupts
From: bigeasy@xxxxxxxxxxxxx
Date: Wed Aug 28 2024 - 10:02:33 EST
On 2024-08-28 13:26:42 [+0000], Brandt, Oliver - Lenze wrote:
>
> Hmm.... I see. What about calling wake_irq_workd() directly; something
> like
>
> if (rt_lazy_work)
> wake_irq_workd();
> else if (!lazy_work || tick_nohz_tick_stopped())
> irq_work_raise(work);
this might work but I'm not too sure about it. This will become a
problem if irq_work_queue() is invoked from a path where scheduling is
not possible due to recursion or acquired locks.
How much of a problem is it and how much you gain by doing so?
> Regards,
> Oliver
Sebastian