]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a sign bug that caused adaptive spinning in sx_xlock() to not work
authorjhb <jhb@FreeBSD.org>
Tue, 8 Jun 2010 16:17:47 +0000 (16:17 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 8 Jun 2010 16:17:47 +0000 (16:17 +0000)
commit72cdd6ef995d01b36fd6cd79ec1a88472ea5a5c0
treeacad9616f3811cb017ff955ef2b239007355ef55
parentdcb98911e2e5ea29226094837697a14d867cecf8
Fix a sign bug that caused adaptive spinning in sx_xlock() to not work
properly.  Among other things it did not drop Giant while spinning
leading to livelocks.

Reviewed by: rookie, kib, jmallett
MFC after: 3 days
sys/kern/kern_sx.c