Skip to content

RFC Optimize percpu-rwsem

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5rcu: Create rcu_sync infrastructureinclude/linux/rcusync.h kernel/rcu/Makefile kernel/rcu/sync.c+173 -14 replies
2/5rcusync: Introduce struct rcu_sync_opsinclude/linux/rcusync.h kernel/rcu/sync.c+45 -580 replies
3/5rcusync: Add the CONFIG_PROVE_RCU checksinclude/linux/rcusync.h kernel/rcu/sync.c+27 -00 replies
4/5rcusync: Introduce rcu_sync_dtor()include/linux/rcusync.h kernel/rcu/sync.c+23 -00 replies
5/5percpu-rwsem: Optimize readers and reduce global impactinclude/linux/percpu-rwsem.h kernel/locking/percpu-rwsem.c+176 -12410 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchPaul E. McKenneyOleg Nesterov
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH 0/5] Optimize percpu-rwsem

Hi all,

This is a derived work of the cpu hotplug lock rework I did in 2013 which never really went anywhere because Linus didn't like it.

This applies those same optimizations to the percpu-rwsem. Seeing how we did all the work it seemed a waste to not use it at all.