Re: 2.4.10pre7aa1

Rik van Riel
2001-09-16T17:00:18Z

On Mon, 10 Sep 2001, Andrea Arcangeli wrote:

> > My problem with this appropech is just that we use kernel threads for
> > more and more stuff - always creating new ones. I think at some point
> > they will sum up badly.
>
> They almost only costs memory. I also don't like unnecessary kernel
> threads but I can see usefulness for this one, OTOH as you said the
> latency of the wait_for_rcu isn't very critical but usually I prefer to
> save cycles with memory where I can and where it's even cleaner to do so.

I can't quite remember if it was Linus or Larry who said:

"Threads are for people who don't understand state machines"

If you cannot make your code clean without adding another
thread, it's probably a bad sign ;)

cheers,

Rik
--
IA64: a worthy successor to i860.

http://www.surriel.com/ http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)