diff options
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2011-06-07 21:42:07 +0000 |
---|---|---|
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2011-06-07 21:42:07 +0000 |
commit | bbfcb260e026d9da39f5528677f23f619ed686cd (patch) | |
tree | 76f0a264eac0e7d34f8d8095a3d29350dbdbd331 | |
parent | 6dbcc639e7138f80cf82f5bbcd426df0a293eb0d (diff) |
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 a5019735-40e9-0310-863c-91ae7b9d1cf9
-rw-r--r-- | coregrind/m_aspacemgr/aspacemgr-linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coregrind/m_aspacemgr/aspacemgr-linux.c b/coregrind/m_aspacemgr/aspacemgr-linux.c index 9765ba8d..4d1094ab 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; |