[Intel-gfx] [PATCH 2/2] drm/i915/buddy: use kmemleak_update_trace

Chris Wilson chris at chris-wilson.co.uk
Fri Aug 16 10:57:10 UTC 2019


Quoting Matthew Auld (2019-08-16 11:53:57)
> Since nodes are cached in a free-list, and potentially marked as free
> without actually being destroyed, thus allowing them to be
> opportunistically re-allocated, we should apply kmemleak_update_trace
> every time a node is given a new owner and marked as allocated, to aid
> in debugging.
> 
> Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list