Re: [PATCH RFC 4/4] samples: rust: Add sample demonstrating DRM buddy allocator
From: Alexandre Courbot
Date: Sat Nov 01 2025 - 01:12:25 EST
On Fri Oct 31, 2025 at 4:06 AM JST, Joel Fernandes wrote:
> Demonstrates usage of the DRM buddy allocator bindings through
> a simple test module that initializes the allocator, performs
> allocations, and prints information about the allocated blocks.
>
> Signed-off-by: Joel Fernandes <joelagnelf@xxxxxxxxxx>
If this can be run as a kunit test (and it looks like it does?), I think
this would be more useful as a module-level doctest of `buddy.rs`, where
it can also be useful for educational purposes.