task_has_rt_policy
if (task_has_dl_policy(p) || task_has_rt_policy(p)) {
if (task_has_rt_policy(p))
} else if (task_has_rt_policy(p)) {