lkml.org 
[lkml]   [2008]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.


\
 
 \ /
  Last update: 2008-03-27 10:51    [W:0.060 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site