[PATCH 0/2] sched: Introduce rcuwait

Davidlohr Bueso
2016-12-22T17:02:01Z

Hi,

Here's an updated version of the pcpu rwsem writer wait/wake changes
with the abstractions wanted by Oleg. Patch 1 adds rcuwait (for a lack
of better name), and patch 2 trivially makes use of it.

Has survived torture testing, which is actually very handy in this case
particularly dealing with equal amount of reader and writer threads.

Thanks.

Davidlohr Bueso (2):
sched: Introduce rcuwait machinery
locking/percpu-rwsem: Replace waitqueue with rcuwait

include/linux/percpu-rwsem.h | 8 +++---
include/linux/rcuwait.h | 63 +++++++++++++++++++++++++++++++++++++++++++
kernel/exit.c | 29 ++++++++++++++++++++
kernel/locking/percpu-rwsem.c | 7 +++--
4 files changed, 99 insertions(+), 8 deletions(-)
create mode 100644 include/linux/rcuwait.h

--
2.6.6