Re: [PATCH] rcu: mark debug_lockdep_rcu_enabled() as pure

2017-07-27 Thread Paul E. McKenney
On Sun, May 21, 2017 at 11:51:39AM +0300, Konstantin Khlebnikov wrote: > On 20.05.2017 19:42, Paul E. McKenney wrote: > >On Fri, May 19, 2017 at 10:03:59AM +0300, Konstantin Khlebnikov wrote: > >>This allows to get rid of unneeded invocations. > >> > >>Function debug_lockdep_rcu_enabled() becomes

Re: [PATCH] rcu: mark debug_lockdep_rcu_enabled() as pure

2017-07-27 Thread Paul E. McKenney
On Sun, May 21, 2017 at 11:51:39AM +0300, Konstantin Khlebnikov wrote: > On 20.05.2017 19:42, Paul E. McKenney wrote: > >On Fri, May 19, 2017 at 10:03:59AM +0300, Konstantin Khlebnikov wrote: > >>This allows to get rid of unneeded invocations. > >> > >>Function debug_lockdep_rcu_enabled() becomes

Re: [PATCH] rcu: mark debug_lockdep_rcu_enabled() as pure

2017-05-21 Thread Konstantin Khlebnikov
On 20.05.2017 19:42, Paul E. McKenney wrote: On Fri, May 19, 2017 at 10:03:59AM +0300, Konstantin Khlebnikov wrote: This allows to get rid of unneeded invocations. Function debug_lockdep_rcu_enabled() becomes really hot if several debug options are enabled together with CONFIG_PROVE_RCU.

Re: [PATCH] rcu: mark debug_lockdep_rcu_enabled() as pure

2017-05-21 Thread Konstantin Khlebnikov
On 20.05.2017 19:42, Paul E. McKenney wrote: On Fri, May 19, 2017 at 10:03:59AM +0300, Konstantin Khlebnikov wrote: This allows to get rid of unneeded invocations. Function debug_lockdep_rcu_enabled() becomes really hot if several debug options are enabled together with CONFIG_PROVE_RCU.

Re: [PATCH] rcu: mark debug_lockdep_rcu_enabled() as pure

2017-05-20 Thread Paul E. McKenney
On Fri, May 19, 2017 at 10:03:59AM +0300, Konstantin Khlebnikov wrote: > This allows to get rid of unneeded invocations. > > Function debug_lockdep_rcu_enabled() becomes really hot if several > debug options are enabled together with CONFIG_PROVE_RCU. > > Hottest path ends with: >

Re: [PATCH] rcu: mark debug_lockdep_rcu_enabled() as pure

2017-05-20 Thread Paul E. McKenney
On Fri, May 19, 2017 at 10:03:59AM +0300, Konstantin Khlebnikov wrote: > This allows to get rid of unneeded invocations. > > Function debug_lockdep_rcu_enabled() becomes really hot if several > debug options are enabled together with CONFIG_PROVE_RCU. > > Hottest path ends with: >

[PATCH] rcu: mark debug_lockdep_rcu_enabled() as pure

2017-05-19 Thread Konstantin Khlebnikov
This allows to get rid of unneeded invocations. Function debug_lockdep_rcu_enabled() becomes really hot if several debug options are enabled together with CONFIG_PROVE_RCU. Hottest path ends with: debug_lockdep_rcu_enabled is_ftrace_trampoline __kernel_text_address Here

[PATCH] rcu: mark debug_lockdep_rcu_enabled() as pure

2017-05-19 Thread Konstantin Khlebnikov
This allows to get rid of unneeded invocations. Function debug_lockdep_rcu_enabled() becomes really hot if several debug options are enabled together with CONFIG_PROVE_RCU. Hottest path ends with: debug_lockdep_rcu_enabled is_ftrace_trampoline __kernel_text_address Here