]> err.no Git - varnish/commit
Move the logging of state engine states to use the diag_bitmap
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 18 Feb 2008 11:47:55 +0000 (11:47 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 18 Feb 2008 11:47:55 +0000 (11:47 +0000)
commit1d0f362f4f7ff48700bf8948b8560babff907cfd
tree3aefd97782a016f8b1cf1e31e7605953940b7cc3
parentacfc796230915a7abd114061b74f8f3d8321a486
Move the logging of state engine states to use the diag_bitmap
instead of #ifdef DIAGNOSTICS for control.

Also reduce VSL mutex cost by 50% for the common case where we have
a worker thread: We did a WSL_Flush() followed by a VSL(), doing a
WSL() before the WSL_FLush saves one VSL mutex op.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2509 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_center.c