Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32486b19 authored by Olav Haugan's avatar Olav Haugan Committed by Pavankumar Kondeti
Browse files

core_ctrl: Move core control into kernel



Move core control from out-of-tree module into the kernel proper.

Core control monitors load on CPUs and controls how many CPUs are
available for the system to use at any point in time. This can help save
power. Core control can be configured through sysfs interface.

Change-Id: Ia78e701468ea3828195c2a15c9cf9fafd099804a
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 9c8e7ed8
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1172,6 +1172,16 @@ config SCHED_HMP_CSTATE_AWARE
	  with CPUs C-state. If this is enabled, scheduler places tasks
	  onto the shallowest C-state CPU among the most power efficient CPUs.

config SCHED_CORE_CTL
	bool "QTI Core Control"
	depends on SMP
	help
	  This options enables the core control functionality in
	  the scheduler. Core control automatically offline and
	  online cores based on cpu load and utilization.

	  If unsure, say N here.

config SCHED_QHMP
	bool "QHMP scheduler extensions"
	depends on SCHED_HMP
+1 −0
Original line number Diff line number Diff line
@@ -25,3 +25,4 @@ obj-$(CONFIG_SCHED_AUTOGROUP) += auto_group.o
obj-$(CONFIG_SCHEDSTATS) += stats.o
obj-$(CONFIG_SCHED_DEBUG) += debug.o
obj-$(CONFIG_CGROUP_CPUACCT) += cpuacct.o
obj-$(CONFIG_SCHED_CORE_CTL) += core_ctl.o
+1078 −0

File added.

Preview size limit exceeded, changes collapsed.