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

From: Jeff Garzik
Date: Mon Aug 18 2003 - 16:28:44 EST


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



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