Re: [RFC PATCH v2 15/17] sched: Trivial forced-newidle balancer

2019-04-24 Thread Vineeth Remanan Pillai
> try_steal_cookie() is in the loop of for_each_cpu_wrap(). > The root domain could be large and we should avoid > stealing cookie if source rq has only one task or dst is really busy. > > The following patch eliminated a deadlock issue on my side if I didn't > miss anything in v1. I'll double chec

Re: [RFC PATCH v2 15/17] sched: Trivial forced-newidle balancer

2019-04-24 Thread Vineeth Remanan Pillai
If the hard lockup is reproducible with v2, could you please share more details about the lockup? Thanks

Re: [RFC PATCH v2 15/17] sched: Trivial forced-newidle balancer

2019-04-23 Thread Aubrey Li
On Wed, Apr 24, 2019 at 12:18 AM Vineeth Remanan Pillai wrote: > > From: Peter Zijlstra (Intel) > > When a sibling is forced-idle to match the core-cookie; search for > matching tasks to fill the core. > > Signed-off-by: Peter Zijlstra (Intel) > --- > include/linux/sched.h | 1 + > kernel/sch

[RFC PATCH v2 15/17] sched: Trivial forced-newidle balancer

2019-04-23 Thread Vineeth Remanan Pillai
From: Peter Zijlstra (Intel) When a sibling is forced-idle to match the core-cookie; search for matching tasks to fill the core. Signed-off-by: Peter Zijlstra (Intel) --- include/linux/sched.h | 1 + kernel/sched/core.c | 131 +- kernel/sched/idle.c