Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs rcu_read_lock()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Wednesday, September 19, 2007 - 7:31 am

On Wed, 19 Sep 2007 10:17:25 -0400 "Dmitry Torokhov"
<dmitry.torokhov@gmail.com> wrote:


Sounds fragile to begin with. But you're right in that that is valid
for Linux as you know it. However in -rt most/all spinlocks are
converted to sleeping locks. In that case sync_sched() is not enough.

So I'd rather recommend against proliferation of such schemes, as we'd
have to clean them up later on.

Still, I'm sure there are other false positives and we need to come up
with proper annotations for those.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() v ..., Peter Zijlstra, (Wed Sep 19, 7:31 am)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() v ..., Paul E. McKenney, (Wed Sep 19, 10:32 am)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() v ..., Paul E. McKenney, (Wed Sep 19, 10:48 am)