Re: [Jfs-discussion] Unneeded kernel threads (xfs, jfs, gfs2)
From: Eric Sandeen
Date: Tue May 13 2008 - 11:31:18 EST
Christoph Hellwig wrote:
> On Tue, May 13, 2008 at 05:21:56AM -0400, Christoph Hellwig wrote:
>> Well, we could refcount the number of active xfs instances and
>> start/stop the global threads based on that. Not really worth my
>> time IHMO, but if someone comes up with a clean enough patch it should
>> go in.
>
> Actually doing it in the VFS might be even better. Add ->init and
> ->exit methods to struct file_system_type and then the filesystems can
> move most of module_init/exit into the new methods.
Hmm I like that idea! :)
-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/