shared lwkt locks

Alex Merritt <[email protected]> Thu, 16 Jul 2015 17:31:00 -0700
Newsgroups gmane.os.dragonfly-bsd.kernel
Message-ID <CADK3taLgQywU=OcmaUPsTgwt7Svojc3CFRM3zvV8RsPfYi5mDg@mail.gmail.com>
Hi,

Does releasing a lwkt_token release all prior gettoken_shared invocations
to that lock, or is one required to perform reltoken as many times as
you've performed gettoken_shared? There is a warning in vm_object_drop that
the lock may be shared -- I was wondering what exactly that warning is
meant to warn against. Apologies if the answer is apparent somewhere.

Thanks,
Alex