Re: Fix up riscom8 driver to use work queues instead of task queueing.

Jeff Garzik
2003-08-18T21:24:46Z

Andrew Morton wrote:
> pdflush could kinda-sorta be converted to use workqueues, but it doesn't
> want a thread per cpu.

That was another item in the recent thread about workqueues: other
kernel code is very suited to the workqueue API, but only needs one
thread, not a thread per cpu. Would be nice to have a JUST_ONE_THREAD
flag to pass to create_workqueue().

I bet adding such a flag would help alleviate some of the "I have 1001
kthreads on my 16-way" complaints ;-)

Jeff