mbox series

[0/2] Optimize synchronize_rcu_tasks_generic() on early booting

Message ID 20220712082606.3662616-1-qiang1.zhang@intel.com (mailing list archive)
Headers show
Series Optimize synchronize_rcu_tasks_generic() on early booting | expand

Message

Zqiang July 12, 2022, 8:26 a.m. UTC
This commit fix warning trigger when call synchronize_rcu_tasks_generic() on
early booting and make synchronize_rcu_tasks_generic() directly return when
the rcu_scheduler_active variable is RCU_SCHEDULER_INACTIVE.

Zqiang (2):
  rcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()
  rcu-tasks: Make synchronize_rcu_tasks_generic() no-ops on early
    booting

 kernel/rcu/tasks.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)