Optimize shmlog writing:
If we know the record length, only hold the mutex while we reserve the space. Until we change the first byte, nothing bad can happen. XXX: a memory barrier is strictly speaking necessary before we assign the first byte. If there are no '%' in the format string, treat as fixed length for speed. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@895 d4fa192b-c00b-0410-8231-f00ffab90ce4
Showing
Please register or sign in to comment