Skip to content

rcu: Fix some rcu uses in extended quiescent state

Frederic Weisbecker lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 15 repliesIn review
  2. v35 patches 1 replySuperseded
  3. v24 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches3 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7rcu: Fix preempt-unsafe debug check of rcu extended quiescent statekernel/rcutree.c+6 -49 replies
2/7rcu: Fix early call to rcu_enter_nohz() on tick stoppingkernel/time/tick-sched.c+18 -90 replies
3/7nohz: Separate out irq exit and idle loop dyntick logicarch/arm/kernel/process.c arch/avr32/kernel/process.c arch/blackfin/kernel/process.c +15 more+91 -710 replies
4/7nohz: Allow rcu extended quiescent state handling seperately from tick stoparch/arm/kernel/process.c arch/avr32/kernel/process.c arch/blackfin/kernel/process.c +14 more+45 -225 replies
5/7x86: Enter rcu extended qs after idle notifier callarch/x86/kernel/process_64.c+6 -10 replies
6/7x86: Call idle notifier after irq_enter()arch/x86/kernel/apic/apic.c arch/x86/kernel/apic/io_apic.c arch/x86/kernel/cpu/mcheck/mce.c +3 more+10 -100 replies
7/7rcu: Fix early call to rcu_irq_exit()kernel/softirq.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH 0/7 v4] rcu: Fix some rcu uses in extended quiescent state

Hi Paul,

Two fixes added in that set, the first two patches:

- The check on uses under extended quiescent states was buggy
- One more illegal use of RCU fixed, from inside tick_nohz_stop_sched_tick()

It has survived one day and one night of rcutorture in x86-64 with periodic cpu hotplug onlining/offlining...

No test in powerpc yet though... So I don't know yet why you got an rcutorture failure.

Frederic Weisbecker (7):
rcu: Fix preempt-unsafe debug check of rcu extended quiescent state
rcu: Fix early call to rcu_enter_nohz() on tick stopping
nohz: Separate out irq exit and idle loop dyntick logic
nohz: Allow rcu extended quiescent state handling seperately from
tick stop
x86: Enter rcu extended qs after idle notifier call
x86: Call idle notifier after irq_enter()
rcu: Fix early call to rcu_irq_exit()

 arch/arm/kernel/process.c                |    4 +-
 arch/avr32/kernel/process.c              |    4 +-
 arch/blackfin/kernel/process.c           |    4 +-
 arch/microblaze/kernel/process.c         |    4 +-
 arch/mips/kernel/process.c               |    4 +-
 arch/powerpc/kernel/idle.c               |    4 +-
 arch/powerpc/platforms/iseries/setup.c   |    8 +-
 arch/s390/kernel/process.c               |    4 +-
 arch/sh/kernel/idle.c                    |    4 +-
 arch/sparc/kernel/process_64.c           |    4 +-
 arch/tile/kernel/process.c               |    4 +-
 arch/um/kernel/process.c                 |    4 +-
 arch/unicore32/kernel/process.c          |    4 +-
 arch/x86/kernel/apic/apic.c              |    6 +-
 arch/x86/kernel/apic/io_apic.c           |    2 +-
 arch/x86/kernel/cpu/mcheck/mce.c         |    2 +-
 arch/x86/kernel/cpu/mcheck/therm_throt.c |    2 +-
 arch/x86/kernel/cpu/mcheck/threshold.c   |    2 +-
 arch/x86/kernel/irq.c                    |    6 +-
 arch/x86/kernel/process_32.c             |    4 +-
 arch/x86/kernel/process_64.c             |    9 ++-
 include/linux/tick.h                     |   12 ++-
 kernel/rcutree.c                         |   10 ++-
 kernel/softirq.c                         |    4 +-
 kernel/time/tick-sched.c                 |  120 +++++++++++++++++++++---------
 25 files changed, 147 insertions(+), 88 deletions(-)
Signature · 1 line
1.7.5.4