Re: [PATCH 0/6] sched: Expose writable interface for preferred CPUs mask
From: Peter Zijlstra
Date: Thu Nov 12 2026 - 05:59:32 EST
On Thu, Nov 12, 2026 at 10:56:36AM +0100, Mete Durlu wrote:
> > Did you mean pin to preferred CPUs? Why would anyone want to run their
> > workload only on non-preferred CPUs? By definition, they are not meant to
> > be used as much as possible. and It is benchmarking.
>
> I think they want to prevent anything else *besides* their workload
> from running on these CPUs by marking them non-preferred and then
> pinning their workload there.
> Sort of like like dynamically configurable isolated CPUs.
>
> IMO this fits 1-1 with what Yury is describing with this patchset.
That's what we have cpusets for. It can do configurable isolated CPUs
just fine, in fact, it was made for that.