Thread (8 messages) 8 messages, 4 authors, 2026-03-16

Re: [PATCH v12 1/1] rust: interop: Add list module for C linked list interface

flat view

From: "Danilo Krummrich" <dakr@kernel.org>
Date: 2026-03-12 17:42:40
Also in: amd-gfx, dri-devel, intel-gfx, intel-xe, linux-doc, lkml, nouveau, rust-for-linux

On Fri Mar 6, 2026 at 9:36 PM CET, Joel Fernandes wrote:
Add a new module `kernel::interop::list` for working with C's doubly
circular linked lists. Provide low-level iteration over list nodes.

Typed iteration over actual items is provided with a `clist_create`
macro to assist in creation of the `CList` type.

Cc: Nikola Djukic <redacted>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Gary Guo <gary@garyguo.net>
Acked-by: Miguel Ojeda <redacted>
Was this given off-list? I can't find a corresponding reply from Miguel.
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
I'm asking since I'm looking forward to pick this up as a dependency for
GPU buddy.

Thanks,
Danilo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help