Skip to contentSkip to conversation

RCU commits for 3.20

GIT PULL Paul E. McKenney 3 participants 12 messages Jan 20, 2015 – Feb 10, 2015

lore
Share & tools
lore
#0 lore raw

Hello, Ingo,

The changes in this series include:

1. Documentation updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/496.

2. Miscellaneous fixes. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/507.

3. Preemptible-RCU fixes, including fixing an old bug in the

	interaction of RCU priority boosting and CPU hotplug.  These were
	posted to LKML at https://lkml.org/lkml/2015/1/7/535.

4. SRCU updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/555.

5. RCU CPU stall-warning updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/565.

6. RCU torture-test updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/591.

These changes are available in the git repository at:

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

for you to fetch changes up to 78e691f4ae2d5edea0199ca802bb505b9cdced88:

Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD (2015-01-15 23:34:34 -0800)

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

Alexander Gordeev (1):
rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() from tiny RCU

Calvin Owens (1):
ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

David Hildenbrand (1):
hotplugcpu: Avoid deadlocks by waking active_writer

Davidlohr Bueso (1):
documentation: Fix smp typo in memory-barriers.txt

Lai Jiangshan (3):
tiny_rcu: Directly force QS when call_rcu_[bh|sched]() on idle_task
rcu: Remove "select IRQ_WORK" from config TREE_RCU
rcu: Revert "Allow post-unlock reference for rt_mutex" to avoid priority-inversion

Miroslav Benes (1):
rcu: Fix RCU CPU stall detection in tiny implementation

Paul E. McKenney (43):
rcu: Make rcu_nmi_enter() handle nesting
rcu: Fix invoke_rcu_callbacks() comment
compiler: Allow 1- and 2-byte smp_load_acquire() and smp_store_release()
rcu: Fix rcu_barrier() race that could result in too-short wait
rcu: Protect rcu_boost() lockless accesses with ACCESS_ONCE()
rcu: Rename "empty" to "empty_norm" in preparation for boost rework
rcu: Abstract rcu_cleanup_dead_rnp() from rcu_cleanup_dead_cpu()
rcu: Make rcu_read_unlock_special() propagate ->qsmaskinit bit clearing
rcu: Don't migrate blocked tasks even if all corresponding CPUs offline
rcu: Shorten irq-disable region in rcu_cleanup_dead_cpu()
rcu: Make use of rcu_preempt_has_tasks()
rcu: Don't spawn rcub kthreads on root rcu_node structure
rcu: Don't initiate RCU priority boosting on root rcu_node
rcu: Don't bother affinitying rcub kthreads away from offline CPUs
rcu: Note quiescent state when CPU goes offline
rcu: Don't scan root rcu_node structure for stalled tasks
rcu: Remove redundant callback-list initialization
rcu: Expand SRCU ->completed to 64 bits
rcu: Combine DEFINE_SRCU() and DEFINE_STATIC_SRCU()
rcu: Set default to RCU_CPU_STALL_INFO=y
rcutorture: Add checks for stall ending before dump start
rcu: Make RCU_CPU_STALL_INFO include number of fqs attempts
rcu: Improve diagnostics for spurious RCU CPU stall warnings
rcu: Handle gpnum/completed wrap while dyntick idle
documentation: Record limitations of bitfields and small variables
rcutorture: Issue warnings on close calls due to Reader Batch blows
rcu: Make _batches_completed() functions return unsigned long
rcutorture: Make build-output parsing correctly flag RCU's warnings
rcutorture: Use unsigned for Reader Batch computations
rcu: Provide rcu_batches_completed_sched() for TINY_RCU
rcutorture: Drop rcu_torture_completed() and friends
rcu: Remove redundant rcu_batches_completed() declaration
rcutorture: Check from beginning to end of grace period
rcutorture: Handle different mpstat versions
torture: Add "-enable-kvm -soundhw pcspk" to qemu command line
torture: Flag console.log file to prevent holdovers from earlier runs
rcutorture: Add more diagnostics in rcu_barrier() test failure case
ksoftirqd: Use new cond_resched_rcu_qs() function
rcu: Optionally run grace-period kthreads at real-time priority
rcu: Make cond_resched_rcu_qs() apply to normal RCU flavors
rcu: Add GP-kthread-starvation checks to CPU stall warnings
rcu: Initialize tiny RCU stall-warning timeouts at boot
Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD

