Re: On F16 and F17 I am seeing lots of apps requiring access to /sys/devices/system/cpu/online

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux