[lkml]   [2005]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] move tasklist walk from cfq-iosched to elevator.c
On Fri, Aug 26 2005, Christoph Hellwig wrote:
> 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.

Looks innocent enough, fine with me. 'as' will need additional work to
be unloadable, but it wont break anything since it's running with an
elevated module count right now anyways.

Jens Axboe

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-26 15:48    [W:0.046 / U:5.256 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site