[PATCH 3/3] drm/ttm: roundup the shrink request to prevent skip huge pool

Chris Wilson chris at chris-wilson.co.uk
Wed Nov 22 11:52:46 UTC 2017


Quoting Roger He (2017-11-22 11:44:29)
> e.g. shrink reqeust is less than 512, the logic will skip huge pool

You should also tell the shrinker that you skipped objects so that it
knows to accumulate the request for the next pass. See
shrinkctl->nr_scanned.
-Chris


More information about the dri-devel mailing list