Re: [PATCH v8 5/6] workqueue: Imply strict CPU affinity for WQ_RT

From: Tejun Heo

Date: Mon Nov 09 2026 - 09:34:40 EST


Hello,

On Mon, Nov 09, 2026 at 09:52:17AM +0000, Tvrtko Ursulin wrote:
...
> apply_workqueue_attrs() would work in theory but is not exported for modules
> which is required for panthor.

Oh, please feel free to export them.

> Regarding the flag reorganization, what would require expanding to u64?
> Unless I am missing something I see currently only 20 bits are used.

Right, it might not be strictly necessary. Just something we might as well
do while at it if we want to encode a bunch of scope / attrs in the flags.

> Although on a higher level my feeling is that panthor could first try with
> WQ_RT as is, and we consider adding strict affinity, via either of the above
> options, if that will not be good enough.

I see.

Thanks.

--
tejun