ARM: Experimental Frequency-Invariant Load Scaling Patch
authorChris Redpath <chris.redpath@arm.com>
Fri, 16 Nov 2012 10:03:00 +0000 (10:03 +0000)
committerJon Medhurst <tixy@linaro.org>
Wed, 17 Jul 2013 10:12:27 +0000 (11:12 +0100)
commit71b5dbd6d527d5de8aaef7e1f8658df95caf28aa
tree58a0edceef4db340f35244e76e74d1206f2f315b
parent0e48eed05c47aa2e00b772a519b36286e466621e
ARM: Experimental Frequency-Invariant Load Scaling Patch

Evaluation Patch to investigate using load as a representation of the
amount of POTENTIAL cpu compute capacity used rather than a representation
of the CURRENT cpu compute capacity.

If CPUFreq is enabled, scales load in accordance with frequency.

Powersave/performance CPUFreq governors are detected and scaling is
disabled while these governors are in use. This is because when a
single-frequency governor is in use, potential CPU capacity is static.

So long as the governors and CPUFreq subsystem correctly report the
frequencies available, the scaling should self tune.

Adds an additional file to sysfs to allow this feature to be disabled
for experimentation.

/sys/kernel/hmp/frequency_invariant_load_scale

write 0 to disable, 1 to enable.

Signed-off-by: Chris Redpath <chris.redpath@arm.com>
arch/arm/Kconfig
kernel/sched/fair.c