Skip to contentSkip to conversation

sched/fair: Remove stale buddies comment for last and skip

PATCH Superseded Bing Huang 2 participants 2 messages Jul 6, 2024 – Jul 9, 2024 Scheduler

lore
Share & tools
lore

Bing Huang

author
#0 lore raw

PATCH 1/1 sched/fair: Remove stale buddies comment for last and skip

From: Bing Huang <[email protected]>

commit 5e963f2bd465 ("sched/fair: Commit to EEVDF") has removed last and skip. Modify the comment accordingly.

---
 kernel/sched/fair.c | 2 --
 1 file changed, 2 deletions(-)
kernel/sched/fair.c +0 -2
index 41b58387023d..383582f87def 100644
@@ -5466,8 +5466,6 @@ set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
  * Pick the next process, keeping these things in mind, in this order:
  * 1) keep things fair between processes/task groups
  * 2) pick the "next" process, since someone really wants that to run
- * 3) pick the "last" process, for cache locality
- * 4) do not run the "skip" process, if something else is available
  */
 static struct sched_entity *
 pick_next_entity(struct cfs_rq *cfs_rq)
Signature · 1 line
2.25.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Bing Huang

From: Bing Huang <[email protected]>

commit 5e963f2bd465 ("sched/fair: Commit to EEVDF") has removed last and skip. Modify the comment accordingly.

Quoted 20 lines
---
 kernel/sched/fair.c | 2 --
 1 file changed, 2 deletions(-)
kernel/sched/fair.c +0 -3
index 41b58387023d..383582f87def 100644
@@ -5466,8 +5466,6 @@ set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
  * Pick the next process, keeping these things in mind, in this order:
  * 1) keep things fair between processes/task groups
  * 2) pick the "next" process, since someone really wants that to run
- * 3) pick the "last" process, for cache locality
- * 4) do not run the "skip" process, if something else is available
  */
 static struct sched_entity *
 pick_next_entity(struct cfs_rq *cfs_rq)
--

2.25.1