rust: alloc: implement VmallocPageIterIntroduce the VmallocPageIter type; an instance of VmallocPageIter maybe exposed by owners of vmalloc allocations to provide borrowed accessto its backing pa
rust: alloc: implement VmallocPageIterIntroduce the VmallocPageIter type; an instance of VmallocPageIter maybe exposed by owners of vmalloc allocations to provide borrowed accessto its backing pages.For instance, this is useful to access and borrow the backing pages ofallocation primitives, such as Box and Vec, backing a scatterlist.Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>Tested-by: Alexandre Courbot <acourbot@nvidia.com>Reviewed-by: Alice Ryhl <aliceryhl@google.com>Suggested-by: Alice Ryhl <aliceryhl@google.com>Link: https://lore.kernel.org/r/20250820145434.94745-4-dakr@kernel.org[ Drop VmallocPageIter::base_address(), move to allocator/iter.rs and stub VmallocPageIter for allocator_test.rs. - Danilo ]Signed-off-by: Danilo Krummrich <dakr@kernel.org>
show more ...