diff options
author | Con Kolivas <kernel@kolivas.org> | 2017-05-12 12:45:34 +1000 |
---|---|---|
committer | Con Kolivas <kernel@kolivas.org> | 2017-05-12 13:43:02 +1000 |
commit | e656dce23078726eaea78a8e0ed6f9b84439ab98 (patch) | |
tree | 2039a2651771faa29da6ffabd6df3e69439e3ef2 /include/linux/ioprio.h | |
parent | a351e9b9fc24e982ec2f0e76379a49826036da12 (diff) |
Multiple Queue Skiplist Scheduler version 0.155 for linux-4.11.4.11-muqss-155
Diffstat (limited to 'include/linux/ioprio.h')
-rw-r--r-- | include/linux/ioprio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ioprio.h b/include/linux/ioprio.h index 8c1239020d79..ebe98b91de3b 100644 --- a/include/linux/ioprio.h +++ b/include/linux/ioprio.h @@ -51,6 +51,8 @@ enum { */ static inline int task_nice_ioprio(struct task_struct *task) { + if (iso_task(task)) + return 0; return (task_nice(task) + 20) / 5; } |