K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-12-01T11:28:37.000000Z K 7 svn:log V 454 MFC kern_mutex.c rev. 1.201 and kern_rwlock.c rev. 1.32: Simplify adaptive spinning algorithm which should make things faster when sleeping / waking up waiters. Also fix a bug with rw_try_upgrade() when adaptive spinning is enabled as turnstile_lookup() will recurse on ts_lock that will never be released [1]. [1] Reported by: jeff with Nokia help Tested by: pho, kris (earlier, bugged version of rwlock part) Discussed with: jhb, jeff Approved by: re END