Relevant mailing list
matthew at FreeBSD.org
Sat Jun 4 21:38:26 UTC 2016
On 2016/06/04 20:27, Bulat Bulat via freebsd-questions wrote:
> However, the meaning of ts_free member in turnstile structure for me is unclear.
> My understanding: when thread discovers than lock's turnstile is already present
> at turnstile chain it adds its own turnstile to lock's turnstile's ts_free
> and after it wokes up it regrabs turnstile from the same
> ts_free list of lock's turnstile. But why does it so, if it already has its own turnstile, what the
> meaning of putting of turnstile to free list only for regrabbing it later.
This is definitely a question for freebsd-hackers at ...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 972 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions