[master] aa11a71 Fix totally bogus file comments.

Poul-Henning Kamp phk at varnish-cache.org
Mon Apr 18 12:39:31 CEST 2011


commit aa11a719eddb82c2336f5f807acd7431c87363d7
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Apr 18 10:09:39 2011 +0000

    Fix totally bogus file comments.

diff --git a/bin/varnishd/cache_wrw.c b/bin/varnishd/cache_wrw.c
index 2340aa3..8b79347 100644
--- a/bin/varnishd/cache_wrw.c
+++ b/bin/varnishd/cache_wrw.c
@@ -26,18 +26,10 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * We maintain a number of worker thread pools, to spread lock contention.
- *
- * Pools can be added on the fly, as a means to mitigate lock contention,
- * but can only be removed again by a restart. (XXX: we could fix that)
- *
- * 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.
+ * 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.
  */
 
 #include "config.h"
@@ -64,10 +56,6 @@ SVNID("$Id$")
 #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



More information about the varnish-commit mailing list