]> git.baikalelectronics.ru Git - kernel.git/commit
sched: nohz: stop passing around unused "ticks" parameter.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 1 Jul 2020 18:34:18 +0000 (14:34 -0400)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 22 Jul 2020 08:22:04 +0000 (10:22 +0200)
commit1882ec6da31277742e4b3475cb2d4b11e9305908
tree2046bc2bcf73a0f399eb0d93e8edd9334fb3e654
parentd21b859f641602378a237a98a76ef4843e2311d7
sched: nohz: stop passing around unused "ticks" parameter.

The "ticks" parameter was added in commit 86cdb9d8daad ("sched: Cure more
NO_HZ load average woes") since calc_global_nohz() was called and needed
the "ticks" argument.

But in commit 8c40d2d47d15 ("sched: Fix nohz load accounting -- again!")
it became unused as the function calc_global_nohz() dropped using "ticks".

Fixes: 8c40d2d47d15 ("sched: Fix nohz load accounting -- again!")
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/1593628458-32290-1-git-send-email-paul.gortmaker@windriver.com
include/linux/sched/loadavg.h
kernel/sched/loadavg.c
kernel/time/timekeeping.c