Bug 85106 - G400 DRI leaks 12 megs kernel memory each time X starts
G400 DRI leaks 12 megs kernel memory each time X starts
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: kernel (Show other bugs)
1.0
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:
Environment:
Last Closed: 2003-02-27 21:49:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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: 4.2.00.901-20030212.0
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]
/proc/pci
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]
/var/log/messages
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.