[Bug 107899] ANV driver doesn't release memory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 14 20:39:48 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107899

--- Comment #5 from Chris Wilson <chris at chris-wilson.co.uk> ---
The accumulation of i915_request implies there is a fence leak. Assuming it is
not internal (an unmatched dma_fence_get/dma_fence_put), all userspace owners
would be tied to an fd and eventually one would notice the fd exhaustion (after
a few million depending on rlimit). But for the fd to stick around requires the
process to be kept alive, which would imply the fence fd being passed to a
display server. I don't think that is how fences are handled under X, which
makes the likelihood of it being a singular userspace fence leak less likely.

'ls -1 /proc/$suspect/fd/ | wc -l' might be interesting to watch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180914/0fdc2d98/attachment.html>


More information about the intel-gfx-bugs mailing list