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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <a.p.zijlstra@...>
Cc: <paulmck@...>, <linux-kernel@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, Nick Piggin <nickpiggin@...>
Date: Wednesday, September 19, 2007 - 3:49 pm

On 9/19/07, Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

Even "slow" driver should try not to slow down the rest of the system
if it can help it. I am sorry if the thing it does do not quite fit in
with the changes you are proposing but it does not make the exeisting
code invalid.


Except that I need spin_lock_irq for other reasons. I could take the
same lock in write-side code and not use RCU at all but using RCU
allows opening/closing input devices without slowing down interrupt
handlers so why not use it?

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

Messages in current thread:
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ..., Paul E. McKenney, (Wed Sep 19, 11:37 am)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ..., Dmitry Torokhov, (Wed Sep 19, 3:49 pm)