Re: [PATCH v2 1/9] rust: sizes: add SZ_4G constant

From
Miguel Ojeda <hidden>
Date
2026-09-08 19:47:34
Also in
dri-devel, linux-mm, lkml
Reply to
Ke Sun via B4 Relay, 2026-09-07
On Mon, Sep 7, 2026 at 6:48 PM Ke Sun via B4 Relay
[off-list ref] wrote:
SZ_4G is used by the Tyr driver when splitting the GPU VA range into
user and kernel regions.
The message should explain what changes, e.g. a new paragraph after
this one like "Thus add a new trait that ... and implement it for
`u64` because ...".
+const unsigned long long RUST_CONST_HELPER_SZ_4G = SZ_4G;
Is it added here to be nearby other sizes, or something else?
+/// Only implemented for `u64`.
Intra-doc link: [`u64`]

With that:

Acked-by: Miguel Ojeda <ojeda@kernel.org>

Thanks!

Cheers,
Miguel
Thread (13 messages) 13 messages, 4 authors, last reply 2026-09-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help