Skip to content

Miscellaneous fixes for 3.19

Paul E. McKenney dm-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9rcu: Remove CONFIG_RCU_CPU_STALL_VERBOSEDocumentation/RCU/stallwarn.txt kernel/rcu/tree_plugin.h lib/Kconfig.debug +12 more+1 -440 replies
2/9compiler: Allow 1- and 2-byte smp_load_acquire() and smp_store_release()include/linux/compiler.h+1 -10 replies
3/9drivers/md: Use rcu_dereference() for accessing rcu pointerdrivers/md/dm.c+4 -411 replies
4/9dm: sparse: Annotate field with __rcu for checkingdrivers/md/dm.c+1 -10 replies
5/9rcu: Add sparse check for RCU_INIT_POINTER()include/linux/rcupdate.h+1 -00 replies
6/9rcu: Optimize cond_resched_rcu_qs()include/linux/rcupdate.h+2 -20 replies
7/9rcu: More info about potential deadlocks with rcu_read_unlock()include/linux/rcupdate.h+3 -10 replies
8/9rcu: Fix FIXME in rcu_tasks_kthread()kernel/rcu/update.c+2 -10 replies
9/9rcu: Provide counterpart to rcu_dereference() for non-RCU situationsinclude/linux/rcupdate.h+15 -04 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/core/rcu 0/9] Miscellaneous fixes for 3.19

Hello!

This series provides miscellaneous fixes:

1. Removes the CONFIG_RCU_CPU_STALL_VERBOSE, so that RCU CPU stall
warnings are henceforth unconditionally verbose. (Another RCU Kconfig variable bites the dust!)

2. Allow 1- and 2-byte smp_load_acquire() and smp_store_release().
This has the side effect of removing support for pre-EV56 Alpha CPUs, and the official Alpha maintainers have thus far been silent on this issue.

3. Use rcu_dereference() for accessing struct mapped_device,
courtesy of Pranith Kumar.

4. Annotate the dm_table's ->map field with __rcu, courtesy of
Pranith Kumar.

5. Add sparse checking for use of RCU_INIT_POINTER() on a non-__rcu
pointer, courtesy of Pranith Kumar.

6. Prevent cond_resched_rcu_qs() from doing gratuitous call to
rcu_note_voluntary_context_switch().

7. Update the list of rcu_read_unlock() potential deadlocks, courtesy
of Oleg Nesterov.

8. Bind rcu_tasks_kthread() to housekeeping CPUs in CONFIG_NO_HZ_FULL
builds.

9. Provide lockless_dereference() for times when you want
rcu_dereference(), but without the sparse and lockdep-RCU noise.

Thanx, Paul

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

 b/Documentation/RCU/stallwarn.txt                             |    6 --
 b/drivers/md/dm.c                                             |   10 ++--
 b/include/linux/compiler.h                                    |    2 
 b/include/linux/rcupdate.h                                    |   24 ++++++++--
 b/kernel/rcu/tree_plugin.h                                    |   13 -----
 b/kernel/rcu/update.c                                         |    3 -
 b/lib/Kconfig.debug                                           |   12 -----
 b/tools/testing/selftests/rcutorture/configs/rcu/TREE01       |    1 
 b/tools/testing/selftests/rcutorture/configs/rcu/TREE02       |    1 
 b/tools/testing/selftests/rcutorture/configs/rcu/TREE02-T     |    1 
 b/tools/testing/selftests/rcutorture/configs/rcu/TREE03       |    1 
 b/tools/testing/selftests/rcutorture/configs/rcu/TREE04       |    1 
 b/tools/testing/selftests/rcutorture/configs/rcu/TREE05       |    1 
 b/tools/testing/selftests/rcutorture/configs/rcu/TREE06       |    1 
 b/tools/testing/selftests/rcutorture/configs/rcu/TREE07       |    1 
 b/tools/testing/selftests/rcutorture/configs/rcu/TREE08       |    1 
 b/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T     |    1 
 b/tools/testing/selftests/rcutorture/configs/rcu/TREE09       |    1 
 b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt |    3 -
 19 files changed, 30 insertions(+), 54 deletions(-)