Re: [PATCH RESEND v3] sched/isolation: Prefer housekeeping cpu in local node

2019-06-28 Thread Srikar Dronamraju
> > -#endif /* CONFIG_NUMA */ > - > /* > * sched_numa_find_closest() - given the NUMA topology, find the cpu > * closest to @cpu from @cpumask. > * cpumask: cpumask to find a cpu from > * cpu: cpu to be close to > * > - * returns: cpu, or >= nr_cpu_ids when n

Re: [PATCH RESEND v3] sched/isolation: Prefer housekeeping cpu in local node

2019-06-28 Thread Wanpeng Li
Hi Srikar, On Fri, 28 Jun 2019 at 14:58, Srikar Dronamraju wrote: > > * Wanpeng Li [2019-06-28 08:43:13]: > > > > > > +/* > > + * sched_numa_find_closest() - given the NUMA topology, find the cpu > > + * closest to @cpu from @cpumask. > > + * cpumask: cpumask to find a

Re: [PATCH RESEND v3] sched/isolation: Prefer housekeeping cpu in local node

2019-06-27 Thread Srikar Dronamraju
* Wanpeng Li [2019-06-28 08:43:13]: > > +/* > + * sched_numa_find_closest() - given the NUMA topology, find the cpu > + * closest to @cpu from @cpumask. > + * cpumask: cpumask to find a cpu from > + * cpu: cpu to be close to > + * > + * returns: cpu, or >= nr_cpu_id

Re: [PATCH RESEND v3] sched/isolation: Prefer housekeeping cpu in local node

2019-06-27 Thread Frederic Weisbecker
On Fri, Jun 28, 2019 at 08:43:13AM +0800, Wanpeng Li wrote: > From: Wanpeng Li > > In real product setup, there will be houseeking cpus in each nodes, it > is prefer to do housekeeping from local node, fallback to global online > cpumask if failed to find houseeking cpu from local node. > > Cc

[PATCH RESEND v3] sched/isolation: Prefer housekeeping cpu in local node

2019-06-27 Thread Wanpeng Li
From: Wanpeng Li In real product setup, there will be houseeking cpus in each nodes, it is prefer to do housekeeping from local node, fallback to global online cpumask if failed to find houseeking cpu from local node. Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Thomas Gl