Skip to content

mt8183 | mt8365: android: spl: enable malloc pool

Julien Masson requested to merge jmasson/malloc into mtk-v2023.01

malloc_simple has several limitations, we cannot free the memory allocated by malloc.

In some scenarios like flashing data through fastboot, we can easily reach limit since the memory is never freed.

We now use the malloc pool implementation to avoid these limitations.

We also reduce malloc size, 144 MB should be enough.

Merge request reports