| commit | 3c969095a3ccb15ae1b654f33b3cd5e4ff3c622f | [log] [tgz] |
|---|---|---|
| author | Oleg Nesterov <oleg@redhat.com> | Fri Aug 21 19:43:03 2015 +0200 |
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Sat Aug 22 09:31:47 2015 -0700 |
| tree | bd3a4d00dc7225970335320c016e5c1ee5100505 | |
| parent | 55768680b0ace4a3ba6b9e55f2b04ae9442b1b7d [diff] |
percpu-rwsem: cleanup the lockdep annotations in percpu_down_read() Stolen from Peter's patch. Change percpu_down_read() to use __down_read(), this way we can do rwsem_acquire_read() unconditionally at the start to make this code more symmetric and clean. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>