]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r196772:
authorattilio <attilio@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 9 Sep 2009 09:17:31 +0000 (09:17 +0000)
committerattilio <attilio@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 9 Sep 2009 09:17:31 +0000 (09:17 +0000)
commit68fd75a8884ff134c4cb91824bd165ac0d29782b
treef53b14eeeece3012fa6fba1d77e35a78198d9b39
parent677daf6dc4f21027d4962caa387381f1874d4301
MFC r196772:
fix adaptive spinning in lockmgr by using correctly GIANT_RESTORE and
continue statement and improve adaptive spinning for sx lock by just
doing once GIANT_SAVE.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@197023 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_lock.c
sys/kern/kern_sx.c