sched: HMP: Change default HMP thresholds
authorChris Redpath <chris.redpath@arm.com>
Tue, 3 Feb 2015 07:52:16 +0000 (16:52 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:41:47 +0000 (13:41 +0900)
commit79febe68d970e2b88accf64933ddd2dd8f2284a4
tree659f468db867d21b52d097ca7fa69eaba3ea4d13
parent8c54c67a7eda115e73863e38e2dfe5eb0c1987d4
sched: HMP: Change default HMP thresholds

When the up-threshold is at 512 on TC2, behaviour looks OK since
the graphic-related tasks are very heavy due to lack of a GPU.
Increasing the up-threshold does not reduce power consumption.

When a GPU is present, graphic tasks are much less CPU-heavy and
so additional power may be saved by having a higher threshold.

Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
[k.kozlowski: rebased on 4.1, no signed-off-by of previous committer]
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
kernel/sched/fair.c