]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
subr_turnstile: Extract some common code to a helper.
authorkib <kib@FreeBSD.org>
Thu, 16 May 2019 13:17:57 +0000 (13:17 +0000)
committerkib <kib@FreeBSD.org>
Thu, 16 May 2019 13:17:57 +0000 (13:17 +0000)
commitd20c4c3cb26a46121e793f89972a09dfce67eb74
tree9a7b82926de87d80af2b76dd1b18ecacdd66cde5
parent7b940212e115801d630ee28797b7c27363c2cfe2
subr_turnstile: Extract some common  code to a helper.

Code walks the list of contested turnstiles to calculate the priority
to unlend.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/kern/subr_turnstile.c