aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/sched.c
diff options
context:
space:
mode:
authorJon Medhurst (Tixy) <tixy@linaro.org>2012-07-14 18:56:08 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2012-07-25 10:33:43 +0100
commit83ce6a1760deba496a4dbb1ae4ce608e914044c3 (patch)
tree0ecb9bfa5ba2355ea25a7f89c25014e629d7680a /arch/x86/kernel/cpu/sched.c
parente97ad684522fa231bbb9da3d0f0c89bcda345e6e (diff)
sched: Use device-tree to provide fast/slow CPU list for HMP
We can't rely on Kconfig options to set the fast and slow CPU lists for HMP scheduling if we want a single kernel binary to support multiple devices with different CPU topology. E.g. ARM's TC2, Fast Models, or even non big.LITTLE devices. This patch adds the function arch_get_fast_and_slow_cpus() to generate the lists at run-time by parsing the CPU nodes in device-tree; it assumes slow cores are A7s and everything else is fast. The function still supports the old Kconfig options as this is useful for testing the HMP scheduler on devices without big.LITTLE. Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'arch/x86/kernel/cpu/sched.c')
0 files changed, 0 insertions, 0 deletions