Commit 04565eeb authored by Philippe Gerum's avatar Philippe Gerum

boilerplate/tlsf: raise the fixed private heap size to 64k

When --enable-pshared is passed, we currently have no mean to specify
the size of the private heap managed by TLSF.

Until this issue is fixed, increase the fixed size of the private heap
to 64k, so that running OOM in the few remaining code spots calling
the pvmalloc* API becomes unlikely.
parent aa008686
......@@ -22,7 +22,7 @@
#include <sys/types.h>
/* A basic heap size which won't be rejected by init_memory_pool(). */
#define MIN_TLSF_HEAPSZ 8192
#define MIN_TLSF_HEAPSZ 65536
extern size_t init_memory_pool(size_t, void *);
extern size_t get_used_size(void *);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment