diff options
author | Jan Kara <jack@suse.com> | 2016-01-12 18:24:16 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-02-04 19:50:12 +0300 |
commit | 6c80731c75bd3289d35b89a21a4e317cbcb306e3 (patch) | |
tree | 6436e8e33ca1f8cd62a46c900547bab559504384 /usr | |
parent | e795421e40b39bf874c5ed9434365fb4a4b6c5d1 (diff) | |
download | linux-6c80731c75bd3289d35b89a21a4e317cbcb306e3.tar.xz |
cfq-iosched: Reorder checks in cfq_should_preempt()
Move check for preemption by rt class up. There is no functional change
but it makes arguing about conditions simpler since we can be sure both
cfq queues are from the same ioprio class.
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jan Kara <jack@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions