Bruce Momjian wrote: >>Anyone see an attack path here? >> >> > >Should we have one lock per hash bucket rather than one for the entire >hash? > > That's the simple part. The problem is the aging strategy: we need a strategy that doesn't rely on a global list that's updated after every lookup. If I understand the ARC code correctly, there is a STRAT_MRU_INSERT(cdb, STRAT_LIST_T2) that happen in every lookup.
-- Manfred ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]