rust: xarray: abstract xa_alloc and xa_alloc_cyclic
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 7 repliesIn review
- v13 patches 14 repliesSuperseded
Changes in v2 from the cover letter
- 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)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | rust: xarray: move pointer check into `XArray::new`rust/ | +6 | 0 replies | |
| 2/4 | rust: xarray: abstract `xa_alloc`rust/ | +40 | 7 replies | |
| 3/4 | rust: xarray: abstract `xa_alloc_cyclic`rust/ | +50 | 0 replies | |
| 4/4 | remove completed task from nova-core task listDocumentation/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [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/[email protected]/T/#u
This series will also be sent to [email protected] 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