Skip to content

Commit 275b2f6

Browse files
Vincent DonnefortIngo Molnar
authored andcommitted
sched/core: Remove unused rq::last_load_update_tick
The following commit: 5e83eaf ("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 <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Signed-off-by: Vincent Donnefort <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 62849a9 commit 275b2f6

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

kernel/sched/core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6694,7 +6694,6 @@ void __init sched_init(void)
66946694

66956695
rq_attach_root(rq, &def_root_domain);
66966696
#ifdef CONFIG_NO_HZ_COMMON
6697-
rq->last_load_update_tick = jiffies;
66986697
rq->last_blocked_load_update_tick = jiffies;
66996698
atomic_set(&rq->nohz_flags, 0);
67006699
#endif

kernel/sched/sched.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,6 @@ struct rq {
888888
#endif
889889
#ifdef CONFIG_NO_HZ_COMMON
890890
#ifdef CONFIG_SMP
891-
unsigned long last_load_update_tick;
892891
unsigned long last_blocked_load_update_tick;
893892
unsigned int has_blocked_load;
894893
#endif /* CONFIG_SMP */

0 commit comments

Comments
 (0)