kernel-ark/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
..
as-iosched.c
blktrace.c
cfq-iosched.c [PATCH] cfq-iosched: small cfq_choose_req() optimization 2006-03-28 08:59:49 +02:00
deadline-iosched.c
elevator.c
genhd.c [BLOCK] increase size of disk stat counters 2006-03-27 09:29:02 +02:00
ioctl.c
Kconfig [PATCH] Fix blktrace compile with sysfs not defined 2006-03-27 09:29:03 +02:00
Kconfig.iosched
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
Makefile
noop-iosched.c
scsi_ioctl.c