Created attachment 1122821[details]
Patch for memory leak
Description of problem:
The patch for slow mgag200 video from bug #1152233 introduces a memory leak in the server.
Version-Release number of selected component (if applicable):
1.17.2-10.el7
How reproducible:
always
Steps to Reproduce:
1. on a system with mgag200/modesetting, run freqent screen updates e.g. by running "ls -lR /" in an xterm
Actual results:
Xorg process' memory usage increases constantly, until Xorg is OOM killed at some point.
Expected results:
No memory leak
Additional info:
The attached patch fixes this. I already verified it.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-2293.html