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 htl: Let Mach place thread stacks 2023-07-03 01:25:33 +02:00
hurd configure: Use autoconf 2.71 2023-07-17 10:08:10 -04:00
i386
include
sys
x86 mach: Define MACHINE_THREAD_STATE_SETUP_CALL 2023-05-17 22:52:39 +02:00
x86_64
Makefile
Subdirs
_strerror.c
adjtime.c
clock_gettime.c hurd: Fix __TIMESIZE on x86_64 2023-05-19 20:25:37 +02:00
clock_nanosleep.c
configure configure: Use autoconf 2.71 2023-07-17 10:08:10 -04:00
configure.ac mach: Fix installing mach_i386.h 2023-05-23 01:47:05 +02:00
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 mach: strerror must not return NULL (bug 30555) 2023-07-02 11:27:51 +00:00
sysdep.h
thread_state.h mach: Define MACHINE_THREAD_STATE_SETUP_CALL 2023-05-17 22:52:39 +02:00
usleep.c
xpg-strerror.c