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
357357
358358 /*
359359 * 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).
361361 *
362362 * [load_avg definition]
363363 *
@@ -401,11 +401,9 @@ struct util_est { · 37 unmodified lines
401401 struct sched_avg {
402402 u64 last_update_time;
403403 u64 load_sum;
404− u64 runnable_load_sum;
405404 u32 util_sum;
406405 u32 period_contrib;
407406 unsigned long load_avg;
408− unsigned long runnable_load_avg;
409407 unsigned long util_avg;
410408 struct util_est util_est;
411409 } ____cacheline_aligned;
@@ -449,7 +447,6 @@ struct sched_statistics { · 37 unmodified lines
449447 struct sched_entity {
450448 /* For load-balancing: */
451449 struct load_weight load;
452− unsigned long runnable_weight;
453450 struct rb_node run_node;
454451 struct list_head group_node;
455452 unsigned int on_rq;