Re: [PATCH] [RFC] rt: kernel/sched/core: fix kthread_park() pending too long when CPU un-plugged

From: Peter Zijlstra
Date: Fri Jan 08 2021 - 04:33:47 EST


On Thu, Jan 07, 2021 at 04:28:43PM +0100, Sebastian Siewior wrote:
> This sleep can be triggered by ptrace/strace() and with brief testing I
> can trigger the sleep there but I don't get it anywhere near where I
> would notice it with cyclictest.

It's a single task wakeup (the caller), doing that from hardirq context
really should not be a problem, we do lots of that in RT already.