[PATCH-tip v2 0/2] locking/qrwlock: Improve qrwlock performance

From: Waiman Long
Date: Thu Jul 09 2015 - 12:32:56 EST


v1->v2:
- Take out patch 1 which had been merged to tip.
- Take out patch 4 as the change may impact light load performance
- Rebased to the latest tip branch

In converting some existing spinlocks to rwlock, it was found that
the write lock slowpath performance isn't as good as the qspinlock.
This patch series tries to improve qrwlock performance to close the
gap between qspinlock and qrwlock.

With this patch series in place, we can start converting some spinlocks
back to rwlocks where it makes sense and the lock size increase isn't
a concern.

Waiman Long (2):
locking/qrwlock: Reduce reader/writer to reader lock transfer latency
locking/qrwlock: Reduce writer to writer lock transfer latency

kernel/locking/qrwlock.c | 32 +++++++++++++++++---------------
1 files changed, 17 insertions(+), 15 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/