Pranith Kumar (2):
rcupdate: Replace smp_read_barrier_depends() with lockless_dereference()
rcu: Make SRCU optional by using CONFIG_SRCU

Xie XiuQi (1):
documentation: Update sysfs path for rcu_cpu_stall_timeout

Ying Xue (1):
rculist: Fix sparse warning

 Documentation/RCU/stallwarn.txt                    |  16 +-
 Documentation/RCU/trace.txt                        |  32 +-
 Documentation/memory-barriers.txt                  |  46 ++-
 arch/arm/kvm/Kconfig                               |   1 +
 arch/arm64/kvm/Kconfig                             |   1 +
 arch/mips/kvm/Kconfig                              |   1 +
 arch/powerpc/kvm/Kconfig                           |   1 +
 arch/s390/kvm/Kconfig                              |   1 +
 arch/tile/kvm/Kconfig                              |   1 +
 arch/x86/Kconfig                                   |   1 +
 arch/x86/kvm/Kconfig                               |   1 +
 drivers/clk/Kconfig                                |   1 +
 drivers/cpufreq/Kconfig                            |   1 +
 drivers/devfreq/Kconfig                            |   1 +
 drivers/md/Kconfig                                 |   1 +
 drivers/net/Kconfig                                |   1 +
 fs/btrfs/Kconfig                                   |   1 +
 fs/notify/Kconfig                                  |   1 +
 fs/quota/Kconfig                                   |   1 +
 include/linux/compiler.h                           |   2 +-
 include/linux/rculist.h                            |  16 +-
 include/linux/rcupdate.h                           |  13 +-
 include/linux/rcutiny.h                            |  45 ++-
 include/linux/rcutree.h                            |  11 +-
 include/linux/srcu.h                               |  14 +-
 init/Kconfig                                       |  18 +-
 kernel/cpu.c                                       |  56 ++--
 kernel/notifier.c                                  |   3 +
 kernel/power/Kconfig                               |   1 +
 kernel/rcu/Makefile                                |   3 +-
 kernel/rcu/rcu.h                                   |   6 +
 kernel/rcu/rcutorture.c                            |  66 ++--
 kernel/rcu/srcu.c                                  |   2 +-
 kernel/rcu/tiny.c                                  | 113 +------
 kernel/rcu/tiny_plugin.h                           |   9 +-
 kernel/rcu/tree.c                                  | 355 +++++++++++++++------
 kernel/rcu/tree.h                                  |  62 +---
 kernel/rcu/tree_plugin.h                           | 271 +++++-----------
 kernel/rcu/tree_trace.c                            |   8 +-
 kernel/softirq.c                                   |   3 +-
 lib/Kconfig.debug                                  |   3 +-
 mm/Kconfig                                         |   1 +
 security/tomoyo/Kconfig                            |   1 +
 tools/testing/selftests/rcutorture/bin/cpus2use.sh |   2 +-
 .../selftests/rcutorture/bin/kvm-recheck-rcu.sh    |  18 ++
 .../selftests/rcutorture/bin/kvm-test-1-run.sh     |   9 +-
 .../selftests/rcutorture/bin/parse-build.sh        |  20 +-
 .../selftests/rcutorture/bin/parse-console.sh      |   2 +-
 48 files changed, 657 insertions(+), 586 deletions(-)
#1 lore raw
Quoted 149 lines · Paul E. McKenney

Hello, Ingo,

The changes in this series include:

1. Documentation updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/496.

2. Miscellaneous fixes. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/507.

3. Preemptible-RCU fixes, including fixing an old bug in the

	interaction of RCU priority boosting and CPU hotplug.  These were
	posted to LKML at https://lkml.org/lkml/2015/1/7/535.

4. SRCU updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/555.

5. RCU CPU stall-warning updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/565.

6. RCU torture-test updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/591.

These changes are available in the git repository at:

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

for you to fetch changes up to 78e691f4ae2d5edea0199ca802bb505b9cdced88:

Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD (2015-01-15 23:34:34 -0800)

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

Alexander Gordeev (1):
rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() from tiny RCU

Calvin Owens (1):
ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

David Hildenbrand (1):
hotplugcpu: Avoid deadlocks by waking active_writer

