diff options
| author | Matthew Auld <matthew.auld@intel.com> | 2019-08-16 11:53:57 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-08-16 16:28:41 +0100 |
| commit | 3ba09632ce8bd42d1e4b57a6a423dcab937e211b (patch) | |
| tree | 382516d0c036e82fe98e294ace4f4ae38162e957 /tools/perf/scripts/python | |
| parent | drm/i915/buddy: tidy up i915_buddy_fini (diff) | |
| download | linux-3ba09632ce8bd42d1e4b57a6a423dcab937e211b.tar.gz linux-3ba09632ce8bd42d1e4b57a6a423dcab937e211b.zip | |
drm/i915/buddy: use kmemleak_update_trace
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@chris-wilson.co.uk>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190816105357.14340-2-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
