]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cfq-iosched: speedup cic rb lookup
authorJens Axboe <jens.axboe@oracle.com>
Tue, 24 Apr 2007 19:23:53 +0000 (21:23 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Mon, 30 Apr 2007 07:01:23 +0000 (09:01 +0200)
commit597bc485d6906359ad667fc8ead5e5f0ede03a0a
treef59303df8b17f51781adedc6320c9a14130a650e
parent4e521c27eee33cebd618c26649e2c93803004647
cfq-iosched: speedup cic rb lookup

We often lookup the same queue many times in succession, so cache
the last looked up queue to avoid browsing the rbtree.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c