History

sched/pelt: Remove unused runnable load average

Now that runnable_load_avg is no more used, we can remove it to make space for a new signal.

Vincent Guittot committed 6 years ago

Commit 0dacee11 parent fb86f5b6 files · +43 −171Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/sched.h+1−4
@@ -357,7 +357,7 @@ struct util_est { · 356 unmodified lines
357 357
358/*358/*
359 * The load_avg/util_avg accumulates an infinite geometric series359 * The load_avg/util_avg accumulates an infinite geometric series
360 * (see __update_load_avg() in kernel/sched/fair.c).360 * (see __update_load_avg_cfs_rq() in kernel/sched/pelt.c).
361 *361 *
362 * [load_avg definition]362 * [load_avg definition]
363 *363 *
@@ -401,11 +401,9 @@ struct util_est { · 37 unmodified lines
401struct sched_avg {401struct sched_avg {
402 u64 last_update_time;402 u64 last_update_time;
403 u64 load_sum;403 u64 load_sum;
404 u64 runnable_load_sum;
405 u32 util_sum;404 u32 util_sum;
406 u32 period_contrib;405 u32 period_contrib;
407 unsigned long load_avg;406 unsigned long load_avg;
408 unsigned long runnable_load_avg;
409 unsigned long util_avg;407 unsigned long util_avg;
410 struct util_est util_est;408 struct util_est util_est;
411} ____cacheline_aligned;409} ____cacheline_aligned;
@@ -449,7 +447,6 @@ struct sched_statistics { · 37 unmodified lines
449struct sched_entity {447struct sched_entity {
450 /* For load-balancing: */448 /* For load-balancing: */
451 struct load_weight load;449 struct load_weight load;
452 unsigned long runnable_weight;
453 struct rb_node run_node;450 struct rb_node run_node;
454 struct list_head group_node;451 struct list_head group_node;
455 unsigned int on_rq;452 unsigned int on_rq;