- Remove some debugging nits in the MFC of rwlocks that looked for cases   where a reader blocked on a lock with no owner and just assert that it   never happens like HEAD. - Actually set td->td_tsqueue to the sub-queue of a turnstile that a   thread is actually enqueued to.  Otherwise, the kernel would always   think that threads were on the queue for exclusive (write) waiters   (queue 0).  Thus, if the priority of a thread waiting on a read lock   was adjusted while it was waiting it could result in corrupting the   queue of waiting threads.
- Remove some debugging nits in the MFC of rwlocks that looked for cases
  where a reader blocked on a lock with no owner and just assert that it
  never happens like HEAD.
- Actually set td->td_tsqueue to the sub-queue of a turnstile that a
  thread is actually enqueued to.  Otherwise, the kernel would always
  think that threads were on the queue for exclusive (write) waiters
  (queue 0).  Thus, if the priority of a thread waiting on a read lock
  was adjusted while it was waiting it could result in corrupting the
  queue of waiting threads.

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