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 EE11C72627; Thu, 10 Jul 2025 19:19:11 +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=1752175152; cv=none; b=hlWCM/blpx9ltXuwqJCfS0dsMvNs0Ky/ZPlTyHZRttUxPv1AvPsrnfpPK4CN5opOZLGZy4vylZ77a+e5PHntbVSy4WqTRZAVgedSbOXNa25ZNKfOwxY9o2UlyOVJHwtTYZIMMIk+PA0k3j/w9/xdQk/gJULhGrTpF8IbEilkHmg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752175152; c=relaxed/simple; bh=/VNtHzWlVrFxJTK4M067LDtmq1dxJcucRkdoJjYxRCk=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=qwxjzvX6ffOkgc6q+BYD+h3wVuEUUyuN2noPTV3nw8RFVH0nE57gG/ySJwy6cibTxobcprfoSMCqZrJSABs1aoYBSf3VeYZ6FjQ0VvjxDbsO15NoEom4RngDJcOFVTQcJCaWFh1VgjYwG7NgVeg3E/OkTUs5DX625AoZGxQDz9o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ERL+5YIm; 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="ERL+5YIm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE1D7C4CEE3; Thu, 10 Jul 2025 19:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1752175151; bh=/VNtHzWlVrFxJTK4M067LDtmq1dxJcucRkdoJjYxRCk=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=ERL+5YIm3WTY0Zy50rcfb2NunzB8IZCbwrOyu4jzokTU8g2PLzonM/IZ2MH382fKr PN7umPn5jx+3KbogFUTk7cPLGjDIwhV6tF8KsjLeF5VrPKn+KCZ1OPe0cQGNssiKUe KeVh+PN94mbNcx9V9T4l3XsLLqi3X/eeZ7Fs0r8uNEh3pNpNo8yEacEwWNnrxLVkR5 ASUbv5sVAemo3O8WB57d9+/ryc5jASLLJfuLiFFAJh8qN+D/PAWNpH2QzDCKb6jbKj chOs6L0QDpcZf8mIb6dRw4RcPHvgYRglYPhRa9nmWZui+mQkD4xmQyYxEcCWjomTV2 Z4lH41NcWaUMQ== Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 10 Jul 2025 21:19:05 +0200 Message-Id: Cc: "Andreas Hindborg" , , , , , "Miguel Ojeda" , "Alex Gaynor" , "Gary Guo" , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , "Alice Ryhl" , "Trevor Gross" , "Danilo Krummrich" , "Will Deacon" , "Peter Zijlstra" , "Mark Rutland" , "Wedson Almeida Filho" , "Viresh Kumar" , "Lyude Paul" , "Ingo Molnar" , "Mitchell Levy" , "Paul E. McKenney" , "Greg Kroah-Hartman" , "Linus Torvalds" , "Thomas Gleixner" , "Alan Stern" Subject: Re: [PATCH v6 3/9] rust: sync: atomic: Add ordering annotation types From: "Benno Lossin" To: "Boqun Feng" X-Mailer: aerc 0.20.1 References: <20250710060052.11955-1-boqun.feng@gmail.com> <20250710060052.11955-4-boqun.feng@gmail.com> <4Ql5DIvfmXBHoUA428q2PelaaLNBI5Mi0jE3y3YPObJLRgY73zNZzQ8Pdl2qq25VWsMQFKUpYRHHQ1e7wFaGUw==@protonmail.internalid> <87v7o0i7b8.fsf@kernel.org> In-Reply-To: On Thu Jul 10, 2025 at 5:57 PM CEST, Boqun Feng wrote: > On Thu, Jul 10, 2025 at 05:05:25PM +0200, Benno Lossin wrote: >> If it were something private, then sure use `Any`, but since this is >> public, I don't think `Any` is a good name. >>=20 > > This essentially means we keyword `Any` as a public trait name, then we > should document it somewhere, along with other names we want to keyword. Then let's restrict `Any`. --- Cheers, Benno