From 33237fe83d553dff111915024c9670adc3f06048 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Netto Date: Thu, 23 Mar 2023 10:13:51 -0300 Subject: Remove --enable-tunables configure option And make always supported. The configure option was added on glibc 2.25 and some features require it (such as hwcap mask, huge pages support, and lock elisition tuning). It also simplifies the build permutations. Changes from v1: * Remove glibc.rtld.dynamic_sort changes, it is orthogonal and needs more discussion. * Cleanup more code. Reviewed-by: Siddhesh Poyarekar --- sysdeps/nptl/pthreadP.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sysdeps/nptl/pthreadP.h') diff --git a/sysdeps/nptl/pthreadP.h b/sysdeps/nptl/pthreadP.h index 536b75b582..54f9198681 100644 --- a/sysdeps/nptl/pthreadP.h +++ b/sysdeps/nptl/pthreadP.h @@ -45,11 +45,7 @@ static inline short max_adaptive_count (void) { -#if HAVE_TUNABLES return __mutex_aconf.spin_count; -#else - return DEFAULT_ADAPTIVE_COUNT; -#endif } -- cgit 1.4.1