[glibc] Fix Linux sysconf(_SC_NPROCESSORS_[CONF|ONLN]) performance problem

Roland McGrath roland@hack.frob.com
Thu Jun 16 18:11:00 GMT 2011


I believe the definition of _SC_NPROCESSORS_ONLN is that it returns a
system-wide value.  So it would be wrong for it to be affected by
sched_setaffinity on a particular process.


Thanks,
Roland



More information about the Libc-alpha mailing list