From 0d56e0ef2bfd32fa923ab08bb39f08fb8ed06358 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Tue, 7 Jun 2011 21:42:07 +0000 Subject: [PATCH] find_nsegment_idx: double size of the lookup cache in an attempt to mitigate the probable increase in miss rates resulting from r11798 (which causes increased numbers of such queries). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11799 --- coregrind/m_aspacemgr/aspacemgr-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coregrind/m_aspacemgr/aspacemgr-linux.c b/coregrind/m_aspacemgr/aspacemgr-linux.c index 9765ba8dd7..4d1094abee 100644 --- a/coregrind/m_aspacemgr/aspacemgr-linux.c +++ b/coregrind/m_aspacemgr/aspacemgr-linux.c @@ -1146,7 +1146,7 @@ static Int find_nsegment_idx_WRK ( Addr a ) inline static Int find_nsegment_idx ( Addr a ) { -# define N_CACHE 63 +# define N_CACHE 131 /*prime*/ static Addr cache_pageno[N_CACHE]; static Int cache_segidx[N_CACHE]; static Bool cache_inited = False; -- 2.47.2