From nobody Sat Jun 20 13:59:52 2026 X-Original-To: dev-commits-src-main@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 4gjGLl5CjYz6jc28 for ; Sat, 20 Jun 2026 14:00:15 +0000 (UTC) (envelope-from kfv@kfv.io) Received: from outbound.mr.icloud.com (mr-2002a-snip4-11.eps.apple.com [57.103.68.193]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4gjGLk6t1fz3vlG for ; Sat, 20 Jun 2026 14:00:14 +0000 (UTC) (envelope-from kfv@kfv.io) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=kfv.io header.s=sig1 header.b=dlNe69eA; dmarc=pass (policy=none) header.from=kfv.io; spf=pass (mx1.freebsd.org: domain of kfv@kfv.io designates 57.103.68.193 as permitted sender) smtp.mailfrom=kfv@kfv.io Received: from outbound.mr.icloud.com (unknown [127.0.0.2]) by p00-icloudmta-asmtp-us-west-2a-100-percent-1 (Postfix) with ESMTPS id F037D1800195; Sat, 20 Jun 2026 14:00:08 +0000 (UTC) X-ICL-Out-Info: HUtFAUMHWwJACUgATUQeDx5WFlZNRAJCTQFNHVQHRQBADlYBWQFLVxQEE1UbdwBUBhcRXE1RDw8bXw4dBFhLQBMEThMFUgddTVYNRw9YHlwUFxVBQ14IXh9MHB0OWAYSAE0KDjYGWQVeCVYDQwU2EhRdRVgLQUVbHxkVWgkKVwFDfEBxK3RfHzV4TAVAA1pzRxQ6BllxRgMxeDx3XnRaCzQAPXMGUR0cGVZGExlOG1dNWg1AGVgGbRRWFVIEWQ== Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kfv.io; s=sig1; t=1781964013; x=1784556013; bh=pMjOydHDos4iX2dLKIloWqomLEy800pqznKdmVovEYQ=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To:x-icloud-hme; b=dlNe69eA0sWNiwGJpnbpSoXwAyLMhWtoIBHRjAI7Td4nm5O01ew5xW8pmUALUUGL9l07hyPkX9tVtEY9ziaU+Wat8DTgTkXxYsosKW/DJnz66jvWwcR1v07ZzJVR/M2o0mRfG6DUkpDhXh5F6N21DdCo5UH0BpfbWW8zG7Er9TCN089Mr5jBGga67SPZ45dYmNnOEYJOMLIzXLYRRF9VpqtXQqp3LRlZbm0VSI9ukuMNA6OF8hPxI4lpcFDbGBaAgME0y+PfGQ+khQtXhC0N2CBuH3YVymeXNw6egArtsu6XP+J7NSkYR3blUVpBkrA9erK8GFzKJGIQrZ6p0tOl+Q== mail-alias-created-date: 1649693719123 Received: from smtpclient.apple (unknown [17.57.152.38]) by p00-icloudmta-asmtp-us-west-2a-100-percent-1 (Postfix) with ESMTPSA id 3359D180010E; Sat, 20 Jun 2026 14:00:05 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_F61365DD-5FB9-4E26-B25C-5F98D5D57DC8"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.100.1.1.5\)) Subject: Re: git: 9d87c1aac4a8 - main - libc: Add missing kill_dependency macro From: Faraz Vahedi In-Reply-To: <9A21692F-0B53-4303-85A8-57784BFAF8DE@kfv.io> Date: Sat, 20 Jun 2026 17:29:52 +0330 Cc: Warner Losh , alc@freebsd.org, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Message-Id: <33E8BFC4-EA46-41A7-B54F-1AADD3C19D9E@kfv.io> References: <6a35ddd4.24ba1.2ad9343d@gitrepo.freebsd.org> <9A21692F-0B53-4303-85A8-57784BFAF8DE@kfv.io> To: Konstantin Belousov X-Mailer: Apple Mail (2.3864.100.1.1.5) X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjIwMDE0MCBTYWx0ZWRfXyAn0uwX+Ouo4 NGnU4iTjeH0CjeyAbsdabFWr0WAJWbmTidBlFnQ/VT3Q+axs23QkmAblReuXO4/LiQDhvGeh3OO y9wGGsfg1MnK4JVL2jBdtt3kwHYTqRttw4nCfpLDqfKsMzE8y2n8fFMz3YtS+4qmt2LIJZNe1SY GgWxtUdRL4lSSUMQpMROAIfvMuFJIuGvdTBn72qjCm7XDX3wdcMEkJATzodHrLFw8cWc+N9pdH0 rIg2ywQlG/a0+sH1utmNSfwNnc8be2cOWV41D+zdr8LGi/qPdsiTW1e9wPZIctbkcYtLon5dM+G Fwh3P9MVA4LoKgCv1Iv X-Proofpoint-ORIG-GUID: wMO7P5zzsGwvCwEfeUwiH33PEo40rQna X-Proofpoint-GUID: wMO7P5zzsGwvCwEfeUwiH33PEo40rQna X-Spamd-Result: default: False [-5.80 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[kfv.io,none]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[kfv.io:s=sig1]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:57.103.64.0/18:c]; RWL_MAILSPIKE_GOOD(-0.10)[57.103.68.193:from]; RCVD_IN_DNSWL_LOW(-0.10)[57.103.68.193:from]; DKIM_TRACE(0.00)[kfv.io:+]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; HAS_ATTACHMENT(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:714, ipnet:57.103.68.0/22, country:US]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; RCPT_COUNT_FIVE(0.00)[6] X-Spamd-Bar: ----- X-Rspamd-Queue-Id: 4gjGLk6t1fz3vlG --Apple-Mail=_F61365DD-5FB9-4E26-B25C-5F98D5D57DC8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hey, I took another look and dug a bit deeper to make sure whether we should adopt GCC=E2=80=99s form here, and I still think we should stick = with the current one. First, although I still need to investigate further, I doubt it adds any optimisation benefits, nor would omitting it incur a penalty. More importantly, what we currently have fully conforms to the =C2=A77.17.3.1 and is therefore in its most portable form. There is also ongoing work (e.g. N3607) to retire `memory_order_consume` and obsolete `kill_dependency`, with the proposed wording being that the macro =E2=80=9Chas no other effect than its result=E2=80=9D, which = is essentially just `(y)`, right? So presumably Clang's own `` uses `(y)` for the same sort of reasons. However, I=E2=80=99m happy to discuss it further, and please do correct = me if you have data suggesting otherwise. In the meantime, I=E2=80=99ll do = a bit more research and will keep you posted if I find anything else. Cheers, Faraz --Apple-Mail=_F61365DD-5FB9-4E26-B25C-5F98D5D57DC8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEnunneCmADnpNx8ZMLdpU9MVz/74FAmo2nNgACgkQLdpU9MVz /76VpRAA08gJfK7ivNX981HwH3NNngrPCWxGvZ9ZwoAXX7Lp7h7PfB3CwF7WlwD6 1zxbPbrpf2ffY8yBrKzLLZUuak7m8yg7CfJZz4On8xzPpslkNNEm+ZG5cqyx3y+r VYTl0/EWwGdMLZ8OMctlxuVvQ1+WtcEQ/TEy7UR1/ul+rQED2pKZltG6sUJFv41U hB2ZyMOabTSkHUOXYntXwL7DgRyvpaox8gbppqCxbjksMk91lGnfoMX6qdIWN1wm seqzXbMFwHSR9QWuvfigi1yrzXY1oyfCg1txE/iJ1iezPYVNvFUzLxc8AcnY/utK 0jLPqqTGnh4u9Tn8bHQ1bJJTpyC/uUTED7fR4GIpuqsBG5H1st9CtZvnaAH+qmp5 wosbxmVYvveO0PEqrmhho9d4jdZ3sNdQPTsu9iCOdPd1JBk9Pi+BZnLwWOdwkyD8 0vP1cLYNsn2ZL87pujbc99HUwVZ004wdAJpOzjLcfxF26v9Fgj10mF61AN0QLHcw DtrxI+0v4MUk7rqY7fZrt43GNtk3gbW+DgIwahtMIqU+d/lVAJKfTuyaVHrORvJ1 czmVY1MJlpYvrkzEbY/P5sjg4/w2DlkCcZVlo+EhkYTK4vBOk5oFs2IUVbXlcliU 7Z1Wa33KdDZQ7Zl6pqARykaMhwCnT6SKzghLi31IQU/Px1w3+wE= =dPrj -----END PGP SIGNATURE----- --Apple-Mail=_F61365DD-5FB9-4E26-B25C-5F98D5D57DC8--