percpu-rwsem: introduce percpu_down_read_trylock()
authorOleg Nesterov <oleg@redhat.com>
Tue, 21 Jul 2015 15:45:57 +0000 (17:45 +0200)
committerOleg Nesterov <oleg@redhat.com>
Sat, 15 Aug 2015 11:52:10 +0000 (13:52 +0200)
commit9287f6925ad9d8fb8c6283066b4f77fd87f123a9
tree45da8cd0ac42defea9ca9e1efee0dc6daf4189b4
parent0e28e01f1e73015d8e1b8fa1cda071d0bd9a2600
percpu-rwsem: introduce percpu_down_read_trylock()

Add percpu_down_read_trylock(), it will have the user soon.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
include/linux/percpu-rwsem.h
kernel/locking/percpu-rwsem.c