Hey everyone-- On 11/22/2017 06:10 AM, Hannes Reinecke wrote: > _Actually_ there is a push to remove all kthreads in the kernel, as they > don't play nice together with RT. > So while you're at it, do you think it'd be possible to convert it to a > workqueue? Sebastian will be happy to help you here, right, Sebastian? I don't see a reason why moving this away from a thread would be advantageous. There's neither devastating complexity in the current form nor a need for additional concurrency (at least right now). As it turns out, we're broken for RT for other reasons, but that has to do with our use of closures and releasing locks in different threads from where they're allocated. The natural answer is completions, but that's not easily done with the current structure of the code. This current code is neither a problem for RT nor for performance/legibility on mainline. Mike