Davidlohr Bueso (1):
documentation: Fix smp typo in memory-barriers.txt

Lai Jiangshan (3):
tiny_rcu: Directly force QS when call_rcu_[bh|sched]() on idle_task
rcu: Remove "select IRQ_WORK" from config TREE_RCU
rcu: Revert "Allow post-unlock reference for rt_mutex" to avoid priority-inversion

Miroslav Benes (1):
rcu: Fix RCU CPU stall detection in tiny implementation

Paul E. McKenney (43):
rcu: Make rcu_nmi_enter() handle nesting
rcu: Fix invoke_rcu_callbacks() comment
compiler: Allow 1- and 2-byte smp_load_acquire() and smp_store_release()
rcu: Fix rcu_barrier() race that could result in too-short wait
rcu: Protect rcu_boost() lockless accesses with ACCESS_ONCE()
rcu: Rename "empty" to "empty_norm" in preparation for boost rework
rcu: Abstract rcu_cleanup_dead_rnp() from rcu_cleanup_dead_cpu()
rcu: Make rcu_read_unlock_special() propagate ->qsmaskinit bit clearing
rcu: Don't migrate blocked tasks even if all corresponding CPUs offline
rcu: Shorten irq-disable region in rcu_cleanup_dead_cpu()
rcu: Make use of rcu_preempt_has_tasks()
rcu: Don't spawn rcub kthreads on root rcu_node structure
rcu: Don't initiate RCU priority boosting on root rcu_node
rcu: Don't bother affinitying rcub kthreads away from offline CPUs
rcu: Note quiescent state when CPU goes offline
rcu: Don't scan root rcu_node structure for stalled tasks
rcu: Remove redundant callback-list initialization
rcu: Expand SRCU ->completed to 64 bits
rcu: Combine DEFINE_SRCU() and DEFINE_STATIC_SRCU()
rcu: Set default to RCU_CPU_STALL_INFO=y
rcutorture: Add checks for stall ending before dump start
rcu: Make RCU_CPU_STALL_INFO include number of fqs attempts
rcu: Improve diagnostics for spurious RCU CPU stall warnings
rcu: Handle gpnum/completed wrap while dyntick idle
documentation: Record limitations of bitfields and small variables
rcutorture: Issue warnings on close calls due to Reader Batch blows
rcu: Make _batches_completed() functions return unsigned long
rcutorture: Make build-output parsing correctly flag RCU's warnings
rcutorture: Use unsigned for Reader Batch computations
rcu: Provide rcu_batches_completed_sched() for TINY_RCU
rcutorture: Drop rcu_torture_completed() and friends
rcu: Remove redundant rcu_batches_completed() declaration
rcutorture: Check from beginning to end of grace period
rcutorture: Handle different mpstat versions
torture: Add "-enable-kvm -soundhw pcspk" to qemu command line
torture: Flag console.log file to prevent holdovers from earlier runs
rcutorture: Add more diagnostics in rcu_barrier() test failure case
ksoftirqd: Use new cond_resched_rcu_qs() function
rcu: Optionally run grace-period kthreads at real-time priority
rcu: Make cond_resched_rcu_qs() apply to normal RCU flavors
rcu: Add GP-kthread-starvation checks to CPU stall warnings
rcu: Initialize tiny RCU stall-warning timeouts at boot
Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD

Pranith Kumar (2):
rcupdate: Replace smp_read_barrier_depends() with lockless_dereference()
rcu: Make SRCU optional by using CONFIG_SRCU

Xie XiuQi (1):
documentation: Update sysfs path for rcu_cpu_stall_timeout

