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

Samuel Thibault samuel.thibault@ens-lyon.org
Thu Jun 16 18:25:00 GMT 2011


Ulrich Drepper, le Thu 16 Jun 2011 14:17:27 -0400, a écrit :
> On Thu, Jun 16, 2011 at 14:07, Linus Torvalds
> <torvalds@linux-foundation.org> wrote:
> > But the caching is needed, because whatever the process wants, I
> > guarantee that it doesn't want "slow and crappy".
> 
> And how do we find out when the system changes?

BTW, AIX defines a non-standard SIGRECONFIG signal for this.

Samuel



More information about the Libc-alpha mailing list