In message <1349087180-11089-1-git-send-email-mar...@varnish-software.com>, Mar
tin Blix Grydeland writes:
I may have asked this before, but why not simply make a
local VTAILQ_HEAD on the stack and move everything there in one
iteration ?
Is it to not block the mutex'es too long ?
Poul-Henning
---
bin/varnishd/cache/cache.h|1 +
bin/varnishd/cache/cache_expire.c | 59 +
2 files changed, 60 insertions(+)
diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index 15db84c..7533782 100644
--- a/bin/varnishd/cache/cache.h
+++
Comments from review:
+ struct objcore *oc_array[10];
> [...]
> + while (n < 10) {
> That's a no-go, #define or sizeof please.
Changes:
Changed to use a #define for the buffer size
Martin
--
Martin Blix Grydeland
Varnish Software AS
0001-Add-a-EXP_NukeLRU-function-to-nu