diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-02-19 02:31:53 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-02-19 02:34:36 -0500 |
commit | 22804c0391f0549356959e1b474c43bfcba1b8cb (patch) | |
tree | 76c4cb6afebf9c2520a7ed11d0a9953d07843fc9 /changes/bug8002 | |
parent | 59fc77e29b17840bf403d9ee9245846ad807b12d (diff) | |
download | tor-22804c0391f0549356959e1b474c43bfcba1b8cb.tar tor-22804c0391f0549356959e1b474c43bfcba1b8cb.tar.gz |
Check for CPUs more accurartely when ONLN != CONF.
There are two ways to use sysconf to ask about the number of
CPUs. When we're on a VM, we would sometimes get it wrong by asking
for the number of total CPUs (say, 64) when we should have been asking
for the number of CPUs online (say, 1 or 2).
Fix for bug 8002.
Diffstat (limited to 'changes/bug8002')
-rw-r--r-- | changes/bug8002 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug8002 b/changes/bug8002 new file mode 100644 index 000000000..d6e2ff249 --- /dev/null +++ b/changes/bug8002 @@ -0,0 +1,5 @@ + o Minor bugfixes: + - When autodetecting the number of CPUs, use the number of available + CPUs in preferernce to the number of configured CPUs. Inform the + user if this reduces the number of avialable CPUs. Fix for bug 8002. + Bugfix on 0.2.3.1-alpha. |