Quoting Matthew Auld (2020-11-27 12:06:44)
From: CQ Tang cq.tang@intel.com
Function i915_gem_shrink_memory_region() is changed to intel_memory_region_evict() and moved from i915_gem_shrinker.c to intel_memory_region.c, this function is used to handle local memory swapping, in addition to evict purgeable objects only.
We really do not want to conflate the system shrinker with eviction. Reservation based eviction looks nothing like the shrinker. -Chris