Re: [RFC PATCH 11/13] sched: migration changes for core scheduling

2020-06-14 Thread Li, Aubrey
On 2020/6/14 2:59, Vineeth Remanan Pillai wrote: > On Fri, Jun 12, 2020 at 10:25 PM Joel Fernandes > wrote: >> >> Ok, so I take it that you will make it so in v6 then, unless of course >> someone else objects. >> > Yes, just wanted to hear from Aubrey, Tim and others as well to see > if we have

Re: [RFC PATCH 11/13] sched: migration changes for core scheduling

2020-06-13 Thread Vineeth Remanan Pillai
On Fri, Jun 12, 2020 at 10:25 PM Joel Fernandes wrote: > > Ok, so I take it that you will make it so in v6 then, unless of course > someone else objects. > Yes, just wanted to hear from Aubrey, Tim and others as well to see if we have not missed anything obvious. Will have this in v6 if there are

Re: [RFC PATCH 11/13] sched: migration changes for core scheduling

2020-06-12 Thread Joel Fernandes
On Fri, Jun 12, 2020 at 05:32:01PM -0400, Vineeth Remanan Pillai wrote: > > AFAIR, that's what v4 did: > > > > if (available_idle_cpu(cpu)) > > #ifdef CONFIG_SCHED_CORE > > if (sched_core_enabled(cpu_rq(cpu)) && > >

Re: [RFC PATCH 11/13] sched: migration changes for core scheduling

2020-06-12 Thread Vineeth Remanan Pillai
On Fri, Jun 12, 2020 at 9:21 AM Joel Fernandes wrote: > > > +#ifdef CONFIG_SCHED_CORE > > + if (available_idle_cpu(cpu) && > > + sched_core_cookie_match(cpu_rq(cpu), p)) > > + break; > > +#else > > select_idle_cpu() is called only if no idle core

Re: [RFC PATCH 11/13] sched: migration changes for core scheduling

2020-06-12 Thread Joel Fernandes
On Wed, Mar 04, 2020 at 05:00:01PM +, vpillai wrote: > From: Aubrey Li > > - Don't migrate if there is a cookie mismatch > Load balance tries to move task from busiest CPU to the > destination CPU. When core scheduling is enabled, if the > task's cookie does not match with