[PATCH 0/2] Modify RCU Tasks to scan idle tasks
From: neeraj . upadhyay
Date: Wed Aug 07 2024 - 12:35:24 EST
From: Neeraj Upadhyay <neeraj.upadhyay@xxxxxxxxxx>
Architectures for which all deep-idle and entry-exit functions are
marked noinstr, synchronize_rcu_tasks_rude() is not required. However,
disabling synchronize_rcu_tasks_rude() for such architectures require
RCU-tasks to pay attention to idle tasks until they enter the context
where RCU is not watching. In addition, NMI context need to track RCU-tasks
entry/exit for NO_HZ_FULL CPUs. This series adds changes for both of
these requirements.
The series is available in git tree at:
https://git.kernel.org/pub/scm/linux/kernel/git/neeraj.upadhyay/linux-rcu.git/log/?h=rcu-tasks-watch-idle.07.08.24a
- Neeraj
Neeraj Upadhyay (2):
rcu-tasks: Make RCU-Tasks pay attention to idle tasks
context_tracking: Invoke Tasks-RCU enter/exit for NMI context
.../RCU/Design/Requirements/Requirements.rst | 12 +-
kernel/context_tracking.c | 6 +-
kernel/rcu/rcu.h | 4 +
kernel/rcu/tasks.h | 107 ++++++++++++------
kernel/rcu/tree.c | 12 +-
kernel/rcu/tree_exp.h | 2 +-
6 files changed, 91 insertions(+), 52 deletions(-)
--
2.40.1