[PATCH -tip 0/3] locking/percpu-rwsem: writer-side optimizations

From: Davidlohr Bueso
Date: Fri Nov 18 2016 - 13:55:36 EST


Hi,

Here are two updates intended for those rare updater cases.

wrt numbers, I'm still trying to figure out this android boot environment
(that calls cgroup_proc_write ipc paths) which might care about these
changes. In the mean time, I'd like to know if anyone has any objections
to these optimizations.

Passed kernel builds with lockdep, as well as an overnight run doing
locktoture.

Thanks.

Davidlohr Bueso (3):
locking/percpu-rwsem: Move text file into Documentation/locking/
locking/percpu-rwsem: Replace bulky wait-queues with swait
locking/percpu-rwsem: Avoid unnecessary writer wakeups

Documentation/locking/percpu-rw-semaphore.txt | 27 ++++++++++
Documentation/percpu-rw-semaphore.txt | 27 ----------
include/linux/percpu-rwsem.h | 6 +--
kernel/locking/percpu-rwsem.c | 78 +++++++++++++++------------
4 files changed, 73 insertions(+), 65 deletions(-)
create mode 100644 Documentation/locking/percpu-rw-semaphore.txt
delete mode 100644 Documentation/percpu-rw-semaphore.txt

--
2.6.6