Disable percpu_arena by default.

This commit is contained in:
Jason Evans
2017-05-23 10:53:36 -07:00
parent 196a53c2ae
commit 36195c8f4d
5 changed files with 36 additions and 11 deletions

View File

@@ -48,6 +48,7 @@ configure_flag_unusuals = [
malloc_conf_unusuals = [
'tcache:false',
'dss:primary',
'percpu_arena:percpu',
]
all_unusuals = (
@@ -77,8 +78,9 @@ for unusual_combination in unusual_combinations_to_test:
malloc_conf = [
x for x in unusual_combination if x in malloc_conf_unusuals]
# Filter out an unsupported configuration - dss on OS X.
if os == 'osx' and 'dss:primary' in malloc_conf:
# Filter out unsupported configurations on OS X.
if os == 'osx' and ('dss:primary' in malloc_conf or \
'percpu_arena:percpu' in malloc_conf):
continue
if len(malloc_conf) > 0:
configure_flags.append('--with-malloc-conf=' + ",".join(malloc_conf))