[PATCH 1/2] drm: Track drm_mm allocators and show leaks on shutdown

2016-10-31 Thread Christian König
Am 29.10.2016 um 20:42 schrieb Chris Wilson: > We can use the kernel's stack tracer and depot to record the allocation > site of every drm_mm user and then on shutdown as well as warning that > allocated nodes still reside with the drm_mm range manager, we can also > display who allocated them to a

[PATCH 1/2] drm: Track drm_mm allocators and show leaks on shutdown

2016-10-29 Thread Chris Wilson
We can use the kernel's stack tracer and depot to record the allocation site of every drm_mm user and then on shutdown as well as warning that allocated nodes still reside with the drm_mm range manager, we can also display who allocated them to aide tracking down the leak. Signed-off-by: Chris Wil