All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH tip/core/rcu 0/55] Preview of RCU changes for 3.2
@ 2011-09-06 18:00 Paul E. McKenney
  2011-09-06 17:59 ` [PATCH tip/core/rcu 01/55] rcu: Use kthread_create_on_node() Paul E. McKenney
                   ` (56 more replies)
  0 siblings, 57 replies; 101+ messages in thread
From: Paul E. McKenney @ 2011-09-06 18:00 UTC (permalink / raw)
  To: linux-kernel
  Cc: mingo, laijs, dipankar, akpm, mathieu.desnoyers, josh, niv, tglx,
	peterz, rostedt, Valdis.Kletnieks, dhowells, eric.dumazet,
	darren, patches

Hello!

This patchset adds RCU event tracing, improved diagnostics and
documentation, and fixes a number of bugs, including several from an
ongoing top-to-bottom inspection of RCU.  The patches are as follows:

1.	Place per-CPU kthreads' stack and task struct on the corresponding
	node on NUMA systems (courtesy of Eric Dumazet).
2.	Avoid unnecessary self-wakeups for per-CPU kthreads
	(courtesy of Shaohua Li).
3,6,10,12,25,28,33.
	Documentations updates (some courtesy Wanlong Gao).
4.	Add replacement checks for blocking within an RCU read-side
	critical section.
5.	Header-file untangling part 1 of N: move rcu_head to types.h.
7.	Fix mismatched variable declaration (courtesy of Andi Kleen).
8.	Abstract out common grace-period-primitive code.
9.	Update rcutorture to test newish RCU API members.
11.	Drive RCU algorithm selection directly from SMP and PREEMPT.
13.	Make rcu_torture_boost() wait for callbacks before telling
	debug-objects that they are done.
14-17,20,22.
	Add event tracing for RCU.
18.	Update comments to reflect kthreads being used only when
	RCU priority boosting is enabled.
19.	Move RCU_BOOSt data declarations to alow compiler to detect
	mismatches.
20.	Make TINY_RCU use softirqs for RCU_BOOST=n.
23.	Simplify quiescent-state accounting.
24.	Stop passing rcu_read_lock_held() to rcu_dereference_protected()
	(courtesy of Michal Hocko).
26.	Remove unused and redundant RCU API members.
27.	Allow rcutorture's stat_interval parameter to be changed at runtime
	to make it easier to test RCU in guest OSes.
28.	Removed unused nohz_cpu_mask (courtesy of Alex Shi).
30.	Eliminate in_irq() checks in rcu_enter_nohz().
31.	Fix rcu_implicit_dynticks_qs() local-variable size mismatches.
32.	Make rcu_assign_pointer() unconditionally emit memory barrier
	to silence new gcc warnings (courtesy of Eric Dumazet).
34.	Move __rcu_read_lock()'s barrier within if-statement.
35.	Dump local stack for CPU stall warnings if cannot dump all stacks.
36.	Prevent early-boot set_need_resched() from __rcu_pending().
37.	Simplify unboosting checks.
38.	Prohibit RCU grace periods during early boot.
39.	Suppress NMI backtraces when CPU stall ends before dump.
40.	Avoid just-online CPU needlessly rescheding itself.
41.	Permit rt_mutex_unlock() with irqs disabled.
42-43.	Prevent end-of-test rcutorture hangs.
44.	Wire up RCU_BOOST_PRIO, use conventional kthread naming scheme
	(courtesy of Mike Galbraith).
45.	Check for entering dyntick-idle in RCU read-side critical section.
46.	Adjust RCU_FAST_NO_HZ to avoid false quiescent states.
47.	Avoid concurrent end of old GP with start of new GP.
48.	Strengthen powerpc value-returning atomic memory ordering.
49-51.	Detect illegal RCU use from dyntick-idle mode (courtesy of
	Frederic Weisbecker).
52.	Remove an unnecessary layer of abstraction from PROVE_RCU checking.
53.	Detect illegal SRCU use from dyntick-idle mode.
54.	Make SRCU use common lockdep-splat code.
55.	Placeholder patch that disables illegal tracing from dyntick-idle
	mode (illegal because tracing uses RCU).

