The QXL DRM driver seems to have a memory leak on my current custom kernel build using Gentoo Hardened kernel: 3.11.6-hardened-r2 (also on 3.11.3-hardened). This can be seen by running "watch 'cat /proc/slabinfo | grep ^kmalloc'", and on my qemu virtual machine running on qemu-1.6.0, kmalloc-64 allocation will constantly increase until system runs out of ram and then OOM killer kills everything and causes the system to crash. I should be able to test with a vanilla kernel in a few days if needed.
Please do test a standard kernel, and if you can see if you can figure out if the leak is always occurring or seems to be triggered by some specific application or activity.
I just tested with standard kernel: 3.11.9 and booted into a basic rescue initrd image with qxl enabled and "cat /proc/slabinfo | grep ^kmalloc-64" still shows constantly increasing active_objs and num_objs.
Created attachment 115361 [details]
This is the kernel config that was used
Thanks for confirming
what are you running just console?
or is X running?
Created attachment 116501 [details]
does this fix it?
It looks like that fixes it. Thanks. Also, I'm only running on console, X isn't running.
IF the attachment here seems to fix this I would close this.
Just a friendly reminder,
kernel bugzilla sucks I can't change bug states.
Our you sure, other people seem to
be able to do it with other bugs.
It seems to be only the opener or maintainer of this subsystem who can close it.
Dave - ask the bugzilla contact address for your superman powers. I'm sure you'll have no trouble then