Ying Xue (1):
rculist: Fix sparse warning

 Documentation/RCU/stallwarn.txt                    |  16 +-
 Documentation/RCU/trace.txt                        |  32 +-
 Documentation/memory-barriers.txt                  |  46 ++-
 arch/arm/kvm/Kconfig                               |   1 +
 arch/arm64/kvm/Kconfig                             |   1 +
 arch/mips/kvm/Kconfig                              |   1 +
 arch/powerpc/kvm/Kconfig                           |   1 +
 arch/s390/kvm/Kconfig                              |   1 +
 arch/tile/kvm/Kconfig                              |   1 +
 arch/x86/Kconfig                                   |   1 +
 arch/x86/kvm/Kconfig                               |   1 +
 drivers/clk/Kconfig                                |   1 +
 drivers/cpufreq/Kconfig                            |   1 +
 drivers/devfreq/Kconfig                            |   1 +
 drivers/md/Kconfig                                 |   1 +
 drivers/net/Kconfig                                |   1 +
 fs/btrfs/Kconfig                                   |   1 +
 fs/notify/Kconfig                                  |   1 +
 fs/quota/Kconfig                                   |   1 +
 include/linux/compiler.h                           |   2 +-
 include/linux/rculist.h                            |  16 +-
 include/linux/rcupdate.h                           |  13 +-
 include/linux/rcutiny.h                            |  45 ++-
 include/linux/rcutree.h                            |  11 +-
 include/linux/srcu.h                               |  14 +-
 init/Kconfig                                       |  18 +-
 kernel/cpu.c                                       |  56 ++--
 kernel/notifier.c                                  |   3 +
 kernel/power/Kconfig                               |   1 +
 kernel/rcu/Makefile                                |   3 +-
 kernel/rcu/rcu.h                                   |   6 +
 kernel/rcu/rcutorture.c                            |  66 ++--
 kernel/rcu/srcu.c                                  |   2 +-
 kernel/rcu/tiny.c                                  | 113 +------
 kernel/rcu/tiny_plugin.h                           |   9 +-
 kernel/rcu/tree.c                                  | 355 +++++++++++++++------
 kernel/rcu/tree.h                                  |  62 +---
 kernel/rcu/tree_plugin.h                           | 271 +++++-----------
 kernel/rcu/tree_trace.c                            |   8 +-
 kernel/softirq.c                                   |   3 +-
 lib/Kconfig.debug                                  |   3 +-
Quoted 8 lines
 mm/Kconfig                                         |   1 +
 security/tomoyo/Kconfig                            |   1 +
 tools/testing/selftests/rcutorture/bin/cpus2use.sh |   2 +-
 .../selftests/rcutorture/bin/kvm-recheck-rcu.sh    |  18 ++
 .../selftests/rcutorture/bin/kvm-test-1-run.sh     |   9 +-
 .../selftests/rcutorture/bin/parse-build.sh        |  20 +-
 .../selftests/rcutorture/bin/parse-console.sh      |   2 +-
 48 files changed, 657 insertions(+), 586 deletions(-)

Pulled, thanks a lot Paul!

Ingo

#2 lore raw
Quoted 39 lines · Paul E. McKenney
Quoted 37 lines

Hello, Ingo,

The changes in this series include:

1. Documentation updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/496.

2. Miscellaneous fixes. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/507.

3. Preemptible-RCU fixes, including fixing an old bug in the

	interaction of RCU priority boosting and CPU hotplug.  These were
	posted to LKML at https://lkml.org/lkml/2015/1/7/535.

4. SRCU updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/555.

5. RCU CPU stall-warning updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/565.

6. RCU torture-test updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/591.

These changes are available in the git repository at:

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

for you to fetch changes up to 78e691f4ae2d5edea0199ca802bb505b9cdced88:

Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD (2015-01-15 23:34:34 -0800)

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

Alexander Gordeev (1):
rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() from tiny RCU

Quoted 6 lines
Quoted 6 lines

Calvin Owens (1):
ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

David Hildenbrand (1):
hotplugcpu: Avoid deadlocks by waking active_writer

Hi Ingo, Paul,

Heiko/Christian seem to have hit the bug (hotplugcpu: Avoid deadlocks by waking active_writer addresses) in 3.18-rc3.

And as commit b2c4623dcd07 was in linux starting with 3.18-rc3, we should probably (have done a) cc-stable.

David

#3 lore raw
Quoted 46 lines · David Hildenbrand
Quoted 39 lines · Paul E. McKenney
Quoted 37 lines

Hello, Ingo,

The changes in this series include:

1. Documentation updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/496.

2. Miscellaneous fixes. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/507.

3. Preemptible-RCU fixes, including fixing an old bug in the

	interaction of RCU priority boosting and CPU hotplug.  These were
	posted to LKML at https://lkml.org/lkml/2015/1/7/535.

4. SRCU updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/555.

5. RCU CPU stall-warning updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/565.

6. RCU torture-test updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/591.

These changes are available in the git repository at:

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

