Created attachment 360718 [details, diff]
Patch to fix initial proc patch memory leak.
Since fglrx got adapted for the new proc structure in Kernel 3.10, it suffer from a memory leak and cause crash on some system including mine (running out of memory is bad)
The attached patch will patch all ebuild that compile on 3.10+ and it need to be after the proc diff patch on fglrx that don't officially compile on 3.10. AMD just took that initial bugged proc patch from a dude in the Phoronix forum and decided to include in there fglrx without much testing/qa...
Can you explain what the patch is supposed to do or link to the thread, thanks?
You have two way to create proc entry.
the fglrx was using the default way to manage it but the patch to initially fix the compilation on 3.10 kernel create the proc entry on another way with is not compatible with the way fglrx use it, creating a leak.
Here the link to the unofficial AMD bugzilla entry : http://ati.cchtml.com/show_bug.cgi?id=866
Could you state which versions do you think need this patch and which ones have you tested (and how)? The only big proc related patch we are using right now is written by me and is not the one posted on phoronix forums, so not everything posted there applies to gentoo.
x11-drivers/ati-drivers has been removed, per bug 582406.