mirror of
https://github.com/matrix-construct/construct
synced 2024-09-29 12:18:54 +02:00
ircd::allocator: Set narenas=1 for je.
This commit is contained in:
parent
8ad0d46cff
commit
b0f1487a22
1 changed files with 9 additions and 0 deletions
|
@ -19,6 +19,15 @@ namespace ircd::allocator
|
||||||
extern info::versions je_malloc_version_abi;
|
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)
|
decltype(ircd::allocator::je_malloc_version_api)
|
||||||
ircd::allocator::je_malloc_version_api
|
ircd::allocator::je_malloc_version_api
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue