Alan Cox wrote: > Somewhat simpler for the general case would be to implement > > create_workqueue(min_threads,max_threads, max_thread_idle_time); > queue_work_within(); > > at which point you can queue work to the workqueue but with a per > workqueue timing running so you know when you might need to create a new > thread if the current work hasn't finished. Idle threads would then sleep > and either expire or pick up new work [...] Sounds a lot like kernel/slow-work.c / include/linux/slow-work.h to me (as Ben already pointed out). -- Stefan Richter -=====-==--= =--- =-=-- http://arcgraph.de/sr/ -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html