Skip to content

percpu-rwsem patches for 4.4

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13locktorture: Support rtmutex torturingDocumentation/locking/locktorture.txt kernel/locking/locktorture.c tools/testing/selftests/rcutorture/configs/lock/CFLIST +2 more+124 -30 replies
2/13locking/percpu-rwsem: Export symbols for locktorturekernel/locking/percpu-rwsem.c+5 -00 replies
3/13locktorture: Add torture tests for percpu_rwsemkernel/locking/locktorture.c tools/testing/selftests/rcutorture/configs/lock/CFLIST tools/testing/selftests/rcutorture/configs/lock/LOCK06 +1 more+52 -00 replies
4/13torture: Consolidate cond_resched_rcu_qs() into stutter_wait()kernel/rcu/rcutorture.c kernel/torture.c+1 -20 replies
5/13rcu: Create rcu_sync infrastructureinclude/linux/rcu_sync.h kernel/rcu/Makefile kernel/rcu/sync.c+270 -10 replies
6/13rcu_sync: Simplify rcu_sync using new rcu_sync_ops structureinclude/linux/rcu_sync.h kernel/rcu/sync.c+45 -570 replies
7/13rcu_sync: Add CONFIG_PROVE_RCU checksinclude/linux/rcu_sync.h kernel/rcu/sync.c+26 -00 replies
8/13rcu_sync: Introduce rcu_sync_dtor()include/linux/rcu_sync.h kernel/rcu/sync.c+27 -00 replies
9/13locking/percpu-rwsem: Make percpu_free_rwsem() after kzalloc() safekernel/locking/percpu-rwsem.c+7 -00 replies
10/13locking/percpu-rwsem: Make use of the rcu_sync infrastructureinclude/linux/percpu-rwsem.h kernel/locking/percpu-rwsem.c+9 -120 replies
11/13locking/percpu-rwsem: Fix the comments outdated by rcu_synckernel/locking/percpu-rwsem.c+11 -390 replies
12/13locking/percpu-rwsem: Clean up the lockdep annotations in percpu_down_read()kernel/locking/percpu-rwsem.c+5 -50 replies
13/13rcu_sync: Cleanup the CONFIG_PROVE_RCU checksinclude/linux/rcu_sync.h kernel/rcu/sync.c+6 -70 replies

Reviews trailers per patch

None of the 13 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosh Triplett
SeriesR-b
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13
10/13
11/13
12/13
13/13

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

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/13] percpu-rwsem patches for 4.4

Hello!

This series contains performance improvements and locktorture testing for percpu-rwsem:

1. Add rtmutex torturing to locktorture, courtesy of Davidlohr Bueso.

2. Add exports to allow locktorture to be built as a module.

3. Add torture tests for percpu-rwsem.

4. Consolidate cond_resched_rcu_qs() into stutter_wait().

5. Create rcu_sync infrastructure, courtesy of Oleg Nesterov.

6. Simplify rcu_sync using new rcu_sync_ops structure, courtesy
of Oleg Nesterov.

7. Add CONFIG_PROVE_RCU checks for rcu_sync, courtesy of Oleg Nesterov.

8. Introduce rcu_sync_dtor(), courtesy of Oleg Nesterov.

9. Make percpu_free_rwsem() after kzalloc() safe, courtesy of Oleg
Nesterov.

10. Make percpu-rwsem make use of rcu_sync, courtesy of Oleg Nesterov.

11. Fix the comments outdated by rcu_sync, courtesy of Oleg Nesterov.

12. Clean up the lockdep annotations in percpu_down_read(), courtesy
Peter Zijlstra and of Oleg Nesterov.

13. Cleanup the CONFIG_PROVE_RCU checks, courtesy of Oleg Nesterov.

Thanx, Paul

------------------------------------------------------------------------

 b/Documentation/locking/locktorture.txt                       |    3 
 b/include/linux/percpu-rwsem.h                                |    3 
 b/include/linux/rcu_sync.h                                    |  168 ++++--
 b/kernel/locking/locktorture.c                                |  158 +++++
 b/kernel/locking/percpu-rwsem.c                               |   90 +--
 b/kernel/rcu/Makefile                                         |    2 
 b/kernel/rcu/rcutorture.c                                     |    2 
 b/kernel/rcu/sync.c                                           |  269 +++++++++-
 b/kernel/torture.c                                            |    1 
 b/tools/testing/selftests/rcutorture/configs/lock/CFLIST      |    4 
 b/tools/testing/selftests/rcutorture/configs/lock/LOCK05      |    6 
 b/tools/testing/selftests/rcutorture/configs/lock/LOCK05.boot |    1 
 b/tools/testing/selftests/rcutorture/configs/lock/LOCK06      |    6 
 b/tools/testing/selftests/rcutorture/configs/lock/LOCK06.boot |    1 
 14 files changed, 588 insertions(+), 126 deletions(-)