[Intel-gfx] [PATCH 01/10] drm/i915: Only attempt to scan the requested number of shrinker slabs

Chris Wilson chris at chris-wilson.co.uk
Thu Jan 18 09:19:03 UTC 2018


Quoting Tvrtko Ursulin (2018-01-17 10:29:51)
> 
> On 15/01/2018 21:24, Chris Wilson wrote:
> > Since commit 4e773c3a8a69 ("drm/i915: Wire up shrinkctl->nr_scanned"),
> 
> Sounds like it deserves this in the Fixes: tag as well?

On second thoughts, that we ask to free sc->nr_to_scan - sc->nr_scanned,
so we shouldn't let that underflow! Fixes is then deserved.
-Chris


More information about the Intel-gfx mailing list