1501 taskq_create_proc ... TQ_DYNAMIC puts tasks in p0
Review Request #24 - Created April 10, 2015 and submitted
The SMB server code needs its taskq threads to be in the correct zone.
This was actually reviewed quite some time ago. See:
The global-zone use case has had extensive use at customers.
The NGZ use case has had internal testing.
Overall, I like the simplicity of this change.
I'll have to think about the implications of changing this condition from "any non p0 thread will have a lwp" to "any SDC thread will have a lwp". Obviously, the SDC case is correct. I just want to make sure that I fully understand the non-SDC case. Can there be a non-SDC thread that relied on having a lwp and it used to get one because it wasn't in p0? Just thinking out loud.