On F16 and F17 I am seeing lots of apps requiring access to /sys/devices/system/cpu/online
Adam Jackson
ajax at redhat.com
Fri Dec 2 19:50:43 UTC 2011
On 12/2/11 2:01 PM, Jerry James wrote:
> $ strings /lib64/libc.so.6 | grep -F cpu/online
> /sys/devices/system/cpu/online
Drilling down a bit more, it's opened from __get_nprocs, which is called
by (among much else) the malloc arena setup code. So that's going to be
pretty much every application.
The implementation of __get_nprocs hints that there might be a syscall
for finding the number of online CPUs in the future.
- ajax
More information about the devel
mailing list