On Sun, 25 Oct 2026 19:28:00 -0700, Chris M. Thomasson wrote:
> A lib that never allocates behind your back is what you > want in embedded, kernel, and arena code ...
Even kernels want a common memory-management architecture, so addon modules don’t have to reinvent memory management on their own. Think of something like allocating low-priority cache memory, for stuff that can be dumped if necessary: that needs to be managed in the core of the kernel, so that if apps need regular memory for things they want to keep in memory, the kernel can free up cache as necessary to make more memory available. Stop trying to rationalize away the whole point of dynamic memory allocation.