diff options
author | Con Kolivas <kernel@kolivas.org> | 2017-11-20 17:12:49 +1100 |
---|---|---|
committer | Con Kolivas <kernel@kolivas.org> | 2017-11-20 17:12:49 +1100 |
commit | fbc0b4595aeccc2cc03e292ac8743565b3d3037b (patch) | |
tree | 05f7868bbdfc57fc9a28019f85c6cc44c2cd1c37 /include/linux/ioprio.h | |
parent | bebc6082da0a9f5d47a1ea2edc099bf671058bd4 (diff) |
MuQSS version 0.162 CPU scheduler.4.14-muqss-162
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 2cdd74809899..0448fc17cd93 100644 --- a/include/linux/ioprio.h +++ b/include/linux/ioprio.h @@ -52,6 +52,8 @@ enum { */ static inline int task_nice_ioprio(struct task_struct *task) { + if (iso_task(task)) + return 0; return (task_nice(task) + 20) / 5; } |