for you to fetch changes up to 78e691f4ae2d5edea0199ca802bb505b9cdced88:

Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD (2015-01-15 23:34:34 -0800)

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

Alexander Gordeev (1):
rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() from tiny RCU

Quoted 6 lines
Quoted 6 lines

Calvin Owens (1):
ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

David Hildenbrand (1):
hotplugcpu: Avoid deadlocks by waking active_writer

Quoted 7 lines

Hi Ingo, Paul,

Heiko/Christian seem to have hit the bug (hotplugcpu: Avoid deadlocks by waking active_writer addresses) in 3.18-rc3.

And as commit b2c4623dcd07 was in linux starting with 3.18-rc3, we should probably (have done a) cc-stable.

Good point, though appropriate RCU changes seem to make their way to -stable without explicit CCs. Maybe I should be doing them, but doing so in the past has normally gotten me complaints from the -stable maintainers.

Ingo, how would you like me to be handling this in the future?

Thanx, Paul

#4 lore raw
Quoted 55 lines · Paul E. McKenney
Quoted 46 lines · David Hildenbrand
Quoted 39 lines · Paul E. McKenney
Quoted 37 lines

Hello, Ingo,

The changes in this series include:

1. Documentation updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/496.

2. Miscellaneous fixes. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/507.

3. Preemptible-RCU fixes, including fixing an old bug in the

	interaction of RCU priority boosting and CPU hotplug.  These were
	posted to LKML at https://lkml.org/lkml/2015/1/7/535.

4. SRCU updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/555.

5. RCU CPU stall-warning updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/565.

6. RCU torture-test updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/591.

These changes are available in the git repository at:

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

for you to fetch changes up to 78e691f4ae2d5edea0199ca802bb505b9cdced88:

Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD (2015-01-15 23:34:34 -0800)

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

Alexander Gordeev (1):
rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() from tiny RCU

Quoted 6 lines
Quoted 6 lines

Calvin Owens (1):
ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

David Hildenbrand (1):
hotplugcpu: Avoid deadlocks by waking active_writer

Quoted 7 lines

Hi Ingo, Paul,

Heiko/Christian seem to have hit the bug (hotplugcpu: Avoid deadlocks by waking active_writer addresses) in 3.18-rc3.

And as commit b2c4623dcd07 was in linux starting with 3.18-rc3, we should probably (have done a) cc-stable.

Quoted 6 lines

Good point, though appropriate RCU changes seem to make their way to -stable without explicit CCs. Maybe I should be doing them, but doing so in the past has normally gotten me complaints from the -stable maintainers.

Ingo, how would you like me to be handling this in the future?

So if you put a Cc: stable tag into the commit then usually they get picked up automatically.

Just make sure you don't Cc: the stable team on patch submissions (which might or might not make it into Linus's tree), that's what will get complaints.

Does that work for you?

Thanks,

Ingo

#5 lore raw
Quoted 65 lines · Ingo Molnar
Quoted 55 lines · Paul E. McKenney
Quoted 46 lines · David Hildenbrand
Quoted 39 lines · Paul E. McKenney
Quoted 37 lines

Hello, Ingo,

The changes in this series include:

1. Documentation updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/496.

2. Miscellaneous fixes. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/507.

3. Preemptible-RCU fixes, including fixing an old bug in the

	interaction of RCU priority boosting and CPU hotplug.  These were
	posted to LKML at https://lkml.org/lkml/2015/1/7/535.

4. SRCU updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/555.

5. RCU CPU stall-warning updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/565.

6. RCU torture-test updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/591.

These changes are available in the git repository at:

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

for you to fetch changes up to 78e691f4ae2d5edea0199ca802bb505b9cdced88:

Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD (2015-01-15 23:34:34 -0800)

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

Alexander Gordeev (1):
rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() from tiny RCU

Quoted 6 lines
Quoted 6 lines

Calvin Owens (1):
ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

David Hildenbrand (1):
hotplugcpu: Avoid deadlocks by waking active_writer

Quoted 7 lines

Hi Ingo, Paul,

Heiko/Christian seem to have hit the bug (hotplugcpu: Avoid deadlocks by waking active_writer addresses) in 3.18-rc3.

And as commit b2c4623dcd07 was in linux starting with 3.18-rc3, we should probably (have done a) cc-stable.

