Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-29 Thread Paul E. McKenney
On Thu, Nov 29, 2012 at 11:30:19AM +0100, Frederic Weisbecker wrote: > 2012/11/29 Li Zhong : > > On Tue, 2012-11-27 at 19:33 +0100, Frederic Weisbecker wrote: > > [] > >> - > >> - WARN_ON_ONCE(!current->mm); > >> - > >> - local_irq_save(flags); > >> - rdtp = &__get_cpu_var(rcu_dynti

Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-29 Thread Frederic Weisbecker
2012/11/29 Li Zhong : > On Tue, 2012-11-27 at 19:33 +0100, Frederic Weisbecker wrote: > [] >> - >> - WARN_ON_ONCE(!current->mm); >> - >> - local_irq_save(flags); >> - rdtp = &__get_cpu_var(rcu_dynticks); >> - if (!rdtp->ignore_user_qs && !rdtp->in_user) { >> - rdtp->

Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-29 Thread Li Zhong
On Tue, 2012-11-27 at 19:33 +0100, Frederic Weisbecker wrote: [] > - > - WARN_ON_ONCE(!current->mm); > - > - local_irq_save(flags); > - rdtp = &__get_cpu_var(rcu_dynticks); > - if (!rdtp->ignore_user_qs && !rdtp->in_user) { > - rdtp->in_user = true; > - r

Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-27 Thread Paul E. McKenney
On Tue, Nov 27, 2012 at 08:50:38PM -0500, Steven Rostedt wrote: > On Tue, 2012-11-27 at 16:59 -0800, Paul E. McKenney wrote: > > On Tue, Nov 27, 2012 at 07:33:25PM +0100, Frederic Weisbecker wrote: > > > Create a new subsystem that probes on kernel boundaries > > > to keep track of the transitions

Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-27 Thread Steven Rostedt
On Tue, 2012-11-27 at 16:59 -0800, Paul E. McKenney wrote: > On Tue, Nov 27, 2012 at 07:33:25PM +0100, Frederic Weisbecker wrote: > > Create a new subsystem that probes on kernel boundaries > > to keep track of the transitions between level contexts > > with two basic initial contexts: user or kern

Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-27 Thread Paul E. McKenney
On Tue, Nov 27, 2012 at 07:33:25PM +0100, Frederic Weisbecker wrote: > Create a new subsystem that probes on kernel boundaries > to keep track of the transitions between level contexts > with two basic initial contexts: user or kernel. > > This is an abstraction of some RCU code that use such trac