Thread (27 messages) 27 messages, 5 authors, 28d ago

Re: [PATCH v17 05/10] rust: page: convert to `Ownable`

From: Andreas Hindborg <a.hindborg@kernel.org>
Date: 2026-06-23 13:13:11
Also in: dri-devel, driver-core, linux-block, linux-fsdevel, linux-mm, linux-pci, linux-pm, lkml, rust-for-linux

Alice Ryhl [off-list ref] writes:
On Thu, Jun 4, 2026 at 10:14 PM Andreas Hindborg [off-list ref] wrote:
quoted
From: Asahi Lina <redacted>

This allows Page references to be returned as borrowed references,
without necessarily owning the struct page.

Signed-off-by: Asahi Lina <redacted>
[ Andreas: Fix formatting and add a safety comment. ]
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
This will not compile unless Rust Binder is also updated.
I'll be sure to build test against binder.


Best regards,
Andreas Hindborg


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