[Bug 31412] radeon memory leak

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Fri Mar 18 14:25:23 PDT 2011


--- Comment #4 from Kevin <kjslag at gmail.com>  2011-03-18 21:25:15 ---
The problem occurred in 2.6.37 also.

Logging out of X doesn't get the memory back.

I'm also not sure if just scrolling a lot causes the problem. It seems to be
easier for me to consume memory by opening many .pdf files.

Here is some output after logging out of X (I still had about ~30MB from root

$ free -m
             total       used       free     shared    buffers     cached
Mem:          5920       2668       3252          0         96       1088
-/+ buffers/cache:       1484       4436
Swap:         7998          0       7998

$ cat /sys/kernel/debug/dri/0/radeon_vram_mm
0x00000000-0x00000040: 0x00000040: used
0x00000040-0x00000140: 0x00000100: used
0x00000140-0x00000141: 0x00000001: used
0x00000141-0x0000092a: 0x000007e9: used
0x0000092a-0x00040000: 0x0003f6d6: free
total: 262144, used 2346 free 259798

$ cat /sys/kernel/debug/dri/0/radeon_gtt_mm 
0x00000000-0x00000001: 0x00000001: used
0x00000001-0x00000011: 0x00000010: used
0x00000011-0x00000111: 0x00000100: used
0x00000111-0x00000211: 0x00000100: used
0x00000211-0x00020000: 0x0001fdef: free
total: 131072, used 529 free 130543

Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
Dri-devel mailing list
Dri-devel at lists.sourceforge.net

More information about the dri-devel mailing list