sched/headers: Remove comment referring to rq::cpu_load, since this has been removed
authorColin Ian King <colin.i.king@gmail.com>
Tue, 10 Oct 2023 15:57:44 +0000 (16:57 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Oct 2023 21:42:20 +0000 (23:42 +0200)
There is a comment that refers to cpu_load, however, this cpu_load was
removed with:

  55627e3cd22c ("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
kernel/sched/sched.h

index faf9031422e1ca8a6073746c0051f60b784be095..65cad0e5729e7451057181d022c746cc88ea22de 100644 (file)
@@ -948,10 +948,6 @@ struct rq {
        /* runqueue lock: */
        raw_spinlock_t          __lock;
 
-       /*
-        * nr_running and cpu_load should be in the same cacheline because
-        * remote CPUs use both these fields when doing load calculation.
-        */
        unsigned int            nr_running;
 #ifdef CONFIG_NUMA_BALANCING
        unsigned int            nr_numa_running;