The modification of PF_IDLE semantics lately to fix a bug in rcutiny eventually introduced new bugs in RCU-tasks. In this v2, this series propose to fix these issues without reverting: cff9b2332ab7 ("kernel/sched: Modify initial boot task idle setup") Frederic Weisbecker (4): rcu: Introduce rcu_cpu_online() rcu/tasks: Handle new PF_IDLE semantics rcu/tasks-trace: Handle new PF_IDLE semantics sched: Exclude CPU boot code from PF_IDLE area include/linux/sched.h | 2 +- kernel/cpu.c | 4 ++++ kernel/rcu/rcu.h | 2 ++ kernel/rcu/tasks.h | 33 ++++++++++++++++++++++++++++++--- kernel/rcu/tree.c | 7 +++++++ kernel/sched/idle.c | 1 - 6 files changed, 44 insertions(+), 5 deletions(-) -- 2.41.0