Commit aa11a719 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix totally bogus file comments.

parent 9ee99237
...@@ -26,18 +26,10 @@ ...@@ -26,18 +26,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* We maintain a number of worker thread pools, to spread lock contention. * Write data to fd
* * We try to use writev() if possible in order to minimize number of
* Pools can be added on the fly, as a means to mitigate lock contention, * syscalls made and packets sent. It also just might allow the worker
* but can only be removed again by a restart. (XXX: we could fix that) * thread to complete the request without holding stuff locked.
*
* Two threads herd the pools, one eliminates idle threads and aggregates
* statistics for all the pools, the other thread creates new threads
* on demand, subject to various numerical constraints.
*
* The algorithm for when to create threads needs to be reactive enough
* to handle startup spikes, but sufficiently attenuated to not cause
* thread pileups. This remains subject for improvement.
*/ */
#include "config.h" #include "config.h"
...@@ -64,10 +56,6 @@ SVNID("$Id$") ...@@ -64,10 +56,6 @@ SVNID("$Id$")
#include "cache.h" #include "cache.h"
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
* Write data to fd
* We try to use writev() if possible in order to minimize number of
* syscalls made and packets sent. It also just might allow the worker
* thread to complete the request without holding stuff locked.
*/ */
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment