aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched
diff options
context:
space:
mode:
authorChristian Loehle <christian.loehle@arm.com>2024-06-03 16:30:39 +0100
committerPeter Zijlstra <peterz@infradead.org>2024-06-05 15:52:35 +0200
commit764d5fcc2a58d789629f6800451975fc93f25822 (patch)
treef3c61fafdeaca591207f24eb07eee27261fb5764 /kernel/sched
parent3cd7271987ffd89c2d5eaeea85d3e9a16aec6894 (diff)
idle: Remove stale RCU comment
The call of rcu_idle_enter() from within cpuidle_idle_call() was removed in commit 1098582a0f6c ("sched,idle,rcu: Push rcu_idle deeper into the idle path") which makes the comment out of place. Signed-off-by: Christian Loehle <christian.loehle@arm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/5b936388-47df-4050-9229-6617a6c2bba5@arm.com
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/idle.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c
index 770e6984f264..6e78d071beb5 100644
--- a/kernel/sched/idle.c
+++ b/kernel/sched/idle.c
@@ -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();