diff options
author | Jens Axboe <axboe@suse.de> | 2006-07-22 16:48:31 +0200 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 20:29:35 +0200 |
commit | 89850f7ee905410c89f9295e89dc4c33502a34ac (patch) | |
tree | c499b53c052a6e515ec232fdbde4537f20f1d23d /include/asm-um/poll.h | |
parent | e6a1c874a064e7d07f24986aba7cd537b7f4a25d (diff) | |
download | op-kernel-dev-89850f7ee905410c89f9295e89dc4c33502a34ac.zip op-kernel-dev-89850f7ee905410c89f9295e89dc4c33502a34ac.tar.gz |
[PATCH] cfq-iosched: cleanups, fixes, dead code removal
A collection of little fixes and cleanups:
- We don't use the 'queued' sysfs exported attribute, since the
may_queue() logic was rewritten. So kill it.
- Remove dead defines.
- cfq_set_active_queue() can be rewritten cleaner with else if conditions.
- Several places had cfq_exit_cfqq() like logic, abstract that out and
use that.
- Annotate the cfqq kmem_cache_alloc() so the allocator knows that this
is a repeat allocation if it fails with __GFP_WAIT set. Allows the
allocator to start freeing some memory, if needed. CFQ already loops for
this condition, so might as well pass the hint down.
- Remove cfqd->rq_starved logic. It's not needed anymore after we dropped
the crq allocation in cfq_set_request().
- Remove uneeded parameter passing.
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include/asm-um/poll.h')
0 files changed, 0 insertions, 0 deletions