From owner-freebsd-questions@freebsd.org Sat Jun 4 21:38:26 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C677FB69372 for ; Sat, 4 Jun 2016 21:38:26 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8385B1DF8 for ; Sat, 4 Jun 2016 21:38:26 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (vpn-1.adestra.com [46.236.37.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 5649310324; Sat, 4 Jun 2016 21:38:21 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/5649310324; dkim=none; dkim-atps=neutral Subject: Re: Relevant mailing list To: freebsd-questions@freebsd.org, bltsrc@mail.ru References: <1465068474.241692968@f361.i.mail.ru> From: Matthew Seaman Message-ID: <57534A45.8030802@FreeBSD.org> Date: Sat, 4 Jun 2016 22:38:13 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1465068474.241692968@f361.i.mail.ru> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QQAli9K0RK4arFuGcvnHIDXl50LM78AwW" X-Virus-Scanned: clamav-milter 0.99.1 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2016 21:38:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QQAli9K0RK4arFuGcvnHIDXl50LM78AwW Content-Type: multipart/mixed; boundary="0wisFCpBxOAOQPMx69s1bnaVg69UNRqSi" From: Matthew Seaman To: freebsd-questions@freebsd.org, bltsrc@mail.ru Message-ID: <57534A45.8030802@FreeBSD.org> Subject: Re: Relevant mailing list References: <1465068474.241692968@f361.i.mail.ru> In-Reply-To: <1465068474.241692968@f361.i.mail.ru> --0wisFCpBxOAOQPMx69s1bnaVg69UNRqSi Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 alread= y present=20 > at turnstile chain it adds its own turnstile to lock's turnstile's ts_f= ree > 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=20 > meaning of putting of turnstile to free list only for regrabbing it lat= er. This is definitely a question for freebsd-hackers@... Cheers, Matthew --0wisFCpBxOAOQPMx69s1bnaVg69UNRqSi-- --QQAli9K0RK4arFuGcvnHIDXl50LM78AwW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJXU0pMXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnkk4P/0RRfeuTfiqYd0TNXlMtpGVh rYvsgJwiEuGfNmB0satNFD6yeFrJF5AcBrvtFO6PzowyJOqI9HJxprfWWrxOf0zU 7/IsR98iT8U+WgOJ86Ism74kAXpoSMNRj1wLclLzZLP8X0n1vv8Dir4BOmo+oB4/ G0pgYoaHFnhbPcqwibE2zP9C2suInY1gzU9Regks2SaqkWAyr+hv3oU2cL1YkVfF fAoDmUx+ZH0RxRvjFQ8PEGtOhEMSUKQBs3SxOOY4XBzBnKabtqefNthPBRuuQyJ/ lcrhsnuneAGyntp4yDrHH2KrCrdcXs+5jTnkh7frpevmkFLkX3OAL2ofK5e62xdz BW4kpjwzcdZ1Y2gB6Wq+uxMJ+f0ciTjNR3j46E7aTaPly/Cye+QkkYCdHHu3mAmB KxJq4i3BH9y1Svj8xYA2y7yDj3jl+jenozvmmTyrBjMDA3DTkWJ8sWJLUN1CcVg8 kjznQeoXatIxLcMtDcIWbOayGoWGrS3aNGLWVpip9I6DnaPDQqrL6A8MQdP8PmrN 0Z3bVTZWhqMyTyZWAQpnSBjke7HcG/JO3wRiOjRWXps8nKtXbMJYplDhY3qK+us/ m5yzX+yNpXEKV+LqNuwRbA2VArSTND+3umizHrUYQGGR8MqO5fRRgxUV9hLo62+w HSmGE/TucHM6hCwEjohF =u+rA -----END PGP SIGNATURE----- --QQAli9K0RK4arFuGcvnHIDXl50LM78AwW--