aboutsummaryrefslogtreecommitdiff
path: root/block/as-iosched.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-07-28 09:48:51 +0200
committerJens Axboe <axboe@nelson.home.kernel.dk>2006-09-30 20:29:39 +0200
commit53b03744e5699832e6c5b04f2ec506d8b0c50c38 (patch)
tree7205d972bf6f25be3a3f2c360130b269dadcb3b2 /block/as-iosched.c
parentb5deef901282628d88c784f4c9d2f0583ec3b355 (diff)
[PATCH] cfq-iosched: Kill O(N) runtime of cfq_resort_rr_list()
Currently it scales with number of processes in that priority group, which is potentially not very nice as it's called quite often. Basically we always need to do tail inserts, except for the case of a new process. So just mark/detect a queue as such. Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'block/as-iosched.c')
0 files changed, 0 insertions, 0 deletions