[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DB6O0NWIIQT8.28POWW36WI5Z1@kernel.org>
Date: Tue, 08 Jul 2025 14:16:51 +0200
From: "Danilo Krummrich" <dakr@...nel.org>
To: "Vitaly Wool" <vitaly.wool@...sulko.se>
Cc: <linux-mm@...ck.org>, <akpm@...ux-foundation.org>,
<linux-kernel@...r.kernel.org>, "Uladzislau Rezki" <urezki@...il.com>,
"Alice Ryhl" <aliceryhl@...gle.com>, "Vlastimil Babka" <vbabka@...e.cz>,
<rust-for-linux@...r.kernel.org>
Subject: Re: [PATCH v11 4/4] rust: support large alignments in allocations
On Mon Jul 7, 2025 at 6:49 PM CEST, Vitaly Wool wrote:
> impl ReallocFunc {
> - // INVARIANT: `krealloc_node` satisfies the type invariants.
> - const KREALLOC: Self = Self(bindings::krealloc_node);
> + // INVARIANT: `krealloc_node_align` satisfies the type invariants.
> + const KREALLOC: Self = Self(bindings::krealloc_node_align);
>
> - // INVARIANT: `vrealloc_node` satisfies the type invariants.
> - const VREALLOC: Self = Self(bindings::vrealloc_node);
> + // INVARIANT: `vrealloc_node_align` satisfies the type invariants.
> + const VREALLOC: Self = Self(bindings::vrealloc_node_align);
>
> - // INVARIANT: `kvrealloc_node` satisfies the type invariants.
> - const KVREALLOC: Self = Self(bindings::kvrealloc_node);
> + // INVARIANT: `kvrealloc_node_align` satisfies the type invariants.
> + const KVREALLOC: Self = Self(bindings::kvrealloc_node_align);
Please also adjust the corresponding type invariant. With that,
Acked-by: Danilo Krummrich <dakr@...nel.org>
Powered by blists - more mailing lists