Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U9

From: Ingo Molnar
Date: Fri Oct 22 2004 - 06:57:55 EST



* Nikita Danilov <nikita@xxxxxxxxxxxxx> wrote:

> > condition variables are fine if you 1) already know them from userspace
> > and 2) want to use a single locking abstraction for everything. It is
> > thus also a kitchen-sink primitive that is inevitably slow and complex.
> > I still have to see a locking problem where condvars are the
> > cleanest/simplest answer, and i've yet to see a locking problem where
> > condvars are not the slowest answer ;)
>
> A kernel daemon that waits for some work to do is an example.

what type of work - could you be a bit more specific?

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