Skip to content

locking/rwsem: Rwsem rearchitecture part 2 follow-up patches

Waiman Long lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2locking/rwsem: Clarify usage of owner's nonspinaable bitinclude/linux/rwsem.h kernel/locking/rwsem.c+74 -510 replies
2/2locking/rwsem: Adaptive disabling of reader optimistic spinningkernel/locking/lock_events_list.h kernel/locking/rwsem.c+57 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH-tip 0/2] locking/rwsem: Rwsem rearchitecture part 2 follow-up patches

This series contain 2 follow-up patches to alleviate the performance regression found in the page_fault1 test of the will-it-scale benchmark. This does not recover all the lost performance, but reclaim a sizeable portion of it.

The regression was found on an Intel system. I have run the test on an AMD system. The regression wasn't seen there. There are only minor variations in performance. Perhaps the page fault path is quite different between Intel and AMD systems.

Waiman Long (2):
locking/rwsem: Clarify usage of owner's nonspinaable bit locking/rwsem: Adaptive disabling of reader optimistic spinning

 include/linux/rwsem.h             |   2 +-
 kernel/locking/lock_events_list.h |   9 +-
 kernel/locking/rwsem.c            | 178 +++++++++++++++++++++---------
 3 files changed, 131 insertions(+), 58 deletions(-)
Signature · 1 line
2.18.1