git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be56123
)
[BLOCK] cfq-iosched: fix slice_left calculation
author
Tejun Heo
<htejun@gmail.com>
Thu, 10 Nov 2005 17:20:16 +0000
(18:20 +0100)
committer
Jens Axboe
<axboe@nelson.home.kernel.dk>
Sat, 12 Nov 2005 09:56:36 +0000
(10:56 +0100)
When cfq slice expires, remainder of slice is calculated and stored in
cfqq->slice_left. Current code calculates the opposite of remainder -
how many jiffies the cfqq has used past slice end. This patch fixes
the bug.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
No differences found