raindrops: favor configured processor count over online count
authorEric Wong <normalperson@yhbt.net>
Thu, 11 Apr 2013 22:50:35 +0000 (22:50 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 11 Apr 2013 22:57:48 +0000 (22:57 +0000)
commitd92a3a66adab040ca935c1b3aa0f5965b4cc1d67
tree5d2a83dbed0a1f6617fa3ef8b2d53eed7dadb91f
parenta8be099aabc0661e2074e1bd4aa42fbb5139ae0d
raindrops: favor configured processor count over online count

The runnable CPUs of a process may change over the lifetime of
the process.  So favor the count of configured processor count
since that is more likely to be stable.

We do not currently do not have special handling for
hot-plugging/removal of CPUs on systems that may load raindrops
in a single CPU state.
ext/raindrops/raindrops.c