linux/block
Andreas Mohr e8a99053ea [PATCH] cfq-iosched: small cfq_choose_req() optimization
this is a small optimization to cfq_choose_req() in the CFQ I/O scheduler
(this function is a semi-often invoked candidate in an oprofile log):
by using a bit mask variable, we can use a simple switch() to check
the various cases instead of having to query two variables for each check.
Benefit: 251 vs. 285 bytes footprint of cfq_choose_req().
Also, common case 0 (no request wrapping) is now checked first in code.

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Jens Axboe <axboe@suse.de>
2006-03-28 08:59:49 +02:00
..
Kconfig [PATCH] Fix blktrace compile with sysfs not defined 2006-03-27 09:29:03 +02:00
Kconfig.iosched [BLOCK] iosched: fix setting of default io scheduler 2005-11-04 08:44:58 +01:00
Makefile [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 2006-03-23 20:00:26 +01:00
as-iosched.c [PATCH] fix rmmod problems with elevator attributes, clean them up 2006-03-18 22:27:18 -05:00
blktrace.c [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 2006-03-23 20:00:26 +01:00
cfq-iosched.c [PATCH] cfq-iosched: small cfq_choose_req() optimization 2006-03-28 08:59:49 +02:00
deadline-iosched.c [PATCH] fix rmmod problems with elevator attributes, clean them up 2006-03-18 22:27:18 -05:00
elevator.c BUG_ON() Conversion in block/elevator.c 2006-03-24 18:43:26 +01:00
genhd.c [BLOCK] increase size of disk stat counters 2006-03-27 09:29:02 +02:00
ioctl.c [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 2006-03-23 20:00:26 +01:00
ll_rw_blk.c [PATCH] [BLOCK] cfq-iosched: change cfq io context linking from list to tree 2006-03-28 08:59:01 +02:00
noop-iosched.c [BLOCK] noop-iosched: reimplementation of request dispatching 2005-11-12 10:56:52 +01:00
scsi_ioctl.c [PATCH] blk: Fix SG_IO ioctl failure retry looping 2006-02-08 10:07:13 +01:00