Thanks
- Jose
On 07/22/10 12:19 PM, Jonathan Adams wrote:
On Thu, Jul 22, 2010 at 11:31:30AM -0700, Jose wrote:
If a dynamic task queue is created using taskq_create_proc() are the
threads created (as required by the workload) attached to the
process passed in at creation?
No; the attached-to-process stuff only attaches the non-dynamic threads
to the process. One of the problems was that for cpu partitions, you
pretty much have to create the subthreads from a thread *in* the process.
Since Dynamic taskq threads are created from taskq_dispatch(), that
would cause issues. I *thought* we had a:
IMPLY((flags& TASKQ_DYNAMIC), proc ==&p0);
assertion in taskq_create_common(), but apparently not.
Cheers,
- jonathan
_______________________________________________
on-discuss mailing list
on-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/on-discuss