[Intel-gfx] [PATCH 7/7] drm/i915: Trim unused workaround list entries

Chris Wilson chris at chris-wilson.co.uk
Mon Dec 3 12:52:45 UTC 2018


Quoting Tvrtko Ursulin (2018-12-03 12:50:14)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> The new workaround list allocator grows the list in chunks so will end up
> with some unused space. Trim it when the initialization phase is done to
> free up a tiny bit of slab.
> 
> v2:
>  * Simplify with kmemdup. (Chris Wilson)
> 
> v3:
>  * Refactor for __size removal.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk> # v2
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list