sched/uclamp: Rename uclamp_util_with() into uclamp_rq_util_with()
authorValentin Schneider <valentin.schneider@arm.com>
Wed, 11 Dec 2019 11:38:49 +0000 (11:38 +0000)
committerIngo Molnar <mingo@kernel.org>
Wed, 25 Dec 2019 09:42:08 +0000 (10:42 +0100)
commitd2b58a286e89824900d501db0be1d4f6aed474fc
tree2f050b7c5ae08cf42f6bc4cd364b02868071b21e
parent686516b55e98edf18c2a02d36aaaa6f4c0f6c39c
sched/uclamp: Rename uclamp_util_with() into uclamp_rq_util_with()

The current helper returns (CPU) rq utilization with uclamp restrictions
taken into account. A uclamp task utilization helper would be quite
helpful, but this requires some renaming.

Prepare the code for the introduction of a uclamp_task_util() by renaming
the existing uclamp_util_with() to uclamp_rq_util_with().

Tested-By: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Quentin Perret <qperret@google.com>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20191211113851.24241-4-valentin.schneider@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/cpufreq_schedutil.c
kernel/sched/sched.h