mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] sched/idle: Remove stale comments
@ 2023-03-16  7:47 Kazuki H
  2023-03-16  7:47 ` [PATCH 2/3] cpuidle: Don't pass any values to cpuidle_not_available Kazuki H
  2023-03-16  7:47 ` [PATCH 3/3] PM: s2idle: Fully block the system from entering s2idle when cpuidle isn't supported Kazuki H
  0 siblings, 2 replies; 5+ messages in thread
From: Kazuki H @ 2023-03-16  7:47 UTC (permalink / raw)
  To: linux-pm
  Cc: Hector Martin, Sven Peter, Kazuki H, Rafael J. Wysocki,
	Daniel Lezcano, Pavel Machek, Len Brown, Ingo Molnar,
	Peter Zijlstra, Juri Lelli, Vincent Guittot, Dietmar Eggemann,
	Steven Rostedt, Ben Segall, Mel Gorman,
	Daniel Bristot de Oliveira, Valentin Schneider, linux-kernel

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.

Signed-off-by: Kazuki H <kazukih0205@gmail.com>
---
 kernel/sched/idle.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c
index f26ab2675f7d..dbfc2eb5ccbd 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();
 
-- 
2.40.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-17 19:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-16  7:47 [PATCH 1/3] sched/idle: Remove stale comments Kazuki H
2023-03-16  7:47 ` [PATCH 2/3] cpuidle: Don't pass any values to cpuidle_not_available Kazuki H
2023-03-16  7:47 ` [PATCH 3/3] PM: s2idle: Fully block the system from entering s2idle when cpuidle isn't supported Kazuki H
2023-03-27 17:43   ` Rafael J. Wysocki
2023-04-17 19:09     ` Kazuki H

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®