> > Isn't it fast enough to have a single thread that pre scans > > the events (perhaps with some single-thread optimizations > > like vectorization), and then load balances the work to > > a thread pool? > > I don't understand it. Could you please elaborate it?
Have a thread pool. Then there is a single thread which pre-processes events and puts them into queues, which are then processed in parallel by the threads in the thread pool. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/