On Mon, 2007-07-30 at 11:22 +0200, Ingo Molnar wrote:
> * Daniel Walker <[EMAIL PROTECTED]> wrote:
>
> > + /*
> > +* If our rcu_read_lock_nesting went negative, likely
> > +* something is wrong..
> > +*/
> > + WARN_ON(current->rcu_read_lock_nesting < 0);
>
> have you actually
* Daniel Walker <[EMAIL PROTECTED]> wrote:
> + /*
> + * If our rcu_read_lock_nesting went negative, likely
> + * something is wrong..
> + */
> + WARN_ON(current->rcu_read_lock_nesting < 0);
have you actually caught any rcu locking problem this way? Double
unlocks should
* Daniel Walker [EMAIL PROTECTED] wrote:
+ /*
+ * If our rcu_read_lock_nesting went negative, likely
+ * something is wrong..
+ */
+ WARN_ON(current-rcu_read_lock_nesting 0);
have you actually caught any rcu locking problem this way? Double
unlocks should be caught
On Mon, 2007-07-30 at 11:22 +0200, Ingo Molnar wrote:
* Daniel Walker [EMAIL PROTECTED] wrote:
+ /*
+* If our rcu_read_lock_nesting went negative, likely
+* something is wrong..
+*/
+ WARN_ON(current-rcu_read_lock_nesting 0);
have you actually caught any rcu
On Sun, Jul 29, 2007 at 07:45:35PM -0700, Daniel Walker wrote:
> Simple WARN_ON to catch any underflow in rcu_read_lock_nesting.
>
> Signed-off-by: Daniel Walker <[EMAIL PROTECTED]>
Acked-by: Paul E. McKenney <[EMAIL PROTECTED]>
> ---
> kernel/rcupreempt.c |6 ++
> 1 file changed, 6
Simple WARN_ON to catch any underflow in rcu_read_lock_nesting.
Signed-off-by: Daniel Walker <[EMAIL PROTECTED]>
---
kernel/rcupreempt.c |6 ++
1 file changed, 6 insertions(+)
Index: linux-2.6.22/kernel/rcupreempt.c
===
Simple WARN_ON to catch any underflow in rcu_read_lock_nesting.
Signed-off-by: Daniel Walker [EMAIL PROTECTED]
---
kernel/rcupreempt.c |6 ++
1 file changed, 6 insertions(+)
Index: linux-2.6.22/kernel/rcupreempt.c
===
---
On Sun, Jul 29, 2007 at 07:45:35PM -0700, Daniel Walker wrote:
Simple WARN_ON to catch any underflow in rcu_read_lock_nesting.
Signed-off-by: Daniel Walker [EMAIL PROTECTED]
Acked-by: Paul E. McKenney [EMAIL PROTECTED]
---
kernel/rcupreempt.c |6 ++
1 file changed, 6
8 matches
Mail list logo