Skip to content

Commit b19fdb1

Browse files
ColinIanKingingomolnar
authored andcommitted
sched/headers: Remove comment referring to rq::cpu_load, since this has been removed
There is a comment that refers to cpu_load, however, this cpu_load was removed with: 55627e3 ("sched/core: Remove rq->cpu_load[]") ... back in 2019. The comment does not make sense with respect to this removed array, so remove the comment. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20231010155744.1381065-1-colin.i.king@gmail.com
1 parent f169c62 commit b19fdb1

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

kernel/sched/sched.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -948,10 +948,6 @@ struct rq {
948948
/* runqueue lock: */
949949
raw_spinlock_t __lock;
950950

951-
/*
952-
* nr_running and cpu_load should be in the same cacheline because
953-
* remote CPUs use both these fields when doing load calculation.
954-
*/
955951
unsigned int nr_running;
956952
#ifdef CONFIG_NUMA_BALANCING
957953
unsigned int nr_numa_running;

0 commit comments

Comments
 (0)