stack ws workspace for pcre and others #1576

Poul-Henning Kamp phk at
Tue Sep 2 21:45:19 CEST 2014


I think moving pcre from stack to heap would hurt our performance
more than increasing the thread stack size.

What we really need is for pcre to tell us an estimate of how much
stack-space is needed during compilation of the REs, so that we
can refuse vcl.use if there isn't enough thread_stack for it.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-dev mailing list