diff options
author | Con Kolivas <kernel@kolivas.org> | 2019-10-25 14:00:52 +1100 |
---|---|---|
committer | Con Kolivas <kernel@kolivas.org> | 2019-11-26 16:14:51 +1100 |
commit | 7acac2e4000e75f3349106a8847cf1021651446b (patch) | |
tree | d74553e460b55f1efdc75efc265f46c1889535d9 /include/uapi/linux/sched.h | |
parent | 219d54332a09e8d8741c1e1982f5eae56099de85 (diff) |
MultiQueue Skiplist Scheduler v0.196.5.4-muqss-196
Diffstat (limited to 'include/uapi/linux/sched.h')
-rw-r--r-- | include/uapi/linux/sched.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h index 25b4fa00bad1..c2503cd28025 100644 --- a/include/uapi/linux/sched.h +++ b/include/uapi/linux/sched.h @@ -84,9 +84,16 @@ struct clone_args { #define SCHED_FIFO 1 #define SCHED_RR 2 #define SCHED_BATCH 3 -/* SCHED_ISO: reserved but not implemented yet */ +/* SCHED_ISO: Implemented on MuQSS only */ #define SCHED_IDLE 5 +#ifdef CONFIG_SCHED_MUQSS +#define SCHED_ISO 4 +#define SCHED_IDLEPRIO SCHED_IDLE +#define SCHED_MAX (SCHED_IDLEPRIO) +#define SCHED_RANGE(policy) ((policy) <= SCHED_MAX) +#else /* CONFIG_SCHED_MUQSS */ #define SCHED_DEADLINE 6 +#endif /* CONFIG_SCHED_MUQSS */ /* Can be ORed in to make sure the process is reverted back to SCHED_NORMAL on fork */ #define SCHED_RESET_ON_FORK 0x40000000 |