sched/core: Remove unused rq::last_load_update_tick
authorVincent Donnefort <vincent.donnefort@arm.com>
Fri, 20 Mar 2020 13:21:35 +0000 (13:21 +0000)
committerIngo Molnar <mingo@kernel.org>
Wed, 8 Apr 2020 09:35:23 +0000 (11:35 +0200)
The following commit:

  5e83eafbfd3b ("sched/fair: Remove the rq->cpu_load[] update code")

eliminated the last use case for rq->last_load_update_tick, so remove
the field as well.

Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Vincent Donnefort <vincent.donnefort@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/1584710495-308969-1-git-send-email-vincent.donnefort@arm.com
kernel/sched/core.c
kernel/sched/sched.h

index c3d12e3762d4fe432f6aa83aae3ccb3f6b4ac56c..3a61a3b8eaa9e137d29106dd6ab0fffbbd826f02 100644 (file)
@@ -6694,7 +6694,6 @@ void __init sched_init(void)
 
                rq_attach_root(rq, &def_root_domain);
 #ifdef CONFIG_NO_HZ_COMMON
-               rq->last_load_update_tick = jiffies;
                rq->last_blocked_load_update_tick = jiffies;
                atomic_set(&rq->nohz_flags, 0);
 #endif
index cd008147eccb120c696106d5f2fdef78fe9c33d2..db3a57675ccf1d127399cbac8786e123b80cf27f 100644 (file)
@@ -888,7 +888,6 @@ struct rq {
 #endif
 #ifdef CONFIG_NO_HZ_COMMON
 #ifdef CONFIG_SMP
-       unsigned long           last_load_update_tick;
        unsigned long           last_blocked_load_update_tick;
        unsigned int            has_blocked_load;
 #endif /* CONFIG_SMP */