Quoted 6 lines

Good point, though appropriate RCU changes seem to make their way to -stable without explicit CCs. Maybe I should be doing them, but doing so in the past has normally gotten me complaints from the -stable maintainers.

Ingo, how would you like me to be handling this in the future?

Quoted 8 lines

So if you put a Cc: stable tag into the commit then usually they get picked up automatically.

Just make sure you don't Cc: the stable team on patch submissions (which might or might not make it into Linus's tree), that's what will get complaints.

Does that work for you?

I will give it a spin. I thought that adding the "Cc: stable" tag to the commit log got me complaints when I later did git-format-patch and git-send-email, but perhaps I was confused or this has since changed.

Thanx, Paul

#6 lore raw
Quoted 73 lines · Paul E. McKenney
Quoted 72 lines · Ingo Molnar
Quoted 55 lines · Paul E. McKenney
Quoted 46 lines · David Hildenbrand
Quoted 39 lines · Paul E. McKenney
Quoted 37 lines

Hello, Ingo,

The changes in this series include:

1. Documentation updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/496.

2. Miscellaneous fixes. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/507.

3. Preemptible-RCU fixes, including fixing an old bug in the

	interaction of RCU priority boosting and CPU hotplug.  These were
	posted to LKML at https://lkml.org/lkml/2015/1/7/535.

4. SRCU updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/555.

5. RCU CPU stall-warning updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/565.

6. RCU torture-test updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/591.

These changes are available in the git repository at:

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

for you to fetch changes up to 78e691f4ae2d5edea0199ca802bb505b9cdced88:

Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD (2015-01-15 23:34:34 -0800)

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

Alexander Gordeev (1):
rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() from tiny RCU

Quoted 6 lines
Quoted 6 lines

Calvin Owens (1):
ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

David Hildenbrand (1):
hotplugcpu: Avoid deadlocks by waking active_writer

Quoted 7 lines

Hi Ingo, Paul,

Heiko/Christian seem to have hit the bug (hotplugcpu: Avoid deadlocks by waking active_writer addresses) in 3.18-rc3.

And as commit b2c4623dcd07 was in linux starting with 3.18-rc3, we should probably (have done a) cc-stable.

Quoted 6 lines

Good point, though appropriate RCU changes seem to make their way to -stable without explicit CCs. Maybe I should be doing them, but doing so in the past has normally gotten me complaints from the -stable maintainers.

Ingo, how would you like me to be handling this in the future?

So if you put a Cc: stable tag into the commit then usually they get picked up automatically.

Just make sure you don't Cc: the stable team on patch submissions (which might or might not make it into Linus's tree), that's what will get complaints.

Quoted 6 lines
Quoted 1 line

Does that work for you?

I will give it a spin. I thought that adding the "Cc:
stable" tag to the commit log got me complaints when I later did git-format-patch and git-send-email, but perhaps I was confused or this has since changed.

Yeah, I believe that will get you complaints, so you have to avoid sending those emails to -stable - but there's no restriction on what can be in the Cc: entries of the commit log itself.

Thanks,

Ingo

#7 lore raw
Quoted 83 lines · Ingo Molnar
Quoted 73 lines · Paul E. McKenney
Quoted 72 lines · Ingo Molnar
Quoted 55 lines · Paul E. McKenney
Quoted 46 lines · David Hildenbrand
Quoted 39 lines · Paul E. McKenney
Quoted 37 lines

Hello, Ingo,

The changes in this series include:

1. Documentation updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/496.

2. Miscellaneous fixes. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/507.

3. Preemptible-RCU fixes, including fixing an old bug in the

	interaction of RCU priority boosting and CPU hotplug.  These were
	posted to LKML at https://lkml.org/lkml/2015/1/7/535.

4. SRCU updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/555.

5. RCU CPU stall-warning updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/565.

6. RCU torture-test updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/591.

These changes are available in the git repository at:

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

for you to fetch changes up to 78e691f4ae2d5edea0199ca802bb505b9cdced88:

Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD (2015-01-15 23:34:34 -0800)

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

Alexander Gordeev (1):
rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() from tiny RCU

Quoted 6 lines
Quoted 6 lines

Calvin Owens (1):
ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

David Hildenbrand (1):
hotplugcpu: Avoid deadlocks by waking active_writer

