projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cd7271
)
idle: Remove stale RCU comment
author
Christian Loehle
<christian.loehle@arm.com>
Mon, 3 Jun 2024 15:30:39 +0000
(16:30 +0100)
committer
Peter Zijlstra
<peterz@infradead.org>
Wed, 5 Jun 2024 13:52:35 +0000
(15:52 +0200)
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
kernel/sched/idle.c
patch
|
blob
|
history
diff --git
a/kernel/sched/idle.c
b/kernel/sched/idle.c
index 770e6984f264a8923c04420c11a9eb6f1bea2a37..6e78d071beb58ad26665be2c87e46bc7bab061b4 100644
(file)
--- 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();