diff options
| author | Justin TerAvest <teravest@google.com> | 2011-03-23 08:25:44 +0100 |
|---|---|---|
| committer | Jens Axboe <jaxboe@fusionio.com> | 2011-03-23 08:25:44 +0100 |
| commit | 62a37f6badd1ac97ba07d543b5d4be2f9cb17217 (patch) | |
| tree | b659ac7b4c9fce787694bb8a33affa229d1cd552 /kernel/rtmutex.c | |
| parent | 04521db04e9a11e74b0252d222051cb194487f4d (diff) | |
cfq-iosched: Don't clear queue stats when preempt.
For v2, I added back lines to cfq_preempt_queue() that were removed
during updates for accounting unaccounted_time. Thanks for pointing out
that I'd missed these, Vivek.
Previous commit "cfq-iosched: Don't set active queue in preempt" wrongly
cleared stats for preempting queues when it shouldn't have, because when
we choose a queue to preempt, it still isn't necessarily scheduled next.
Thanks to Vivek Goyal for figuring this out and understanding how the
preemption code works.
Signed-off-by: Justin TerAvest <teravest@google.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'kernel/rtmutex.c')
0 files changed, 0 insertions, 0 deletions