Quoted 7 lines

Hi Ingo, Paul,

Heiko/Christian seem to have hit the bug (hotplugcpu: Avoid deadlocks by waking active_writer addresses) in 3.18-rc3.

And as commit b2c4623dcd07 was in linux starting with 3.18-rc3, we should probably (have done a) cc-stable.

Quoted 6 lines

Good point, though appropriate RCU changes seem to make their way to -stable without explicit CCs. Maybe I should be doing them, but doing so in the past has normally gotten me complaints from the -stable maintainers.

Ingo, how would you like me to be handling this in the future?

So if you put a Cc: stable tag into the commit then usually they get picked up automatically.

Just make sure you don't Cc: the stable team on patch submissions (which might or might not make it into Linus's tree), that's what will get complaints.

Quoted 6 lines
Quoted 1 line

Does that work for you?

I will give it a spin. I thought that adding the "Cc:
stable" tag to the commit log got me complaints when I later did git-format-patch and git-send-email, but perhaps I was confused or this has since changed.

Quoted 4 lines

Yeah, I believe that will get you complaints, so you have to avoid sending those emails to -stable - but there's no restriction on what can be in the Cc: entries of the commit log itself.

OK, so if I understand correctly, I need to add the Cc: stable tags after the last git-format-patch/git-send-email, but (of course) before the git-request-pull. Is that the trick?

Thanx, Paul

#8 lore raw
Quoted 89 lines · Paul E. McKenney
Quoted 83 lines · Ingo Molnar
Quoted 73 lines · Paul E. McKenney
Quoted 72 lines · Ingo Molnar
Quoted 55 lines · Paul E. McKenney
Quoted 46 lines · David Hildenbrand
Quoted 39 lines · Paul E. McKenney
Quoted 37 lines

Hello, Ingo,

The changes in this series include:

1. Documentation updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/496.

2. Miscellaneous fixes. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/507.

3. Preemptible-RCU fixes, including fixing an old bug in the

	interaction of RCU priority boosting and CPU hotplug.  These were
	posted to LKML at https://lkml.org/lkml/2015/1/7/535.

4. SRCU updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/555.

5. RCU CPU stall-warning updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/565.

6. RCU torture-test updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/591.

These changes are available in the git repository at:

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

for you to fetch changes up to 78e691f4ae2d5edea0199ca802bb505b9cdced88:

Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD (2015-01-15 23:34:34 -0800)

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

Alexander Gordeev (1):
rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() from tiny RCU

Quoted 6 lines
Quoted 6 lines

Calvin Owens (1):
ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

David Hildenbrand (1):
hotplugcpu: Avoid deadlocks by waking active_writer

Quoted 7 lines

Hi Ingo, Paul,

Heiko/Christian seem to have hit the bug (hotplugcpu: Avoid deadlocks by waking active_writer addresses) in 3.18-rc3.

And as commit b2c4623dcd07 was in linux starting with 3.18-rc3, we should probably (have done a) cc-stable.

Quoted 6 lines

Good point, though appropriate RCU changes seem to make their way to -stable without explicit CCs. Maybe I should be doing them, but doing so in the past has normally gotten me complaints from the -stable maintainers.

Ingo, how would you like me to be handling this in the future?

So if you put a Cc: stable tag into the commit then usually they get picked up automatically.

Just make sure you don't Cc: the stable team on patch submissions (which might or might not make it into Linus's tree), that's what will get complaints.

Quoted 6 lines
Quoted 1 line

Does that work for you?

I will give it a spin. I thought that adding the "Cc:
stable" tag to the commit log got me complaints when I later did git-format-patch and git-send-email, but perhaps I was confused or this has since changed.

Quoted 4 lines

Yeah, I believe that will get you complaints, so you have to avoid sending those emails to -stable - but there's no restriction on what can be in the Cc: entries of the commit log itself.

Quoted 4 lines

OK, so if I understand correctly, I need to add the Cc:
stable tags after the last git-format-patch/git-send-email, but (of course) before the git-request-pull. Is that the trick?

So I'd try to avoid the unnecessary rebase: teach git-send-email to not Cc: to -stable, even though it's in the Cc: list? Not sure how that's done though.

Thanks,

Ingo

