diff options
author | Christoph Hellwig <hch@lst.de> | 2005-10-30 15:01:39 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 17:37:17 -0800 |
commit | 83521d3eb8dd2dfb04dd78b4733e9766f61bb47e (patch) | |
tree | e372f6bef5205c12024512f3b1df5a76df7f0fba /kernel | |
parent | a8db2db1e6a8d323d87a67c5391d48fe2b97faf5 (diff) | |
download | op-kernel-dev-83521d3eb8dd2dfb04dd78b4733e9766f61bb47e.zip op-kernel-dev-83521d3eb8dd2dfb04dd78b4733e9766f61bb47e.tar.gz |
[PATCH] cfq-iosched: move tasklist walk to elevator.c
We're trying to get rid of as much as possible tasklist walks, or at
least moving them to core code. This patch falls into the second
category.
Instead of walking the tasklist in cfq-iosched move that into
elv_unregister. The added benefit is that with this change the as
ioscheduler might be might unloadable more easily aswell.
The new code uses read_lock instead of read_lock_irq because the
tasklist_lock only needs irq disabling for writers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions