sched: hmp: add read-only hmp domain sysfs file
authorChris Redpath <chris.redpath@arm.com>
Mon, 11 Nov 2013 16:29:29 +0000 (16:29 +0000)
committerJon Medhurst <tixy@linaro.org>
Thu, 21 Nov 2013 11:26:08 +0000 (11:26 +0000)
commit0b877c2baac65994016c6812804d1b30e89c18ed
tree0ed7924a05476e9ece2246b8f12cad7a854eec04
parent2a68d1e9125582bedeac4ea34fb9901ab1f7de11
sched: hmp: add read-only hmp domain sysfs file

In order to allow userspace to restrict known low-load tasks to
little CPUs, we must export this knowledge from the kernel or
expect userspace to make their own attempts at figuring it out.

Since we now have a userspace requirement for an HMP implementation
to always have at least some sysfs files, change the integration
so that it only depends upon CONFIG_SCHED_HMP rather than
CONFIG_HMP_VARIABLE_SCALE. Fix Kconfig text to match.

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