[PATCH 12/19] kthread: Default affine kthread to its preferred NUMA node

2024-12-11 Thread Frederic Weisbecker
Kthreads attached to a preferred NUMA node for their task structure allocation can also be assumed to run preferrably within that same node. A more precise affinity is usually notified by calling kthread_create_on_cpu() or kthread_bind[_mask]() before the first wakeup. For the others, a default a

Re: [PATCH 12/19] kthread: Default affine kthread to its preferred NUMA node

2024-09-18 Thread Michal Hocko
On Wed 18-09-24 11:37:42, Frederic Weisbecker wrote: > Le Tue, Sep 17, 2024 at 01:07:25PM +0200, Michal Hocko a écrit : [...] > > I am not objecting to patch per se. I am just not sure this is really > > needed. It is great to have kernel threads bound to non isolated cpus by > > default if they ha

Re: [PATCH 12/19] kthread: Default affine kthread to its preferred NUMA node

2024-09-18 Thread Frederic Weisbecker
Le Tue, Sep 17, 2024 at 01:07:25PM +0200, Michal Hocko a écrit : > On Tue 17-09-24 12:34:51, Frederic Weisbecker wrote: > > Le Tue, Sep 17, 2024 at 08:26:49AM +0200, Michal Hocko a écrit : > > > On Tue 17-09-24 00:49:16, Frederic Weisbecker wrote: > > > > Kthreads attached to a preferred NUMA node

Re: [PATCH 12/19] kthread: Default affine kthread to its preferred NUMA node

2024-09-17 Thread Michal Hocko
On Tue 17-09-24 12:34:51, Frederic Weisbecker wrote: > Le Tue, Sep 17, 2024 at 08:26:49AM +0200, Michal Hocko a écrit : > > On Tue 17-09-24 00:49:16, Frederic Weisbecker wrote: > > > Kthreads attached to a preferred NUMA node for their task structure > > > allocation can also be assumed to run pref

Re: [PATCH 12/19] kthread: Default affine kthread to its preferred NUMA node

2024-09-17 Thread Frederic Weisbecker
Le Tue, Sep 17, 2024 at 08:26:49AM +0200, Michal Hocko a écrit : > On Tue 17-09-24 00:49:16, Frederic Weisbecker wrote: > > Kthreads attached to a preferred NUMA node for their task structure > > allocation can also be assumed to run preferrably within that same node. > > > > A more precise affini

Re: [PATCH 12/19] kthread: Default affine kthread to its preferred NUMA node

2024-09-17 Thread Vlastimil Babka
On 9/17/24 9:05 AM, Michal Hocko wrote: > On Tue 17-09-24 09:01:08, Vlastimil Babka wrote: >> On 9/17/24 8:26 AM, Michal Hocko wrote: >>> On Tue 17-09-24 00:49:16, Frederic Weisbecker wrote: Kthreads attached to a preferred NUMA node for their task structure allocation can also be assumed

Re: [PATCH 12/19] kthread: Default affine kthread to its preferred NUMA node

2024-09-17 Thread Michal Hocko
On Tue 17-09-24 09:01:08, Vlastimil Babka wrote: > On 9/17/24 8:26 AM, Michal Hocko wrote: > > On Tue 17-09-24 00:49:16, Frederic Weisbecker wrote: > >> Kthreads attached to a preferred NUMA node for their task structure > >> allocation can also be assumed to run preferrably within that same node.

Re: [PATCH 12/19] kthread: Default affine kthread to its preferred NUMA node

2024-09-16 Thread Vlastimil Babka
On 9/17/24 8:26 AM, Michal Hocko wrote: > On Tue 17-09-24 00:49:16, Frederic Weisbecker wrote: >> Kthreads attached to a preferred NUMA node for their task structure >> allocation can also be assumed to run preferrably within that same node. >> >> A more precise affinity is usually notified by call

Re: [PATCH 12/19] kthread: Default affine kthread to its preferred NUMA node

2024-09-16 Thread Michal Hocko
On Tue 17-09-24 00:49:16, Frederic Weisbecker wrote: > Kthreads attached to a preferred NUMA node for their task structure > allocation can also be assumed to run preferrably within that same node. > > A more precise affinity is usually notified by calling > kthread_create_on_cpu() or kthread_bind

[PATCH 12/19] kthread: Default affine kthread to its preferred NUMA node

2024-09-16 Thread Frederic Weisbecker
Kthreads attached to a preferred NUMA node for their task structure allocation can also be assumed to run preferrably within that same node. A more precise affinity is usually notified by calling kthread_create_on_cpu() or kthread_bind[_mask]() before the first wakeup. For the others, a default a