lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e2e108260803270248w6a9abf42hc68b0b5397543eaf@mail.gmail.com>
Date:	Thu, 27 Mar 2008 10:48:55 +0100
From:	"Bart Van Assche" <bart.vanassche@...il.com>
To:	"Christoph Lameter" <clameter@....com>
Cc:	"Ingo Molnar" <mingo@...e.hu>,
	"Nick Piggin" <nickpiggin@...oo.com.au>,
	"Andrew Morton" <akpm@...ux-foundation.org>,
	"KOSAKI Motohiro" <kosaki.motohiro@...fujitsu.com>,
	"Thomas Gleixner" <tglx@...utronix.de>,
	LKML <linux-kernel@...r.kernel.org>,
	"Linus Torvalds" <torvalds@...ux-foundation.org>,
	"Albert Cahalan" <acahalan@...uml.edu>
Subject: Re: quicklists confuse meminfo

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