Re: [PATCH] rcu: Avoid unnecessary contention of rcu node lock

2016-11-16 Thread Byungchul Park
On Wed, Nov 16, 2016 at 11:29:35AM -0800, Paul E. McKenney wrote: > On Wed, Nov 16, 2016 at 01:49:31PM +0900, Byungchul Park wrote: > > On Wed, Nov 09, 2016 at 05:57:13PM +0900, Byungchul Park wrote: > > > It's unnecessary to try to print stacks of blocked tasks in the case > > > that ndetected ==

Re: [PATCH] rcu: Avoid unnecessary contention of rcu node lock

2016-11-16 Thread Paul E. McKenney
On Wed, Nov 16, 2016 at 01:49:31PM +0900, Byungchul Park wrote: > On Wed, Nov 09, 2016 at 05:57:13PM +0900, Byungchul Park wrote: > > It's unnecessary to try to print stacks of blocked tasks in the case > > that ndetected == 0. Furthermore, calling rcu_print_detail_task_stall() > > causes to acquir

Re: [PATCH] rcu: Avoid unnecessary contention of rcu node lock

2016-11-16 Thread Steven Rostedt
On Wed, 16 Nov 2016 13:49:31 +0900 Byungchul Park wrote: > On Wed, Nov 09, 2016 at 05:57:13PM +0900, Byungchul Park wrote: > > It's unnecessary to try to print stacks of blocked tasks in the case > > that ndetected == 0. Furthermore, calling rcu_print_detail_task_stall() > > causes to acquire rnp

Re: [PATCH] rcu: Avoid unnecessary contention of rcu node lock

2016-11-15 Thread Byungchul Park
On Wed, Nov 09, 2016 at 05:57:13PM +0900, Byungchul Park wrote: > It's unnecessary to try to print stacks of blocked tasks in the case > that ndetected == 0. Furthermore, calling rcu_print_detail_task_stall() > causes to acquire rnp locks as many times as the number of leaf nodes > plus one for roo