Skip to contentSkip to conversation

sched/idle: Remove stale comments

PATCH New Kazuki H 1 participant 1 message Mar 16, 2023 Scheduler

lore
Share & tools
lore

Kazuki H

author
#0 lore raw

PATCH 1/3 sched/idle: Remove stale comments

rcu_idle_enter/exit() got removed in commit 1098582a0f6c ("sched,idle,rcu: Push rcu_idle deeper into the idle path"), so this comment is outdated. Remove it.

---
 kernel/sched/idle.c | 6 ------
 1 file changed, 6 deletions(-)
kernel/sched/idle.c +0 -6
index f26ab2675f7d..dbfc2eb5ccbd 100644
@@ -179,12 +179,6 @@ static void cpuidle_idle_call(void)
 		return;
 	}
 
-	/*
-	 * The RCU framework needs to be told that we are entering an idle
-	 * section, so no more rcu read side critical sections and one more
-	 * step to the grace period
-	 */
-
 	if (cpuidle_not_available(drv, dev)) {
 		tick_nohz_idle_stop_tick();
 
Signature · 1 line
2.40.0