libgtop2 and xorg break
Matthew Dillon
dillon at apollo.backplane.com
Tue Aug 14 11:08:04 PDT 2007
:For the proc's memory stats, it wants to run through the mmap entry
:list amongst other things. Here is an excerpt of the original code. As
:I know about nothing about this, it's a bit too difficult to patch :-)
/proc can be used to read the mmap entry list and get most of the
statistics.
Generally speaking accessing raw kernel structures via KVM is virtually
guarenteed to break from release to release.
A good project would be to determine all the information programs like
this need and to export the pieces that are not already available
via sysctl with sysctl.
-Matt
Matthew Dillon
<dillon at backplane.com>
More information about the Users
mailing list