/****************************************************************/
#define TASK_TRACK_COUNT 5
-#define ontime_of(p) (&p->se.ontime)
#define ontime_task_cpu(p) (ontime_of(p)->cpu)
#define ontime_flag(p) (ontime_of(p)->flags)
#define ontime_migration_time(p) (ontime_of(p)->avg.ontime_migration_time)
eenv->max_cpu_count = EAS_CPU_BKP + 1;
/* Find a cpu with sufficient capacity */
- if (sched_feat(EXYNOS_HMP))
+ if (sched_feat(EXYNOS_HMP)) {
eenv->cpu[EAS_CPU_NXT].cpu_id = exynos_select_cpu(p,
&eenv->cpu[EAS_CPU_BKP].cpu_id,
boosted, prefer_idle);
+ if (ontime_of(p)->flags == ONTIME)
+ return eenv->cpu[EAS_CPU_NXT].cpu_id;
+ }
else
eenv->cpu[EAS_CPU_NXT].cpu_id = find_best_target(p,
&eenv->cpu[EAS_CPU_BKP].cpu_id,