summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2015-07-21 20:26:44 +0200
committerOleg Nesterov <oleg@redhat.com>2015-08-15 13:52:10 +0200
commit55cc156505f2e43fa45dbd4bfe8f9c9d848ca44c (patch)
tree18e5e34c2621de27c4833d834e05213c46587478 /lib
parent9287f6925ad9d8fb8c6283066b4f77fd87f123a9 (diff)
percpu-rwsem: introduce percpu_rwsem_release() and percpu_rwsem_acquire()
Add percpu_rwsem_release() and percpu_rwsem_acquire() for the users which need to return to userspace with percpu-rwsem lock held and/or pass the ownership to another thread. TODO: change percpu_rwsem_release() to use rwsem_clear_owner(). We can either fold kernel/locking/rwsem.h into include/linux/rwsem.h, or add the non-inline percpu_rwsem_clear_owner(). Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions