lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DCNEDWOWA73X.W2YXXSB09J2G@nvidia.com>
Date: Mon, 08 Sep 2025 20:55:15 +0900
From: "Alexandre Courbot" <acourbot@...dia.com>
To: "Alexandre Courbot" <acourbot@...dia.com>, "Miguel Ojeda"
 <ojeda@...nel.org>, "Alex Gaynor" <alex.gaynor@...il.com>, "Boqun Feng"
 <boqun.feng@...il.com>, "Gary Guo" <gary@...yguo.net>,
 Björn Roy Baron <bjorn3_gh@...tonmail.com>, "Benno Lossin"
 <lossin@...nel.org>, "Andreas Hindborg" <a.hindborg@...nel.org>, "Alice
 Ryhl" <aliceryhl@...gle.com>, "Trevor Gross" <tmgross@...ch.edu>, "Danilo
 Krummrich" <dakr@...nel.org>
Cc: <linux-kernel@...r.kernel.org>, <rust-for-linux@...r.kernel.org>,
 <nouveau@...ts.freedesktop.org>
Subject: Re: [PATCH v4 0/2] rust: add `Alignment` type

On Thu Aug 21, 2025 at 9:42 PM JST, Alexandre Courbot wrote:
> Basically a resend of the previous version, plus fixes to build with the
> MSRV (1.78).
>
> The first patch makes two additions:
>
> - Bring an equivalent of the nightly upstream `Alignment` type [2] with
>   an identical public interface,
> - Add a new `Alignable` extension trait that provides a way to align
>   values up or down according to an `Alignment`, and implement it on
>   unsigned integer types.
>
> The second patch makes use of these in the Nova driver.
>
> [3] is recommended as a dependency, a small cleanup preventing an unwrap
> upon applying this series.
>
> [1] https://github.com/rust-lang/libs-team/issues/631
> [2] https://doc.rust-lang.org/std/ptr/struct.Alignment.html
> [3] https://lore.kernel.org/rust-for-linux/20250808-falcondma_256b-v1-1-15f911d89ffd@nvidia.com/
>
> Signed-off-by: Alexandre Courbot <acourbot@...dia.com>

Gentle ping for this feature, how are we feeling about it?


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