Re: [PATCH v2 3/5] rust: page: Extend support to vmalloc_to_page

From: Abdiel Janulgue
Date: Wed Oct 23 2024 - 06:27:49 EST


On 23/10/2024 11:42, Danilo Krummrich wrote:
+ ) -> Result<&'a Self, AllocError>

Please don't use `AllocError`. We're not allocating anything here.

Anyway, do we need this as a separate function at all?
Thanks. Would it make sense to squash this function into `Page::page_slice_to_page` instead?

/Abdiel