sche: ems: implement proper_cpu
authorPark Bumgyu <bumgyu.park@samsung.com>
Thu, 12 Apr 2018 07:49:30 +0000 (16:49 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:35:46 +0000 (17:35 +0900)
commitb057512ba5139be27e3471eb1aac1cfb1cea7450
tree7eacd8134607e083fbc65e04dbdd316aaa128b46
parent7c4daa8dc2f17250f5acdc2fa320da837e1e9011
sche: ems: implement proper_cpu

exynos_proper_cpu() is called last in exynos wakeup balance. This is
called when the task does not require preformance, and the prev cpu
is overutilized and does not select the energy cpu.

Since balancing is necessary, the task is sent to the cpu with the
smallest utilization in order to minimize power consumption.

Change-Id: I5ef1a3b6d295763e7c4dc0df9f871d7ef05f8c9a
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
include/trace/events/ems.h
kernel/sched/ems/core.c
kernel/sched/ems/energy.c