glibc/sysdeps
Adhemerval Zanella 472894d2cf malloc: Use __get_nprocs on arena_get2 (BZ 30945)
This restore the 2.33 semantic for arena_get2.  It was changed by
11a02b035b to avoid arena_get2 call malloc (back when __get_nproc
was refactored to use an scratch_buffer - 903bc7dcc2).  The
__get_nproc was refactored over then and now it also avoid to call
malloc.

The 11a02b035b did not take in consideration any performance
implication, which should have been discussed properly.  The
__get_nprocs_sched is still used as a fallback mechanism if procfs
and sysfs is not acessible.

Checked on x86_64-linux-gnu.
Reviewed-by: DJ Delorie <dj@redhat.com>
2023-11-22 09:39:29 -03:00
..
aarch64 aarch64: Fix libmvec benchmarks 2023-11-22 09:10:43 +00:00
alpha elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
arc
arm elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
csky
generic elf: Add all malloc tunable to unsecvars 2023-11-21 16:15:42 -03:00
gnu
hppa elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
htl
hurd
i386 elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
ia64 elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
ieee754 Avoid maybe-uninitialized warning in __kernel_rem_pio2 2023-10-16 09:59:32 +02:00
loongarch elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
m68k elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
mach malloc: Use __get_nprocs on arena_get2 (BZ 30945) 2023-11-22 09:39:29 -03:00
microblaze
mips mips: dl-machine-reject-phdr: Get rid of alloca. 2023-10-02 12:55:27 +00:00
nios2
nptl
or1k
posix linux: Decorate __libc_fatal error buffer 2023-11-07 10:27:53 -03:00
powerpc elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
pthread sysdeps: sem_open: Clear O_CREAT when semaphore file is expected to exist [BZ #30789] 2023-11-03 15:19:38 -03:00
riscv
s390 elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
sh elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
sparc elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00
unix malloc: Use __get_nprocs on arena_get2 (BZ 30945) 2023-11-22 09:39:29 -03:00
wordsize-32
wordsize-64
x86 x86: Use dl-symbol-redir-ifunc.h on cpu-tunables 2023-11-21 16:15:42 -03:00
x86_64 elf: Remove LD_PROFILE for static binaries 2023-11-21 16:15:42 -03:00