Re: [PATCH 2 of 4] Introduce i386 fibril scheduling

From: Christoph Hellwig
Date: Thu Feb 01 2007 - 08:19:33 EST


On Thu, Feb 01, 2007 at 02:02:34PM +0100, Ingo Molnar wrote:
> what i dont really like /the particular/ concept above - the
> introduction of 'fibrils' as a hard distinction of kernel threads. They
> are /almost/ kernel threads, but still by being different they create
> alot of duplication and miss out on a good deal of features that kernel
> threads have naturally.
>
> It kind of hurts to say this because i'm usually quite concept-happy -
> one can easily get addicted to the introduction of new core kernel
> concepts :-) But i really, really think we dont want to do fibrils but
> we want to do kernel threads, and i havent really seen a discussion
> about why they shouldnt be done via kernel threads.

I tend to agree. Note that there is one thing we should be doing one
one day (not only if we want to use it for aio) is to make kernel threads
more lightweight. Thereéis a lot of baggae we keep around in task_struct
and co that only makes sense for threads that have a user space part and
aren't or shouldn't be needed for a purely kernel-resistant thread.
-
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/