mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-25 14:23:12 +00:00
enabling mpss on solaris/illumos.
reusing slighty linux configuration as possible, aligning the address range to HUGEPAGE.
This commit is contained in:
committed by
David Goldblatt
parent
c2e7a06392
commit
00f06c9beb
@@ -1879,6 +1879,14 @@ if test "x$have__pthread_mutex_init_calloc_cb" = "x1" ; then
|
||||
wrap_syms="${wrap_syms} _malloc_prefork _malloc_postfork"
|
||||
fi
|
||||
|
||||
AC_CHECK_FUNC([memcntl],
|
||||
[have_memcntl="1"],
|
||||
[have_memcntl="0"],
|
||||
)
|
||||
if test "x$have_memcntl" = "x1" ; then
|
||||
AC_DEFINE([JEMALLOC_HAVE_MEMCNTL], [ ])
|
||||
fi
|
||||
|
||||
dnl Disable lazy locking by default.
|
||||
AC_ARG_ENABLE([lazy_lock],
|
||||
[AS_HELP_STRING([--enable-lazy-lock],
|
||||
|
||||
Reference in New Issue
Block a user