Re: [patch] writeback daemons

Pavel Machek
2002-04-15T22:32:30Z

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?

--
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.