Implement the reluctancy to unpark threads.
authorPierre Habouzit <pierre.habouzit@intersec.com>
Sat, 14 Jan 2012 20:01:47 +0000 (21:01 +0100)
committerPierre Habouzit <pierre.habouzit@intersec.com>
Sat, 14 Jan 2012 20:01:47 +0000 (21:01 +0100)
This means that a pool needs to undercommit for 0.1s before we allow it to
grow its number of in-pool threads.

Document the last todo: how to reduce the pool when we're overcommiting.
Right now we only pray that userland will put some threads to WAIT. But
frankly it's less than ideal. With the repulsion to start a new thread we
hope though that the overcommit will never ever grow out of proportion for
now.

Signed-off-by: Pierre Habouzit <pierre.habouzit@intersec.com>

No differences found