> > how does the event waiter thread determine whether there is a
> > suitable/idle worker thread to awaken?
>
> like this?
[complicated queue management code snipped]
This is essentially equivalent to what accept() does in the kernel.
So why not use that directly (together with some sample statistics code
that starts new worker threads as needed)?
-Andi
-- This is like TV. I don't like TV.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/