From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75A9417C211 for ; Wed, 18 Feb 2026 00:31:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771374665; cv=none; b=P8UywsLetK8MDxcyD4XU25DZy94rxCIznB7Vk0jh+h+TxZ1ekPpxahfCNosqURtHJ4nX4MyOay17itK7BiubTQk3b1c4QaLA+6pMN3/BF/inRRTBVNwgJ8YFeCjn1eDgHAhvTImudsRnUg9EkfCyhfLxrp2UwopSZjo0r02gxfM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771374665; c=relaxed/simple; bh=eIpUHpxrlVS/XjTTatE02UCR6KEypG1WtKfQZrxLVCg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Z54n+c8ej/y2/w0EhjAwWEHya6qX9zHXeHSTbBuAUQb8pHR8mbtlWbWiOrlpUVlRwejjP8HcTbb5ZJrIvDRypiTY/6DMGqJSGlsY0jUkWd3/Sp2bEz7mC5FcjEuYr27Z1cBtrfqNhYeRmU4HUKt9hr02nhdoxvmTYwM9U2GYpSE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LY0jX+/j; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LY0jX+/j" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 640AAC4CEF7; Wed, 18 Feb 2026 00:31:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771374665; bh=eIpUHpxrlVS/XjTTatE02UCR6KEypG1WtKfQZrxLVCg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LY0jX+/jppMh3b8v2at3sdq3E/Y7z6JaYz5UT7FsII5QQKlCMMcsHajrBTuSad/1s OnqQRQZN6FYVIfWUCh7p3m5yMsm4pmmeZILxn0InrxW2wB7mmbbWNNLpnrTtBI1NJw DQzDA6BJ3C+EFLDdMRZz7ZQfSzOvzCCgu9n70AISuYDaXNtpVXwNfnDzfYYQYzrOVA DHWV0jS9Kh9JTG717QmyUkFEe4HDWgKrTSTZlE1g+YBJ/LE1pYCdhDioB18ajUV9IT gHF4otAuqn6qqu7PZwdKT97fEcWpER34IfaLfyIVBa3PHut3FL+QV18apG/WdmTlUq ggiLOkw68A2tQ== Date: Wed, 18 Feb 2026 01:31:01 +0100 From: Alejandro Colomar To: =?utf-8?B?0L3QsNCx?= Cc: linux-man@vger.kernel.org Subject: Re: [PATCH v13] futex_waitv.2: new page Message-ID: References: Precedence: bulk X-Mailing-List: linux-man@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="h2qbxpgtmmpowwr3" Content-Disposition: inline In-Reply-To: --h2qbxpgtmmpowwr3 Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable From: Alejandro Colomar To: =?utf-8?B?0L3QsNCx?= Cc: linux-man@vger.kernel.org Subject: Re: [PATCH v13] futex_waitv.2: new page Message-ID: References: MIME-Version: 1.0 In-Reply-To: Hi =D0=BD=D0=B0=D0=B1, On 2026-02-17T17:17:03+0100, =D0=BD=D0=B0=D0=B1 wrote: > On Tue, Feb 17, 2026 at 04:46:28PM +0100, Alejandro Colomar wrote: > > silence; let me know your opinion: > >=20 > > .tmp/man/man2/futex_waitv.2.d/futex_waitv.c:36:13: error: implicit use= of sequentially-consistent atomic may incur stronger memory barriers than = necessary [clang-diagnostic-atomic-implicit-seq-cst,-warnings-as-errors] > > 36 | usleep(*futex * 10000); > > | ^ > >=20 > >=20 > > .tmp/man/man2/futex_waitv.2.d/futex_waitv.c:37:13: error: implicit use= of sequentially-consistent atomic may incur stronger memory barriers than = necessary [clang-diagnostic-atomic-implicit-seq-cst,-warnings-as-errors] > > 37 | *futex *=3D 2; > > | ^ > >=20 > > I have little knowledge about atomics, so can't judge, but the code > > seems good to me. Please confirm. > Yeah, that's okay. Worst-case is it'll be marginally slower than > something more verbose that specifies... acqrel? which would be minimal h= ere. > But that doesn't matter for example code. Thanks! Applied and pushed. In a moment, I'll send a patch to refactor the page, to see what you think of it. Have a lovely night! Alex --=20 --h2qbxpgtmmpowwr3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmmVCEUACgkQ64mZXMKQ wqk6HhAAgwxQJ1wcquS6HnhzwkN7vpl5OvlPYw0klpCkPZXBxFh/qYlYlIwgTwDd uuiDnW7vHY+sTQCgdhyT91HPZhyTmdsmgy5PmRXNqUxmJXRgZNoTFvcfuusSvuUu q0wdL7p0cY76YboWt4Kg3H2JrufKFRaaM3lztq1LhryQAXSRwCypl4G12VycBH/L rI3qeJHatpAjE5yqvkXR2b90IfUImPNCzsRQe2NBlyEDuxncDj79iT0V3dKRSXNU VglqLCMKHZInjKv8Kl/bKGcQ7fZf/+imEzn216MEtrUDIdx3bR10iMwhTWA0pJN9 K1bl7dOIRyH2+FOTN2VC4srfA6PAwTV8wGI2SqufHH7xRbqcmdE830l2OFYTK8sr 7C8SK/7iXTilFDtDcECe3MUA215OGxzeR2Td/SFUJOB42IwpqdYmXDYtgS8PRUKZ Q1KDdtupOi+7dj+0rQ+M6AU0kMGa/sTqk3awm2lXxndJ2odAoBWfAEKJFdCm48Iq n7xzFAQxpCWGEPAmVl5bXTwixxV7MAoU7xDb06cwvFVUcbmoLRzBJnGG96iFgEWo nKKRjNqLxwvpoRgxmmEEPKssWFjRy9EqCYaAdhrto55lvG+BEkteGdEVNydNAXV+ lLWl5/6TqlY+9z102hJIaGaI8B9P9pWaTDVwsIipRp1xoE9jSVk= =0y3o -----END PGP SIGNATURE----- --h2qbxpgtmmpowwr3--