Re: [RFC PATCH 0/2] RT scheduling policies for workqueues
From: Sebastian Andrzej Siewior
Date: Tue Mar 29 2022 - 02:30:56 EST
On 2022-03-28 07:39:25 [-1000], Tejun Heo wrote:
> Hello,
Hi,
> I wonder whether it'd be useful to provide a set of wrappers which can make
> switching between workqueue and kworker easy. Semantics-wise, they're
> already mostly aligned and it shouldn't be too difficult to e.g. make an
> unbounded workqueue be backed by a dedicated kthread_worker instead of
> shared pool depending on a flag, or even allow switching dynamically.
This could work. For the tty layer it could use 'lowlatency' attribute
to decide which implementation makes sense.
> Thanks.
>
Sebastian