LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH net] ipvs: Fix estimator kthreads preferred affinity

To: Frederic Weisbecker <frederic@xxxxxxxxxx>
Subject: Re: [PATCH net] ipvs: Fix estimator kthreads preferred affinity
Cc: LKML <linux-kernel@xxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, David Ahern <dsahern@xxxxxxxxxx>, Julian Anastasov <ja@xxxxxx>, Eric Dumazet <edumazet@xxxxxxxxxx>, Jakub Kicinski <kuba@xxxxxxxxxx>, Paolo Abeni <pabeni@xxxxxxxxxx>, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>, Jozsef Kadlecsik <kadlec@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, coreteam@xxxxxxxxxxxxx
From: Simon Horman <horms@xxxxxxxxxx>
Date: Wed, 27 Aug 2025 11:48:19 +0100
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 <frederic@xxxxxxxxxx>

Acked-by: Simon Horman <horms@xxxxxxxxxx>



<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH net] ipvs: Fix estimator kthreads preferred affinity, Simon Horman <=