rcu: Fix PF_IDLE related issues, part. 1
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | softirq: Rename __raise_softirq_irqoff() to raise_softirq_no_wake()block/ include/ kernel/ +2 more | +11 | 0 replies | |
| 2/4 | softirq: Introduce raise_ksoftirqd_irqoff()include/ kernel/ | +43 | 0 replies | |
| 3/4 | rcu: Make tiny RCU use ksoftirqd to trigger a QS from idlekernel/ | +16 | 1 reply | |
| 4/4 | Revert "kernel/sched: Modify initial boot task idle setup"kernel/ kernel/ | +1 | 4 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Paul E. McKenney |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | R-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] rcu: Fix PF_IDLE related issues, part. 1
The modification of PF_IDLE semantics lately to fix a bug in rcutiny eventually introduced new bugs in RCU-tasks. This series revert that PF_IDLE modification and fix rcutiny in an alternate way.
More issues need to be fixed in RCU-tasks:
* The boot code preceding the idle entry is included in this quiescent state. Especially after the completion of kthreadd_done after which init/1 can launch userspace concurrently. The window is tiny before PF_IDLE is set but it exists.
* Similarly, the boot code preceding the idle entry on secondary CPUs is wrongly accounted as RCU tasks quiescent state.
And those will be fixed separetely.
Frederic Weisbecker (4):
softirq: Rename __raise_softirq_irqoff() to raise_softirq_no_wake()
softirq: Introduce raise_ksoftirqd_irqoff()
rcu: Make tiny RCU use ksoftirqd to trigger a QS from idle Revert "kernel/sched: Modify initial boot task idle setup"
block/blk-mq.c | 2 +- include/linux/interrupt.h | 3 ++- kernel/rcu/tiny.c | 21 +++++++++++++----- kernel/sched/core.c | 2 +- kernel/sched/idle.c | 1 - kernel/softirq.c | 45 +++++++++++++++++++++++++-------------- lib/irq_poll.c | 4 ++-- net/core/dev.c | 8 +++---- 8 files changed, 55 insertions(+), 31 deletions(-)
Signature · 1 line
2.34.1