Summary: | gem_objects and virtual memory leak | ||
---|---|---|---|
Product: | DRI | Reporter: | Miron C <c1.freedesktop> |
Component: | DRM/Intel | Assignee: | Chris Wilson <chris> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | jbarnes |
Version: | unspecified | Keywords: | NEEDINFO |
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Miron C
2010-12-11 17:38:50 UTC
It would have better had you not chosen a kernel with a known memory leak. That one leaks a vma for every mapped object... This is the kernel on the current version of Ubuntu Maverick. Did they not patch this issue? Do you know what version of the kernel this was fixed in? And to confirm, this would show up as a virt memory leak on the xorg process? commit bfba6d6148b938588ffbefdf04f4e71683c66dfd Author: Krzysztof Halasa <khc@pm.waw.pl> Date: Tue Sep 21 22:56:26 2010 +0100 Allow interlaced modes. This may not the best method, but it should be a good base on which to build... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (The GPU hang should have been fixed separately, but we have no details upon that...) (In reply to comment #2) > This is the kernel on the current version of Ubuntu Maverick. Did they not > patch this issue? Do you know what version of the kernel this was fixed in? commit 31dfbc93923c0aaa0440b809f80ff2830c6a531a Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Sep 27 21:28:30 2010 +0100 drm: Prune GEM vma entries Hook the GEM vm open/close ops into the generic drm vm open/close so that the private vma entries are created and destroy appropriately. Fixes the leak of the drm_vma_entries during the lifetime of the filp. Reported-by: Matt Mackall <mpm@selenic.com> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com> > And to confirm, this would show up as a virt memory leak on the xorg process? Yes. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.