Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 85106 - G400 DRI leaks 12 megs kernel memory each time X starts
G400 DRI leaks 12 megs kernel memory each time X starts
Product: Red Hat Raw Hide
Classification: Retired
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
: 82896 (view as bug list)
Depends On:
Blocks: 79578 84358
  Show dependency treegraph
Reported: 2003-02-25 14:17 EST by Alexander Larsson
Modified: 2016-03-27 10:26 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-27 21:49:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
XFree86 log (35.93 KB, text/plain)
2003-02-25 14:19 EST, Alexander Larsson
no flags Details
/proc/pci (1.61 KB, text/plain)
2003-02-25 14:21 EST, Alexander Larsson
no flags Details
/var/log/messages (15.27 KB, text/plain)
2003-02-25 14:46 EST, Alexander Larsson
no flags Details

  None (edit)
Description Alexander Larsson 2003-02-25 14:17:38 EST
Every time I start and exit X the sum of "Active + Inact_dirty + Inact_laundry +
Inact_clean + MemFree" in /proc/meminfo drops by about 12 megs.

kernel is: 2.4.20-2.50
XFree86 is:
Comment 1 Alexander Larsson 2003-02-25 14:19:41 EST
Created attachment 90359 [details]
XFree86 log
Comment 2 Alexander Larsson 2003-02-25 14:21:19 EST
Created attachment 90360 [details]
Comment 3 Alexander Larsson 2003-02-25 14:22:06 EST
Commenting out Load "DRI" in XF86Config removes the leak.
Comment 4 Mike A. Harris 2003-02-25 14:28:57 EST
attach /var/log/messages too to peekaboo at agpgart loading et al.
Comment 5 Alexander Larsson 2003-02-25 14:46:50 EST
Created attachment 90361 [details]
Comment 6 Alexander Larsson 2003-02-27 09:18:52 EST
This also happens on at least i8x0 cards.
This is not nptl related, but seems rmap related.
Arjans kernel-2.4.20-5nonptlfixrmap build fixes it. Waiting on an NPTL enabled
build to test that.
Comment 7 Bill Nottingham 2003-02-27 12:15:50 EST
Should be fixed in -6.
Comment 8 Jay Turner 2003-02-27 21:49:20 EST
Fix confirmed with the latest kernel.
Comment 9 Mike A. Harris 2003-02-28 02:50:38 EST
Just to clarify with a bit more detail for those who might find this bug
report when doing a bugzilla query, this problem was due to a refcount
bug in rmap with respect to PageReserved pages. DRM marks it's pages as
PageReserved and was affected by this bug. (In Arjan's words)

Problem fixed in kernel-2.4.20-6 by Arjan The Machine(TM)  ;o)
Comment 10 vvs 2003-04-01 00:16:49 EST
*** Bug 82896 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.