Messages in this thread | | | From | Thomas Gleixner <> | Subject | Re: [patch V2 9/9] tasklets: Prevent kill/unlock_wait deadlock on RT | Date | Mon, 07 Dec 2020 18:49:26 +0100 |
| |
On Mon, Dec 07 2020 at 16:39, Sebastian Andrzej Siewior wrote: > On 2020-12-07 16:22:07 [+0100], Thomas Gleixner wrote: >> On Mon, Dec 07 2020 at 15:00, Sebastian Andrzej Siewior wrote: >> > So we keep the RT part as-is and replace the non-RT bits with this? >> >> No. It would work for both. > > So instead of boosting our way through we simply wait until the tasklet > completes. Given that canceling is usually done on start/stop events, it > shouldn't matter if the RT priority is lost.
That was my reasoning. The only thing we need to figure out whether there are callers on !RT which invoke that muck from non-sleepable context.
Thanks,
tglx
| |