[master] 8ea006eef does the umem backend affect the amount of malloc NULL returns in vtest?

Nils Goroll nils.goroll at uplex.de
Mon Jan 13 17:36:06 UTC 2020


commit 8ea006eef403f2126f399d531568a49d1dafa28b
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Jan 13 18:34:49 2020 +0100

    does the umem backend affect the amount of malloc NULL returns in vtest?

diff --git a/bin/varnishd/storage/storage_umem.c b/bin/varnishd/storage/storage_umem.c
index 5ce3ce3d7..644aab5cb 100644
--- a/bin/varnishd/storage/storage_umem.c
+++ b/bin/varnishd/storage/storage_umem.c
@@ -94,7 +94,7 @@ static umem_cache_destroy_f umem_cache_destroyf = NULL;
 static umem_cache_alloc_f umem_cache_allocf = NULL;
 static umem_cache_free_f umem_cache_freef = NULL;
 
-static const char * const def_umem_options = "perthread_cache=0,backend=mmap";
+static const char * const def_umem_options = "perthread_cache=0";
 static const char * const env_umem_options = "UMEM_OPTIONS";
 
 /* init required per cache get:


More information about the varnish-commit mailing list