enabling mpss on solaris/illumos.

reusing slighty linux configuration as possible, aligning the
 address range to HUGEPAGE.
This commit is contained in:
David Carlier
2020-07-04 16:09:27 +01:00
committed by David Goldblatt
parent c2e7a06392
commit 00f06c9beb
5 changed files with 34 additions and 4 deletions

View File

@@ -1533,7 +1533,7 @@ malloc_conf_init_helper(sc_data_t *sc_data, unsigned bin_shard_sizes[SC_NBINS],
for (int i = 0; i < thp_mode_names_limit; i++) {
if (strncmp(thp_mode_names[i],v, vlen)
== 0) {
if (!have_madvise_huge) {
if (!have_madvise_huge && !have_memcntl) {
CONF_ERROR(
"No THP support",
k, klen, v, vlen);