rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/3] rust: make various `alloc` functions `const fn`
@ 2025-07-20  9:48 Onur Özkan
  2025-07-20  9:48 ` [PATCH v1 1/3] rust: make `allocator::aligned_size` a " Onur Özkan
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Onur Özkan @ 2025-07-20  9:48 UTC (permalink / raw)
  To: rust-for-linux
  Cc: dakr, ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh, lossin,
	a.hindborg, aliceryhl, tmgross, linux-kernel, Onur Özkan

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-08-17 16:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-20  9:48 [PATCH v1 0/3] rust: make various `alloc` functions `const fn` Onur Özkan
2025-07-20  9:48 ` [PATCH v1 1/3] rust: make `allocator::aligned_size` a " Onur Özkan
2025-08-17 16:50   ` Miguel Ojeda
2025-07-20  9:48 ` [PATCH v1 2/3] rust: make `ArrayLayout::new_unchecked` " Onur Özkan
2025-07-20  9:48 ` [PATCH v1 3/3] rust: make `kvec::Vec` functions " Onur Özkan
2025-07-20 14:43 ` [PATCH v1 0/3] rust: make various `alloc` " Benno Lossin
2025-07-20 15:17   ` Onur Özkan
2025-07-20 15:42     ` Miguel Ojeda
2025-07-21  6:13       ` Onur Özkan
2025-07-21 20:13         ` Miguel Ojeda
2025-07-21 11:31 ` Alice Ryhl
2025-08-15 18:01 ` Danilo Krummrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).