Re: [PATCH v2 RT 3.18] irq_work: Provide a soft-irq based queue

From: Jan Kiszka
Date: Fri May 15 2015 - 03:43:32 EST


On 2015-05-14 21:58, Sebastian Andrzej Siewior wrote:
> * Jan Kiszka | 2015-04-23 09:35:59 [+0200]:
>
>> Instead of turning all irq_work requests into lazy ones on -rt, just
>> move their execution from hard into soft-irq context.
>>
>> This resolves deadlocks of ftrace which will queue work from arbitrary
>> contexts, including those that have locks held that are needed for
>> raising a soft-irq.
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
> Applied

The thread went on, and Mike suggested an alternative implementation [1]
that works fine and is even cleaner. Let's pick his.

Jan

[1] http://thread.gmane.org/gmane.linux.kernel/1937960


Attachment: signature.asc
Description: OpenPGP digital signature