For a testing-only version of this patchset from git, please see the
following subject-to-rebase (and subject-to-Hera-availability) branch:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-2.6-rcu.git rcu/testing

							Thanx, Paul

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

 Documentation/RCU/NMI-RCU.txt           |    4 
 Documentation/RCU/lockdep.txt           |   24 +
 Documentation/RCU/torture.txt           |    3 
 Documentation/RCU/trace.txt             |   34 +-
 b/Documentation/RCU/NMI-RCU.txt         |    2 
 b/Documentation/RCU/lockdep-splat.txt   |  110 +++++++
 b/Documentation/RCU/lockdep.txt         |   10 
 b/Documentation/RCU/torture.txt         |  134 +++++++--
 b/Documentation/RCU/trace.txt           |    4 
 b/arch/powerpc/include/asm/synch.h      |    6 
 b/arch/powerpc/platforms/pseries/lpar.c |    6 
 b/include/linux/lockdep.h               |    2 
 b/include/linux/rcupdate.h              |   28 +
 b/include/linux/rcutiny.h               |   16 +
 b/include/linux/rcutree.h               |    2 
 b/include/linux/sched.h                 |    1 
 b/include/linux/srcu.h                  |   25 +
 b/include/linux/types.h                 |   10 
 b/include/trace/events/rcu.h            |   98 ++++++
 b/init/Kconfig                          |    6 
 b/kernel/lockdep.c                      |   84 +++--
 b/kernel/pid.c                          |    4 
 b/kernel/rcu.h                          |   79 +++++
 b/kernel/rcupdate.c                     |   21 +
 b/kernel/rcutiny.c                      |   28 -
 b/kernel/rcutiny_plugin.h               |   14 
 b/kernel/rcutorture.c                   |    5 
 b/kernel/rcutree.c                      |   22 -
 b/kernel/rcutree.h                      |    7 
 b/kernel/rcutree_plugin.h               |    5 
 b/kernel/rcutree_trace.c                |    2 
 b/kernel/rtmutex.c                      |    8 
 b/kernel/sched.c                        |    2 
 b/kernel/time/tick-sched.c              |    6 
 include/linux/rcupdate.h                |  420 ++++++++++++++---------------
 include/linux/rcutiny.h                 |    4 
 include/linux/sched.h                   |    3 
 include/linux/srcu.h                    |    5 
 include/trace/events/rcu.h              |  449 ++++++++++++++++++++++++++++----
 kernel/lockdep.c                        |   20 +
 kernel/rcu.h                            |   16 -
 kernel/rcupdate.c                       |   22 +
 kernel/rcutiny.c                        |  139 +++------
 kernel/rcutiny_plugin.h                 |  120 ++++++--
 kernel/rcutorture.c                     |   72 ++---
 kernel/rcutree.c                        |  313 +++++++++++++++-------
 kernel/rcutree.h                        |   10 
 kernel/rcutree_plugin.h                 |  150 +++++-----
 kernel/rcutree_trace.c                  |   13 
 kernel/sched.c                          |   11 
 50 files changed, 1761 insertions(+), 818 deletions(-)

^ permalink raw reply	[flat|nested] 101+ messages in thread

end of thread, other threads:[~2011-10-24 12:36 UTC | newest]

