Re: [PATCH net] ipvs: Fix estimator kthreads preferred affinity
Simon Horman <[email protected]> Wed, 27 Aug 2025 11:48:19 +0100
| Newsgroups | org.kernel.vger.lvs-devel,org.kernel.vger.linux-kernel,org.kernel.vger.netdev,org.kernel.vger.netfilter-devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jul 29, 2025 at 02:06:59PM +0200, Frederic Weisbecker wrote:
> The estimator kthreads' affinity are defined by sysctl overwritten
> preferences and applied through a plain call to the scheduler's affinity
> API.
>
> However since the introduction of managed kthreads preferred affinity,
> such a practice shortcuts the kthreads core code which eventually
> overwrites the target to the default unbound affinity.
>
> Fix this with using the appropriate kthread's API which will carry the
> desired affinity and maintain it across CPU hotplug events and CPU
> isolation constraints.
>
> Fixes: d1a89197589c ("kthread: Default affine kthread to its preferred NUMA node")
> Signed-off-by: Frederic Weisbecker <[email protected]>
Acked-by: Simon Horman <[email protected]>