[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251008124619.3160-1-work@onurozkan.dev>
Date: Wed, 8 Oct 2025 15:46:15 +0300
From: Onur Özkan <work@...rozkan.dev>
To: rust-for-linux@...r.kernel.org
Cc: ojeda@...nel.org,
alex.gaynor@...il.com,
boqun.feng@...il.com,
gary@...yguo.net,
bjorn3_gh@...tonmail.com,
lossin@...nel.org,
aliceryhl@...gle.com,
tmgross@...ch.edu,
dakr@...nel.org,
linux-kernel@...r.kernel.org,
acourbot@...dia.com,
airlied@...il.com,
simona@...ll.ch,
maarten.lankhorst@...ux.intel.com,
mripard@...nel.org,
tzimmermann@...e.de,
corbet@....net,
lyude@...hat.com,
linux-doc@...r.kernel.org,
linux-mm@...ck.org,
Onur Özkan <work@...rozkan.dev>
Subject: [PATCH v2 0/4] rust: xarray: abstract xa_alloc and xa_alloc_cyclic
Second version of xa_alloc and xa_alloc_cyclic abstraction
patch series. See the initial version at [1].
[1]: https://lore.kernel.org/all/DDCV43KW9OGL.27I8HP4TSTQ6N@kernel.org/T/#u
This series will also be sent to linux-mm@...ck.org which was not done in
the previous submission.
Changes in v2:
- Moved the pointer check into the constructor function.
- Minor updates on the function doc-comments.
- Minor updates on xa_alloc and xa_alloc_cyclic commit descriptions.
- Replaced bindings::xa_limit with Range<u32> on xa_alloc_cyclic and
xa_alloc.
- Updated how alloc_cyclic handles the next pointer (it no longer
requires a mutable reference)
Onur Özkan (4):
rust: xarray: move pointer check into `XArray::new`
rust: xarray: abstract `xa_alloc`
rust: xarray: abstract `xa_alloc_cyclic`
remove completed task from nova-core task list
Documentation/gpu/nova/core/todo.rst | 8 ---
rust/kernel/xarray.rs | 101 +++++++++++++++++++++++++--
2 files changed, 96 insertions(+), 13 deletions(-)
--
2.51.0
Powered by blists - more mailing lists