Thread overview: 101+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-06 18:00 [PATCH tip/core/rcu 0/55] Preview of RCU changes for 3.2 Paul E. McKenney
2011-09-06 17:59 ` [PATCH tip/core/rcu 01/55] rcu: Use kthread_create_on_node() Paul E. McKenney
2011-09-06 17:59 ` [PATCH tip/core/rcu 02/55] rcu: Avoid unnecessary self-wakeup of per-CPU kthreads Paul E. McKenney
2011-09-06 17:59 ` [PATCH tip/core/rcu 03/55] rcu: Update documentation to flag RCU_BOOST trace information Paul E. McKenney
2011-09-06 17:59 ` [PATCH tip/core/rcu 04/55] rcu: Restore checks for blocking in RCU read-side critical sections Paul E. McKenney
2011-09-06 17:59 ` [PATCH tip/core/rcu 05/55] rcu: Move rcu_head definition to types.h Paul E. McKenney
2011-09-07 18:31   ` Paul Gortmaker
2011-09-07 22:11     ` Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 06/55] rcu: Update rcutorture documentation Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 07/55] rcu: Fix mismatched variable in rcutree_trace.c Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 08/55] rcu: Abstract common code for RCU grace-period-wait primitives Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 09/55] rcu: Catch rcutorture up to new RCU API additions Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 10/55] rcu: Fix RCU's NMI documentation Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 11/55] rcu: Drive configuration directly from SMP and PREEMPT Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 12/55] rcu: Fix pathnames in documentation Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 13/55] rcu: Don't destroy rcu_torture_boost() callback until it is done Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 14/55] rcu: Add event-tracing for RCU callback invocation Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 15/55] rcu: Event-trace markers for computing RCU CPU utilization Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 16/55] rcu: Put names into TINY_RCU structures under RCU_TRACE Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 17/55] rcu: Add RCU type to callback-invocation tracing Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 18/55] rcu: Update comments to reflect softirqs vs. kthreads Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 19/55] rcu: Move RCU_BOOST declarations to allow compiler checking Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 20/55] rcu: Add event-trace markers to TREE_RCU kthreads Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 21/55] rcu: Make TINY_RCU also use softirq for RCU_BOOST=n Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 22/55] rcu: Add grace-period, quiescent-state, and call_rcu trace events Paul E. McKenney
2011-10-17  1:33   ` Josh Triplett
2011-10-24 12:02     ` Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 23/55] rcu: Simplify quiescent-state accounting Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 24/55] rcu: Not necessary to pass rcu_read_lock_held() to rcu_dereference_protected() Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 25/55] rcu: Update documentation for additional RCU lockdep functions Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 26/55] rcu: Remove unused and redundant interfaces Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 27/55] rcu: Allow rcutorture's stat_interval parameter to be changed at runtime Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 28/55] rcu: Document interpretation of RCU-lockdep splats Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 29/55] nohz: Remove nohz_cpu_mask Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 30/55] rcu: Eliminate in_irq() checks in rcu_enter_nohz() Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 31/55] rcu: Make rcu_implicit_dynticks_qs() locals be correct size Paul E. McKenney
2011-10-17  1:43   ` Josh Triplett
2011-10-24 12:00     ` Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 32/55] rcu: Make rcu_assign_pointer() unconditionally insert a memory barrier Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 33/55] rcu: Improve rcu_assign_pointer() and RCU_INIT_POINTER() documentation Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 34/55] rcu: Move __rcu_read_unlock()'s barrier() within if-statement Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 35/55] rcu: Dump local stack if cannot dump all CPUs' stacks Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 36/55] rcu: Prevent early boot set_need_resched() from __rcu_pending() Paul E. McKenney
2011-10-17  1:49   ` Josh Triplett
2011-10-24 12:07     ` Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 37/55] rcu: Simplify unboosting checks Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 38/55] rcu: Prohibit grace periods during early boot Paul E. McKenney
2011-10-17  1:51   ` Josh Triplett
2011-09-06 18:00 ` [PATCH tip/core/rcu 39/55] rcu: Suppress NMI backtraces when stall ends before dump Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 40/55] rcu: Avoid having just-onlined CPU resched itself when RCU is idle Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 41/55] rcu: Permit rt_mutex_unlock() with irqs disabled Paul E. McKenney
2011-09-18  4:09   ` Yong Zhang
2011-09-19  4:14     ` Paul E. McKenney
2011-09-19  5:49       ` Yong Zhang
2011-09-20 14:57         ` Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 42/55] rcu: Make rcu_torture_fqs() exit loops at end of test Paul E. McKenney
2011-10-17  1:53   ` Josh Triplett
2011-10-24 12:10     ` Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 43/55] rcu: Make rcu_torture_boost() " Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 44/55] rcu: wire up RCU_BOOST_PRIO for rcutree Paul E. McKenney
2011-09-13 12:02   ` Mike Galbraith
2011-09-13 15:34     ` Paul E. McKenney
2011-09-13 16:04       ` Mike Galbraith
2011-09-13 20:50         ` Paul E. McKenney
2011-10-17  1:55   ` Josh Triplett
2011-09-06 18:00 ` [PATCH tip/core/rcu 45/55] rcu: check for entering dyntick-idle mode while in read-side critical section Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 46/55] rcu: Remove rcu_needs_cpu_flush() to avoid false quiescent states Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 47/55] rcu: Move propagation of ->completed from rcu_start_gp() to rcu_report_qs_rsp() Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 48/55] powerpc: strengthen value-returning-atomics memory barriers Paul E. McKenney
2011-09-09 17:23   ` Olof Johansson
2011-09-09 17:23     ` Olof Johansson
2011-09-09 17:34     ` Paul E. McKenney
2011-09-09 17:34       ` Paul E. McKenney
2011-09-09 18:43       ` Olof Johansson
2011-09-09 18:43         ` Olof Johansson
2011-09-06 18:00 ` [PATCH tip/core/rcu 49/55] rcu: Detect illegal rcu dereference in extended quiescent state Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 50/55] rcu: Inform the user about dynticks-idle mode on PROVE_RCU warning Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 51/55] rcu: Warn when rcu_read_lock() is used in extended quiescent state Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 52/55] rcu: Remove one layer of abstraction from PROVE_RCU checking Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 53/55] rcu: Warn when srcu_read_lock() is used in an extended quiescent state Paul E. McKenney
2011-10-04 21:03   ` Frederic Weisbecker
2011-10-04 23:40     ` Paul E. McKenney
2011-10-04 23:42       ` Frederic Weisbecker
2011-09-06 18:00 ` [PATCH tip/core/rcu 54/55] rcu: Make srcu_read_lock_held() call common lockdep-enabled function Paul E. McKenney
2011-10-17  2:03   ` Josh Triplett
2011-10-24 12:34     ` Paul E. McKenney
2011-09-06 18:00 ` [PATCH tip/core/rcu 55/55] powerpc: Work around tracing from dyntick-idle mode Paul E. McKenney
2011-09-07 10:00   ` Benjamin Herrenschmidt
2011-09-07 13:44     ` Paul E. McKenney
2011-09-13 19:13       ` Frederic Weisbecker
2011-09-13 19:50         ` Paul E. McKenney
2011-09-13 20:49           ` Benjamin Herrenschmidt
2011-09-15 14:53             ` Frederic Weisbecker
2011-09-16 12:24             ` Frederic Weisbecker
2011-09-07 14:39 ` [PATCH tip/core/rcu 0/55] Preview of RCU changes for 3.2 Lin Ming
2011-09-08 17:41   ` Paul E. McKenney
2011-09-08 19:23     ` Thomas Gleixner
2011-09-08 20:48       ` Paul E. McKenney
2011-09-12 16:24         ` Paul E. McKenney
2011-10-17  2:06 ` Josh Triplett
2011-10-24 12:35   ` Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.