]> err.no Git - varnish/commit
Polish up the malloc allocator to make it more useful for test and
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Apr 2008 15:34:57 +0000 (15:34 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Apr 2008 15:34:57 +0000 (15:34 +0000)
commit851e9b714a923206525ecbeee0984559ed352479
treed2f30e60a15bb471e282976a562ff20484747a93
parent9b8a95a68d0ba97e2ddeb92994d06b34c66fe190
Polish up the malloc allocator to make it more useful for test and
debugging:

Implement an upper limit for allocated memory, specify as:
-smalloc,40M

Give the malloc allocator its own stats counters so we can see deeply
into what it does.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2629 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/storage_malloc.c
varnish-cache/include/stat_field.h