From eae4ca587c80d42d6a4fd633df50e86e43f8dfed Mon Sep 17 00:00:00 2001 From: Henrik Nordstrom Date: Wed, 19 Aug 2009 22:29:33 +0200 Subject: [PATCH] Revert an evil optimization from the memcache change --- src/store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store.cc b/src/store.cc index 3c114bb66d..29c097384a 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1840,7 +1840,7 @@ StoreEntry::trimMemory() return; if (!swapOutAble()) { - if (!EBIT_TEST(flags, KEY_PRIVATE) && mem_obj->policyLowestOffsetToKeep(0) == 0) { + if (mem_obj->policyLowestOffsetToKeep(0) == 0) { /* Nothing to do */ return; } -- 2.47.2