[COMMON] sched: ems: Change ontime policy and algorithm
authorDaeyeong Lee <daeyeong.lee@samsung.com>
Mon, 3 Sep 2018 06:07:27 +0000 (15:07 +0900)
committerhskang <hs1218.kang@samsung.com>
Sun, 9 Sep 2018 21:37:45 +0000 (06:37 +0900)
commit7f13e9ae8e8e33c29b146a40e43a9d3fe2366562
tree6852273e785a9beaa743a8085a67c95215b87682
parent564a8125dc080cb4cf35b468da4becff2eae28b6
[COMMON] sched: ems: Change ontime policy and algorithm

- If the task is above upper_boudnary of task's cpu,
  Any coregroup with a higher mips than task's cpu can be a candidates.
- If there are multiple candidate coregroups,
  calculate energy and select the most efficient CPU.
- If the task is below lower_boundary of task's cpu,
  leave it to the core selection afterwards.

Change-Id: I38667d4382692115d74ec27eaa4169e6124bd749
Signed-off-by: Daeyeong Lee <daeyeong.lee@samsung.com>
kernel/sched/ems/ontime.c