Re: quicklists confuse meminfo

From: Bart Van Assche
Date: Thu Mar 27 2008 - 05:49:16 EST


On Wed, Mar 26, 2008 at 5:34 PM, Christoph Lameter <clameter@xxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/