From nobody Thu Apr 13 14:55:04 2023 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Py2gJ5sf8z45DtC for ; Thu, 13 Apr 2023 14:55:08 +0000 (UTC) (envelope-from alexander.lochmann@tu-dortmund.de) Received: from unimail.uni-dortmund.de (mx1.hrz.uni-dortmund.de [129.217.128.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "unimail.tu-dortmund.de", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Py2gH3fw3z3xjF for ; Thu, 13 Apr 2023 14:55:07 +0000 (UTC) (envelope-from alexander.lochmann@tu-dortmund.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tu-dortmund.de header.s=unimail header.b=SSOrDb72; spf=pass (mx1.freebsd.org: domain of alexander.lochmann@tu-dortmund.de designates 129.217.128.51 as permitted sender) smtp.mailfrom=alexander.lochmann@tu-dortmund.de; dmarc=none Received: from [129.217.43.37] (ganymed.cs.tu-dortmund.de [129.217.43.37]) (authenticated bits=0) by unimail.uni-dortmund.de (8.17.1.26/8.17.1.26) with ESMTPSA id 33DEt4xh014851 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT); Thu, 13 Apr 2023 16:55:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tu-dortmund.de; s=unimail; t=1681397704; bh=elihKkthmXKmAEcxN3IEFsnbIaaVxi4hS0ZK67f27HA=; h=Date:To:Cc:References:From:Subject:In-Reply-To; b=SSOrDb72LsDyospix7Xe9JR48yMz36PLKaabfaaXgWjKdCFA4xda5P8/6r2KTe7n7 7dQjIzCn6z865IgyFaiA2EEhRFZdnoRZS3iohyyz4RTT/w0eKdk0kqJxhSGfm/h7Wg /WVE03Juh8KGlV5CgTBORR4nhYmPut/GOilyfpdw= Message-ID: <007c9a92-8373-1b62-5bbd-37ef8baf73e1@tu-dortmund.de> Date: Thu, 13 Apr 2023 16:55:04 +0200 List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Content-Language: de-DE-1901 To: Konstantin Belousov Cc: freebsd-fs@freebsd.org References: <1743b9f5-69be-b775-fb57-92b8115d4a81@tu-dortmund.de> <6b1181f7-a58f-8d71-a05e-2dcb0a66ae4c@tu-dortmund.de> <2c5e6f8d-037b-9bfe-bdad-4a367bdbc65d@tu-dortmund.de> From: Alexander Lochmann Subject: Re: Understanding locking for buf In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------SW3gSE6tdsH9fpqfMKzz7B8s" X-Spamd-Result: default: False [-7.30 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_LOW(-1.00)[tu-dortmund.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; R_DKIM_ALLOW(-0.20)[tu-dortmund.de:s=unimail]; RCVD_IN_DNSWL_MED(-0.20)[129.217.128.51:from]; R_SPF_ALLOW(-0.20)[+ip4:129.217.128.0/24]; RWL_MAILSPIKE_GOOD(-0.10)[129.217.128.51:from]; MIME_BASE64_TEXT(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[tu-dortmund.de]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:680, ipnet:129.217.0.0/16, country:DE]; RCPT_COUNT_TWO(0.00)[2]; HAS_ATTACHMENT(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[tu-dortmund.de:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4Py2gH3fw3z3xjF X-Spamd-Bar: ------- X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------SW3gSE6tdsH9fpqfMKzz7B8s Content-Type: multipart/mixed; boundary="------------aqam7V961A3wrhqXxCcfp2PB"; protected-headers="v1" From: Alexander Lochmann To: Konstantin Belousov Cc: freebsd-fs@freebsd.org Message-ID: <007c9a92-8373-1b62-5bbd-37ef8baf73e1@tu-dortmund.de> Subject: Re: Understanding locking for buf References: <1743b9f5-69be-b775-fb57-92b8115d4a81@tu-dortmund.de> <6b1181f7-a58f-8d71-a05e-2dcb0a66ae4c@tu-dortmund.de> <2c5e6f8d-037b-9bfe-bdad-4a367bdbc65d@tu-dortmund.de> In-Reply-To: --------------aqam7V961A3wrhqXxCcfp2PB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQoNCk9uIDIzLjAzLjIzIDEyOjU2LCBLb25zdGFudGluIEJlbG91c292IHdyb3RlOg0KPiBJ IGRvIG5vdCB1bmRlcnN0YW5kIHRoZSBnb2FsIG9mIHRoaXMgY29udmVyc2F0aW9uLiAgQ2Fu IHlvdSBmb3JtdWxhdGUgd2hhdA0KPiB5b3UgYXJlIHRyeWluZyB0byBhY2hpZ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3JvdXANCkFsZXhhbmRlciBMb2No bWFubiAgICAgICAgICAgICAgICBQR1Aga2V5OiAweEJDM0VGNkZEDQpPdHRvLUhhaG4tU3Ry LiAxNiAgICAgICAgICAgICAgICAgcGhvbmU6ICArNDkuMjMxLjc1NTYxNDENCkQtNDQyMjcg RG9ydG11bmQgICAgICAgICAgICAgICAgICBmYXg6ICAgICs0OS4yMzEuNzU1NjExNg0KaHR0 cHM6Ly9zeXMuY3MudHUtZG9ydG11bmQuZGUvYWwNCg== --------------aqam7V961A3wrhqXxCcfp2PB-- --------------SW3gSE6tdsH9fpqfMKzz7B8s Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEElhZsUHzVP0dbkjCRWT7tBbw+9v0FAmQ4F8gFAwAAAAAACgkQWT7tBbw+9v27 Bg//f39gzc17OGbZ+Xbd/L/d7b0vODE4UJjADjFRoceiIFUoPYi7BQNYPSAKjc+D3/qh3azc/g2q dvFzMPX+RrUJX+29Uxyu0InYYtcxHcXspDS9ZS8E3+/mWuJUeZ36M2x3a0/OnRRmWFsLnRYE5SJB XBcuykt87DdJVkjTchz1Q0ujRdkTU35eY59rpSERfmA4kffUCxJVJfj2qBoHIFLLCaN1sBG0XzhJ y0a0JjGIZ+Y9E2FNJKXQtTmuFsf2lPIikfufJs1ZLMyBFOaMr/Tdp+xbkWBOmXrGIOckbMErQgNZ yQJERh7DR/bd8DlReTrznwwe3j1aGqyKMl0hGPgBlY4SPQ78qvXL1j7IbXlKyxfHl/XdQxW7vjbT 72HHM/j7CPzSmydgxzD8IKKV0bvo6W4QbTjB0kSVRyfEOgViB9Bs6xIb2J9UABfJZ2SK0bddGv4s tceiMlLcQGCWZlnoNeEWnpT0zJS10/YAYAIrjBJUHmO4BzhApYEVon/1sjurfoDybXRTD2IJrBvL d+G5fS0vUMRDKcWl1IDCNpPYwOGPzmSYHP+/l45QysDbHrM/Mpdvb/pbmaiDnIBmfR/AcLVn+RGr j6Ce7f2P6rMekGuLNZPAiNQZGJsHRRTG5rzr+1z+X4dCVleJp+tBkMtSW8ZqOnt34kRp82kfEyUy Gho= =9eWt -----END PGP SIGNATURE----- --------------SW3gSE6tdsH9fpqfMKzz7B8s--