Re: [patch] writeback daemons
Andrew Morton (akpm@zip.com.au)
Mon, 15 Apr 2002 15:46:05 -0700
Pavel Machek wrote:
>
> Hi!
>
> > > > The number of threads is dynamically managed by a simple
> > > > demand-driven algorithm.
> > >
> > > So... when we are low on free memory, we try to create more threads... Possible
> > > deadlock?
> >
> > Nope. The number of threads is never allowed to fall below two,
> > for this very reason.
>
> I thought this was the case. BTW do you need *two* threads for
> reliable operation, or is one enough?
I chose two because we used to have two - kupdate and bdflush.
But yes, surely one is sufficient. Added to the todo file.
-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/