[PATCH v4 0/2] locking/qrwlock: More optimizations in qrwlock

Waiman Long
2015-06-18T02:20:51Z

v3->v4:
- Remove the unnecessary _QW_WMASK check in
queue_read_lock_slowpath().

v2->v3:
- Fix incorrect commit log message in patch 1.

v1->v2:
- Add microbenchmark data for the second patch

This patch set contains 2 patches on qrwlock. The first one is to
optimize the interrupt context reader slowpath. The second one is
to optimize the writer slowpath.

Waiman Long (2):
locking/qrwlock: Better optimization for interrupt context readers
locking/qrwlock: Don't contend with readers when setting _QW_WAITING

include/asm-generic/qrwlock.h | 4 ++--
kernel/locking/qrwlock.c | 41 +++++++++++++++++++++++++++++++----------
2 files changed, 33 insertions(+), 12 deletions(-)