#9 lore raw
Quoted 92 lines · Ingo Molnar
Quoted 89 lines · Paul E. McKenney
Quoted 87 lines · Ingo Molnar
Quoted 73 lines · Paul E. McKenney
Quoted 72 lines · Ingo Molnar
Quoted 55 lines · Paul E. McKenney
Quoted 46 lines · David Hildenbrand
Quoted 39 lines · Paul E. McKenney
Quoted 37 lines

Hello, Ingo,

The changes in this series include:

1. Documentation updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/496.

2. Miscellaneous fixes. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/507.

3. Preemptible-RCU fixes, including fixing an old bug in the

	interaction of RCU priority boosting and CPU hotplug.  These were
	posted to LKML at https://lkml.org/lkml/2015/1/7/535.

4. SRCU updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/555.

5. RCU CPU stall-warning updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/565.

6. RCU torture-test updates. These were posted to LKML at

	https://lkml.org/lkml/2015/1/7/591.

These changes are available in the git repository at:

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

for you to fetch changes up to 78e691f4ae2d5edea0199ca802bb505b9cdced88:

Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD (2015-01-15 23:34:34 -0800)

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

Alexander Gordeev (1):
rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() from tiny RCU

Quoted 6 lines
Quoted 6 lines

Calvin Owens (1):
ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

David Hildenbrand (1):
hotplugcpu: Avoid deadlocks by waking active_writer

Quoted 7 lines

Hi Ingo, Paul,

Heiko/Christian seem to have hit the bug (hotplugcpu: Avoid deadlocks by waking active_writer addresses) in 3.18-rc3.

And as commit b2c4623dcd07 was in linux starting with 3.18-rc3, we should probably (have done a) cc-stable.

Quoted 6 lines

Good point, though appropriate RCU changes seem to make their way to -stable without explicit CCs. Maybe I should be doing them, but doing so in the past has normally gotten me complaints from the -stable maintainers.

Ingo, how would you like me to be handling this in the future?

So if you put a Cc: stable tag into the commit then usually they get picked up automatically.

Just make sure you don't Cc: the stable team on patch submissions (which might or might not make it into Linus's tree), that's what will get complaints.

Quoted 6 lines
Quoted 1 line

Does that work for you?

I will give it a spin. I thought that adding the "Cc:
stable" tag to the commit log got me complaints when I later did git-format-patch and git-send-email, but perhaps I was confused or this has since changed.

Yeah, I believe that will get you complaints, so you have to avoid sending those emails to -stable - but there's no restriction on what can be in the Cc: entries of the commit log itself.

Quoted 8 lines
Quoted 4 lines

OK, so if I understand correctly, I need to add the Cc:
stable tags after the last git-format-patch/git-send-email, but (of course) before the git-request-pull. Is that the trick?

So I'd try to avoid the unnecessary rebase: teach git-send-email to not Cc: to -stable, even though it's in the Cc: list? Not sure how that's done though.

I couldn't find anything in the documentation, so I sent an email to [email protected] pleading for help. ;-)

Thanx, Paul

#10 lore raw
In reply to Ingo Molnar
Quoted 9 lines
Quoted 4 lines

OK, so if I understand correctly, I need to add the Cc:
stable tags after the last git-format-patch/git-send-email, but (of course) before the git-request-pull. Is that the trick?

So I'd try to avoid the unnecessary rebase: teach git-send-email to not Cc: to -stable, even though it's in the Cc: list? Not sure how that's done though.

[email protected] ?

or as an alternative

--suppress-cc=bodycc

Maybe that's what you're looking for.

David

#11 lore raw
Quoted 10 lines · David Hildenbrand
Quoted 9 lines
Quoted 4 lines

OK, so if I understand correctly, I need to add the Cc:
stable tags after the last git-format-patch/git-send-email, but (of course) before the git-request-pull. Is that the trick?

So I'd try to avoid the unnecessary rebase: teach git-send-email to not Cc: to -stable, even though it's in the Cc: list? Not sure how that's done though.

Quoted 7 lines

[email protected] ?

or as an alternative

--suppress-cc=bodycc

Maybe that's what you're looking for.

It wasn't obvious from the documentation that placing the email address in "[email protected]" would work. However, Greg KH says that it is OK to Cc stable -- apparently the gripe-mail I got some time back when doing this was an anomaly.

Thanx, Paul