glibc/sysdeps/mach
Adhemerval Zanella 506e47da1d 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>

(cherry picked from commit 472894d2cf)
2024-02-12 09:53:27 -03:00
..
htl
hurd configure: Use autoconf 2.71 2023-07-17 10:08:10 -04:00
i386
include
sys
x86
x86_64
Makefile
Subdirs
_strerror.c
adjtime.c
clock_gettime.c
clock_nanosleep.c
configure configure: Use autoconf 2.71 2023-07-17 10:08:10 -04:00
configure.ac
getloadavg.c
getpagesize.c
getsysstats.c malloc: Use __get_nprocs on arena_get2 (BZ 30945) 2024-02-12 09:53:27 -03:00
libc-lock.h
libmachuser.abilist
mach_rpc.h
mprotect.c
msync.c
munmap.c
pagecopy.h
readonly-area.c
sched_yield.c
sleep.c
strerror_l.c
sysdep.h
thread_state.h
usleep.c
xpg-strerror.c