diff options
author | Con Kolivas <kernel@kolivas.org> | 2018-08-27 10:59:50 +1000 |
---|---|---|
committer | Con Kolivas <kernel@kolivas.org> | 2018-08-27 13:24:19 +1000 |
commit | 24b78c8c686a0a0dc83bc7e5df8f38b06cd7edc1 (patch) | |
tree | 00a14d9f84e310039a3b20977c5223881f1d7e52 /include/uapi/linux/sched.h | |
parent | 94710cac0ef4ee177a63b5227664b38c95bbf703 (diff) |
MultiQueue Skiplist Scheduler version v0.173.4.18-muqss-173
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 22627f80063e..17077cd6fc40 100644 --- a/include/uapi/linux/sched.h +++ b/include/uapi/linux/sched.h @@ -37,9 +37,16 @@ #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 |