| Date | Fri, 15 Nov 2019 12:39:06 -0800 | From | Davidlohr Bueso <> | Subject | Re: [PATCH 1/5] locking/percpu-rwsem, lockdep: Make percpu-rwsem use its own lockdep_map |
| |
On Wed, 13 Nov 2019, Peter Zijlstra wrote: >@@ -37,7 +48,7 @@ static inline void percpu_down_read(stru > { > might_sleep(); > >- rwsem_acquire_read(&sem->rw_sem.dep_map, 0, 0, _RET_IP_); >+ rwsem_acquire_read(&sem->dep_map, 0, 0, _RET_IP_);
Unrelated to this patch, but we also need a might_sleep() annotation in percpu_down_write().
Thanks, Davidlohr
|