Re: [PATCH 6/7] dma-buf: heaps: cma: Turn the heap into a module
From: T.J. Mercier
Date: Wed Feb 25 2026 - 14:54:56 EST
On Wed, Feb 25, 2026 at 8:42 AM Maxime Ripard <mripard@xxxxxxxxxx> wrote:
>
> Now that all the symbols used by the CMA heap are exported, turning the
> CMA heap into a module becomes pretty easy: we just need to add the
> usual MODULE_* macros, import the proper namespaces and change the
> Kconfig symbol to a tristate.
>
> Signed-off-by: Maxime Ripard <mripard@xxxxxxxxxx>
It'd be good to add a note that heap modules can't be unloaded (unless
we add more code to verify there are no live heap allocations). With
that:
Reviewed-by: T.J. Mercier <tjmercier@xxxxxxxxxx>