Skip to content

Preview of additional RCU changes for 3.3

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9rcu: Permit RCU_FAST_NO_HZ to be used by TREE_PREEMPT_RCUinit/Kconfig+5 -50 replies
2/9rcu: Add rcutorture system-shutdown capabilityDocumentation/RCU/torture.txt kernel/rcutorture.c+63 -411 replies
3/9rcu: Control rcutorture startup from kernel boot parameterskernel/rcutorture.c+2 -03 replies
4/9sched: add is_idle_task() to handle invalidated uses of idle_cpu()include/linux/sched.h kernel/sched.c+10 -02 replies
5/9rcu: Make RCU use the new is_idle_task() APIkernel/rcutiny.c kernel/rcutree.c+4 -41 reply
6/9sparc: Make SPARC use the new is_idle_task() APIarch/sparc/kernel/setup_32.c+1 -11 reply
7/9kdb: Make KDB use the new is_idle_task() APIkernel/debug/kdb/kdb_support.c+1 -10 replies
8/9events: Make events use the new is_idle_task() APIkernel/events/core.c+1 -10 replies
9/9tile: Make tile use the new is_idle_task() APIarch/tile/mm/fault.c+2 -22 replies

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid S. MillerJosh TriplettChris Metcalf
SeriesR-b
1/9
2/9
3/9
4/9
5/9R-b
6/9A-b
7/9
8/9
9/9A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/9] Preview of additional RCU changes for 3.3

Hello!

This patchset is in addition to the set previously posted (see
https://lkml.org/lkml/2011/11/2/363). This new set permits the reworked RCU_FAST_NO_HZ code to be used from TREE_PREEMPT_RCU, allows rcutorture to shut down the system after a fixed time period (useful for KVM-based testing), adds an API to replace the "->pid == 0" discussed in response to the earlier patch set, and applies this API where applicable. The patches are as follows:

1. Update the RCU_FAST_NO_HZ config definition to allow it to
be used in TREE_PREEMPT_RCU builds, since that is now legal.
2. Add a module parameter that permit rcutorture to shut down the
system cleanly after the test has run for the specified time.
3. Add a module parameter to allow rcutorture start running
as soon as it is initialized.
4. Add is_idle_task() API to replace open-coded tests of ->pid
against zero.
5-9. Apply the new is_idle_task() API where it makes sense.

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

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

Thanx, Paul

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

 b/Documentation/RCU/torture.txt  |    5 +++
 b/arch/sparc/kernel/setup_32.c   |    2 -
 b/arch/tile/mm/fault.c           |    4 +-
 b/include/linux/sched.h          |    1 
 b/init/Kconfig                   |   10 +++---
 b/kernel/debug/kdb/kdb_support.c |    2 -
 b/kernel/events/core.c           |    2 -
 b/kernel/rcutiny.c               |    4 +-
 b/kernel/rcutorture.c            |   62 ++++++++++++++++++++++++++++++++++++---
 b/kernel/rcutree.c               |    4 +-
 b/kernel/sched.c                 |    9 +++++
 kernel/rcutorture.c              |    2 +
 12 files changed, 89 insertions(+), 18 deletions(-)