From 84e2a551a72c79b020694bb327e33b6d71b09b63 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 22 Jun 2011 10:32:07 -0400 Subject: Use a /sys/devices/system/cpu/online for _SC_NPROCESSORS_ONLN implementation --- ChangeLog | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 9cef65ae02..68409c9354 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2011-06-22 Ulrich Drepper + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use + /sys/devices/system/cpu/online if it is usable. + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit reading the information from the /proc filesystem to once a second. -- cgit v1.2.3-70-g09d2