On Thu, Mar 14, 2013 at 08:20:26PM +0100, Jan Kiszka wrote: > >> Not sure this is valid. > > > > The lock/unlocks must be paired. > > Did you find out more than what Paolo reported?
/** * srcu_read_unlock - unregister a old reader from an SRCU-protected * structure. * @sp: srcu_struct in which to unregister the old reader. * @idx: return value from corresponding srcu_read_lock(). * * Exit an SRCU read-side critical section. */ static inline void srcu_read_unlock(struct srcu_struct *sp, int idx) __releases(sp) { rcu_lock_release(&(sp)->dep_map); __srcu_read_unlock(sp, idx); } -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html