aboutsummaryrefslogtreecommitdiff
path: root/include/linux/sysdev.h
diff options
context:
space:
mode:
authorKen Chen <[email protected]>2005-04-16 15:25:43 -0700
committerLinus Torvalds <[email protected]>2005-04-16 15:25:43 -0700
commita299738283a654544c75167d190d9e87b77e5fb7 (patch)
tree653e92ba3b9b19cbfe0d86d64d573eab7886b193 /include/linux/sysdev.h
parent975e046cc06005bafe0c5ce81d55a1b1eb84f5a1 (diff)
[PATCH] use cheaper elv_queue_empty when unplug a device
In function __generic_unplug_device(), kernel can use a cheaper function elv_queue_empty() instead of more expensive elv_next_request to find whether the queue is empty or not. blk_run_queue can also made conditional on whether queue's emptiness before calling request_fn(). Signed-off-by: Jens Axboe <[email protected]> Signed-off-by: Ken Chen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/sysdev.h')
0 files changed, 0 insertions, 0 deletions