 - Reassign the thread queue lock to newtd prior to switching.  Assigning    after the switch leads to a race where the outgoing thread still owns    the local queue lock while another cpu may switch it in.  This race    is only possible on machines where cpu_switch can take significantly    longer on different cpus which in practice means HTT machines with    unfair thread scheduling algorithms.
 - Reassign the thread queue lock to newtd prior to switching.  Assigning
   after the switch leads to a race where the outgoing thread still owns
   the local queue lock while another cpu may switch it in.  This race
   is only possible on machines where cpu_switch can take significantly
   longer on different cpus which in practice means HTT machines with
   unfair thread scheduling algorithms.

Found by:	kris (of course)
Approved by:	re

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase