0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd::allocator: Set narenas=1 for je.

This commit is contained in:
Jason Volk 2019-08-22 08:49:16 -07:00
parent 8ad0d46cff
commit b0f1487a22

View file

@ -19,6 +19,15 @@ namespace ircd::allocator
extern info::versions je_malloc_version_abi;
}
#if defined(IRCD_ALLOCATOR_USE_JEMALLOC) && defined(HAVE_JEMALLOC_H)
const char *
__attribute__((weak))
malloc_conf
{
"narenas:1,"
};
#endif
decltype(ircd::allocator::je_malloc_version_api)
ircd::allocator::je_malloc_version_api
{