Re: Using sparse to catch invalid RCU dereferences?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Friday, April 11, 2008 - 11:18 am

On Tue, 2008-04-08 at 08:52 -0700, Paul E. McKenney wrote:

We could start by annotating those as well, for example:

 __rcu spinlock_t tree_lock;

Then we would know that when tree lock is held the data structure is
stable and we can ommit the rcu_*() functions.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Using sparse to catch invalid RCU dereferences?, Johannes Berg, (Mon Apr 7, 3:04 pm)
Re: Using sparse to catch invalid RCU dereferences?, Paul E. McKenney, (Tue Apr 8, 8:52 am)
Re: Using sparse to catch invalid RCU dereferences?, Johannes Berg, (Tue Apr 8, 9:09 am)
Re: Using sparse to catch invalid RCU dereferences?, Paul E. McKenney, (Tue Apr 8, 10:24 am)
Re: Using sparse to catch invalid RCU dereferences?, Johannes Berg, (Wed Apr 9, 1:09 pm)
Re: Using sparse to catch invalid RCU dereferences?, Paul E. McKenney, (Thu Apr 10, 3:32 pm)
Re: Using sparse to catch invalid RCU dereferences?, Peter Zijlstra, (Fri Apr 11, 11:18 am)
Re: Using sparse to catch invalid RCU dereferences?, Paul E. McKenney, (Fri Apr 11, 11:43 am)
Re: Using sparse to catch invalid RCU dereferences?, Johannes Berg, (Fri Apr 11, 1:54 pm)