HomeFreeBSD

Glibc get_nprocs() and get_nprocs_conf() uses the sysfs cpu infrastructure

Description

Glibc get_nprocs() and get_nprocs_conf() uses the sysfs cpu infrastructure
to get number of processors. Implement /sys/devices/system/cpu/.

MFC after: 1 month

Details

Provenance
dchaginAuthored on
Parents
rS315505: Implement getrandom() syscall.
Branches
Unknown
Tags
Unknown