Messages in this thread | | | Date | Thu, 27 Mar 2008 10:48:55 +0100 | From | "Bart Van Assche" <> | Subject | Re: quicklists confuse meminfo |
| |
On Wed, Mar 26, 2008 at 5:34 PM, Christoph Lameter <clameter@sgi.com> wrote: > On Wed, 26 Mar 2008, Bart Van Assche wrote: > > > Thanks to everyone who worked on this. By the way, I have asked Albert > > Calahan, the procps maintainer, to fix the free/top/vmstat tools such > > that these take recently added /proc/meminfo fields into account and > > display correct values on recent 2.6 kernels. See also > > http://bugzilla.kernel.org/show_bug.cgi?id=9991 and > > http://marc.info/?l=linux-mm&m=120496901605830&w=2. > > Be aware that some distros have hacked their meminfo (proc and > /sys/devices/system/node/node*/meminfo) output to be more compatible with > recent 2.6 kernels but not updated to the new ZVC counter scheme. On those > kernels (<2.6.17) counters may show weird values and the sum of the per > node counters in sysfs may not yield the same amount shown in > /proc/meminfo.
In my opinion /proc/meminfo is part of the kernelspace - userspace API, and any Linux distributor that modifies /proc/meminfo is responsible for modifying the tools that rely on this information.
Bart.
| |