[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250720094838.29530-1-work@onurozkan.dev>
Date: Sun, 20 Jul 2025 12:48:35 +0300
From: Onur Özkan <work@...rozkan.dev>
To: rust-for-linux@...r.kernel.org
Cc: dakr@...nel.org,
ojeda@...nel.org,
alex.gaynor@...il.com,
boqun.feng@...il.com,
gary@...yguo.net,
bjorn3_gh@...tonmail.com,
lossin@...nel.org,
a.hindborg@...nel.org,
aliceryhl@...gle.com,
tmgross@...ch.edu,
linux-kernel@...r.kernel.org,
Onur Özkan <work@...rozkan.dev>
Subject: [PATCH v1 0/3] rust: make various `alloc` functions `const fn`
This patch series makes various functions in the
`alloc` crate const fn.
Each patch corresponds to a different module within
the same `alloc` crate.
Onur Özkan (3):
rust: make `allocator::aligned_size` a `const fn`
rust: make `ArrayLayout::new_unchecked` a `const fn`
rust: make `kvec::Vec` functions `const fn`
rust/kernel/alloc/allocator.rs | 2 +-
rust/kernel/alloc/kvec.rs | 10 +++++-----
rust/kernel/alloc/layout.rs | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
--
2.50.0
Powered by blists - more mailing lists