K 10 svn:author V 3 mjg K 8 svn:date V 27 2017-12-31T00:47:04.696777Z K 7 svn:log V 395 locks: re-check the reason to go to sleep after locking sleepq/turnstile In both rw and sx locks we always go to sleep if the lock owner is not running. We do spin for some time if the lock is read-locked. However, if we decide to go to sleep due to the lock owner being off cpu and after sleepq/turnstile gets acquired the lock is read-locked, we should fallback to the aforementioned wait. END