Query regarding work queue

Leelakrishna A amudala.krishna at gmail.com
Fri Feb 18 14:57:18 EST 2011


 Hi,
In LDD 3rd edition it is given that,
In a multiprocessor system work queues will run on the same processor from
which they are submitted.
Also each work queue has one or more dedicated kernel threads which runs the
functions submitted to the queue.
If we use *create_workqueue*, we get a work queue that has a dedicated
thread for each processor on the system.

If a work queue is restricted to run on one processor then why the need for
the creation of more than one thread each for one processor.

-Leela krishna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110219/1827c4b5/attachment.html 


More information about the Kernelnewbies mailing list