]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dma-buf: heaps: system: Turn the heap into a module
authorMaxime Ripard <mripard@kernel.org>
Mon, 27 Apr 2026 10:04:59 +0000 (12:04 +0200)
committerSumit Semwal <sumit.semwal@linaro.org>
Thu, 21 May 2026 15:27:16 +0000 (20:57 +0530)
commitfd55edff8a0abe1b198af9a4280bfb208b9d2ab7
tree3412318ae8999dc99aa8bbc15e7f8b52cfaf6247
parent10bb37fc624cfcc1d10e0ebfc1b829401abba91e
dma-buf: heaps: system: Turn the heap into a module

The system heap can be easily turned into a module by adding the usual
MODULE_* macros, importing the proper namespaces and changing the
Kconfig symbol to a tristate.

This heap won't be able to unload though, since we're missing a lot of
infrastructure to make it safe.

Reviewed-by: T.J. Mercier <tjmercier@google.com>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patch.msgid.link/20260427-dma-buf-heaps-as-modules-v5-3-b6f5678feefc@kernel.org
drivers/dma-buf/heaps/Kconfig
drivers/dma-buf/heaps/system_heap.c