Re: [PATCH -tip 13/32] sched: Trivial forced-newidle balancer

2020-11-25 Thread Balbir Singh
On Tue, Nov 24, 2020 at 08:32:01AM +0800, Li, Aubrey wrote: > On 2020/11/24 7:35, Balbir Singh wrote: > > On Mon, Nov 23, 2020 at 11:07:27PM +0800, Li, Aubrey wrote: > >> On 2020/11/23 12:38, Balbir Singh wrote: > >>> On Tue, Nov 17, 2020 at 06:19:43PM -0500, Joel Fernandes (Google) wrote: >

Re: [PATCH -tip 13/32] sched: Trivial forced-newidle balancer

2020-11-23 Thread Li, Aubrey
On 2020/11/24 7:35, Balbir Singh wrote: > On Mon, Nov 23, 2020 at 11:07:27PM +0800, Li, Aubrey wrote: >> On 2020/11/23 12:38, Balbir Singh wrote: >>> On Tue, Nov 17, 2020 at 06:19:43PM -0500, Joel Fernandes (Google) wrote: From: Peter Zijlstra When a sibling is forced-idle to match

Re: [PATCH -tip 13/32] sched: Trivial forced-newidle balancer

2020-11-23 Thread Balbir Singh
On Mon, Nov 23, 2020 at 11:07:27PM +0800, Li, Aubrey wrote: > On 2020/11/23 12:38, Balbir Singh wrote: > > On Tue, Nov 17, 2020 at 06:19:43PM -0500, Joel Fernandes (Google) wrote: > >> From: Peter Zijlstra > >> > >> When a sibling is forced-idle to match the core-cookie; search for > >> matching

Re: [PATCH -tip 13/32] sched: Trivial forced-newidle balancer

2020-11-23 Thread Li, Aubrey
On 2020/11/23 12:38, Balbir Singh wrote: > On Tue, Nov 17, 2020 at 06:19:43PM -0500, Joel Fernandes (Google) wrote: >> From: Peter Zijlstra >> >> When a sibling is forced-idle to match the core-cookie; search for >> matching tasks to fill the core. >> >> rcu_read_unlock() can incur an infrequent

Re: [PATCH -tip 13/32] sched: Trivial forced-newidle balancer

2020-11-22 Thread Balbir Singh
On Tue, Nov 17, 2020 at 06:19:43PM -0500, Joel Fernandes (Google) wrote: > From: Peter Zijlstra > > When a sibling is forced-idle to match the core-cookie; search for > matching tasks to fill the core. > > rcu_read_unlock() can incur an infrequent deadlock in > sched_core_balance(). Fix this by

[PATCH -tip 13/32] sched: Trivial forced-newidle balancer

2020-11-17 Thread Joel Fernandes (Google)
From: Peter Zijlstra When a sibling is forced-idle to match the core-cookie; search for matching tasks to fill the core. rcu_read_unlock() can incur an infrequent deadlock in sched_core_balance(). Fix this by using the RCU-sched flavor instead. Acked-by: Paul E. McKenney Tested-by: Julien