Re: [PATCH v20 4/8] rust: page: convert to `Ownable`
From: Danilo Krummrich
Date: Tue Aug 25 2026 - 09:52:49 EST
On Mon Aug 24, 2026 at 1:17 PM CEST, Andreas Hindborg wrote:
> rust/kernel/alloc/allocator.rs | 19 +++---
> rust/kernel/alloc/allocator/iter.rs | 6 +-
Acked-by: Danilo Krummrich <dakr@xxxxxxxxxx>
> - pub unsafe fn to_page<'a>(ptr: NonNull<u8>) -> page::BorrowedPage<'a> {
> + pub unsafe fn to_page<'a>(ptr: NonNull<u8>) -> &'a page::Page {
Of course the mechanical conversion is fine as is, but while at it, mind to just
import Page, such that the odd page::Page thing goes away?
Thanks,
Danilo