[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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:24:57 +0000 (20:24 +0300)
commitb0889f98c2a62c22aa114baf53504a933b246a56
tree12a602b2b1da70fb5e2de459146bc7aedb63047e
parent839ad964058abe32d6320c9045a06f6159101b09
[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