]> err.no Git - varnish/commit
Integrate the VCL code closer in the cache process: The passed
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 30 Mar 2006 07:05:10 +0000 (07:05 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 30 Mar 2006 07:05:10 +0000 (07:05 +0000)
commitb51f3215a547f7d16d58dc394f652b9dfe8741f1
tree25d1aa653faa12c25b0ba5d339c56c4c4c6707e7
parente672f4b12583bf8a5bacb34742dc78db059a781a
Integrate the VCL code closer in the cache process:  The passed
argument will be the session structure.

Add the pool of worker threads (cache_pool).  With a unitary nature
of the VCL code, the HTTP parsing can be postponed to the worker thread.

This actually helps us with CPU cache locality as it will reduce the
amount of memory allocated on one CPU but freed on another.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@84 d4fa192b-c00b-0410-8231-f00ffab90ce4
13 files changed:
varnish-cache/bin/varnishd/Makefile.am
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_acceptor.c
varnish-cache/bin/varnishd/cache_httpd.c
varnish-cache/bin/varnishd/cache_main.c
varnish-cache/bin/varnishd/cache_pool.c [new file with mode: 0644]
varnish-cache/bin/varnishd/cache_vcl.c
varnish-cache/bin/varnishd/varnishd.c
varnish-cache/include/vcl_lang.h
varnish-cache/lib/libvcl/vcl_compile.c
varnish-cache/lib/libvcl/vcl_fixed_token.c
varnish-cache/lib/libvcl/vcl_gen_fixed_token.tcl
varnish-cache/lib/libvcl/vcl_token_defs.h