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

2019-08-16 Thread Chris Wilson
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

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

2019-08-16 Thread Matthew Auld
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: