[PATCH v2 0/2] Make the Rust linked list cursor point between elements

Alice Ryhl posted 2 patches 11 months ago
There is a newer version of this series
rust/kernel/list.rs | 401 ++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 308 insertions(+), 93 deletions(-)
[PATCH v2 0/2] Make the Rust linked list cursor point between elements
Posted by Alice Ryhl 11 months ago
Please see the commit message of the last patch for more details and
motivation.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
Changes in v2:
- Extract insert_inner refactor to separate patch.
- Make move_next/move_prev not wrap around.
- Add some examples.
- Link to v1: https://lore.kernel.org/r/20241025-cursor-between-v1-1-08913714aae5@google.com

---
Alice Ryhl (2):
      rust: list: extract common code for insertion
      rust: list: make the cursor point between elements

 rust/kernel/list.rs | 401 ++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 308 insertions(+), 93 deletions(-)
---
base-commit: ceff0757f5dafb5be5205988171809c877b1d3e3
change-id: 20241016-cursor-between-154bed859e27

Best regards,
-- 
Alice Ryhl <aliceryhl@google.com>