commit | 0636e9ab8355c82ff7e9d6bb8aa2ded834b1f88d | [log] [tgz] |
---|---|---|
author | Dean Luick <dean.luick@intel.com> | Thu Jul 28 15:21:27 2016 -0400 |
committer | Doug Ledford <dledford@redhat.com> | Tue Aug 02 22:46:21 2016 -0400 |
tree | cf64670bd4fbd8844f4307afb415e56639506f2d | |
parent | 2677a7680e773195a4fdabd163d756cac1b9abd7 [diff] |
IB/hfi1: Add cache evict LRU list The original code used a LRU list to evict nodes which were least recently used. For correctness the evict code was moved under the handler->lock, now add back the LRU list. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>