glibc/include/sys
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
..
auxv.h
bitypes.h
cdefs.h misc/sys/cdefs.h: Create FORTIFY redirects for internal calls 2023-07-05 16:59:48 +02:00
dir.h
epoll.h
errno.h
fcntl.h
file.h
gmon.h
gmon_out.h
ioctl.h
ipc.h
mman.h
msg.h
param.h
poll.h
prctl.h
profil.h
queue.h
random.h
resource.h
select.h misc/bits/select2.h: Clearly separate declaration from definitions 2023-07-05 16:59:48 +02:00
sem.h
sendfile.h
shm.h
signal.h
single_threaded.h
socket.h
stat.h
statfs.h
statvfs.h
sysinfo.h malloc: Use __get_nprocs on arena_get2 (BZ 30945) 2024-02-12 09:53:27 -03:00
syslog.h misc/bits/syslog.h: Clearly separate declaration from definition 2023-07-05 16:59:48 +02:00
sysmacros.h
termios.h
time.h
timeb.h
times.h
ttychars.h
types.h
uio.h
un.h
unistd.h
utsname.h
vfs.h
vlimit.h
wait.h
xattr.h