1 #ifndef _SCHED_DEADLINE_H
2 #define _SCHED_DEADLINE_H
5 * SCHED_DEADLINE tasks has negative priorities, reflecting
6 * the fact that any of them has higher prio than RT and
12 static inline int dl_prio(int prio
)
14 if (unlikely(prio
< MAX_DL_PRIO
))
19 static inline int dl_task(struct task_struct
*p
)
21 return dl_prio(p
->prio
);
24 static inline bool dl_time_before(u64 a
, u64 b
)
26 return (s64
)(a
- b
) < 0;
29 #endif /* _SCHED_DEADLINE_H */
This page took 0.032059 seconds and 5 git commands to generate.