]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Add cache evict LRU list
authorDean Luick <dean.luick@intel.com>
Thu, 28 Jul 2016 19:21:27 +0000 (15:21 -0400)
committerDoug Ledford <dledford@redhat.com>
Wed, 3 Aug 2016 02:46:21 +0000 (22:46 -0400)
commit75f44298dd537376a0eac399f933ba6ce2b6415c
treecf64670bd4fbd8844f4307afb415e56639506f2d
parente645bc3cde1d92a8f578e1eb631c627b13d8c57a
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>
drivers/infiniband/hw/hfi1/mmu_rb.c