> > 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)
- 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/