glibc/sysdeps/mach
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
..
htl
hurd hurd: Prevent the final file_exec_paths call from signals 2023-11-20 23:28:16 +01:00
i386
include
sys
x86 hurd: Drop REG_GSFS and REG_ESDS from x86_64's ucontext 2023-09-28 00:10:13 +02:00
x86_64
Makefile Use correct subdir when building tst-rfc3484* for mach and arm 2023-11-01 11:53:03 +01:00
Subdirs
_strerror.c
adjtime.c
clock_gettime.c
clock_nanosleep.c
configure
configure.ac
getloadavg.c
getpagesize.c
getsysstats.c malloc: Use __get_nprocs on arena_get2 (BZ 30945) 2023-11-22 09:39:29 -03:00
libc-lock.h
libmachuser.abilist
mach_rpc.h Update BAD_TYPECHECK to work on x86_64 2023-11-06 23:24:48 +01:00
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