1. 28 Mar, 2018 1 commit
  2. 25 Jan, 2017 1 commit
  3. 02 Nov, 2016 2 commits
    • Vladimír Čunát's avatar
      lru_get_new *can* return NULL · eeec66a1
      Vladimír Čunát authored
      ... and that doesn't necessarily mean that malloc() failed.
      We do *not* want to evict a heavy-hitter by an unfrequent element.
      Note: even the implementation currently in master *did* return NULL,
      so some parts of the code were just wrongly returning ENOMEM.
    • Vladimír Čunát's avatar
      lru: new implementation and also interface · 9d5beac5
      Vladimír Čunát authored
      The implementation is now similar to set-associative caches
      that x86 CPU use.  Also the API is changed a bit, leading to
      slight simplification of our use patterns.
  4. 11 Aug, 2016 36 commits