diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2020-06-12 17:47:03 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-06-15 14:10:06 +0200 |
commit | 87e867b4269f29dac8190bca13912d08163a277f (patch) | |
tree | b41a7a09c81a71c0985f8fc820b903fbc836b29c /include/linux/sched.h | |
parent | c49694173da004b1b16082f82f28bd625415fbb2 (diff) | |
download | linux-stable-87e867b4269f29dac8190bca13912d08163a277f.tar.gz linux-stable-87e867b4269f29dac8190bca13912d08163a277f.tar.bz2 linux-stable-87e867b4269f29dac8190bca13912d08163a277f.zip |
sched/pelt: Cleanup PELT divider
Factorize in a single place the calculation of the divider to be used to
to compute *_avg from *_sum value
Suggested-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200612154703.23555-1-vincent.guittot@linaro.org
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions