Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759308AbYC0JtO (ORCPT ); Thu, 27 Mar 2008 05:49:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755813AbYC0Js6 (ORCPT ); Thu, 27 Mar 2008 05:48:58 -0400 Received: from fg-out-1718.google.com ([72.14.220.154]:19389 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754060AbYC0Js5 (ORCPT ); Thu, 27 Mar 2008 05:48:57 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Al26mmc07Ckr4RozvMJN02Y6Wj5u7pqInZZ4FH9VmuJDoU3tkWZPpjjRERwoD907GpFBBvg/RvYiBYpfHDvZFbp0tHEhBKR8JDZiZIOlYR7CMwucbhVzhe2VWL1aKrWQaCP5imNjda+O9IkylF/lgJTnDYlWcqfjDXg/4IAnSaY= Message-ID: Date: Thu, 27 Mar 2008 10:48:55 +0100 From: "Bart Van Assche" To: "Christoph Lameter" Subject: Re: quicklists confuse meminfo Cc: "Ingo Molnar" , "Nick Piggin" , "Andrew Morton" , "KOSAKI Motohiro" , "Thomas Gleixner" , LKML , "Linus Torvalds" , "Albert Cahalan" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080309114640.85c9c3eb.akpm@linux-foundation.org> <200803111507.20870.nickpiggin@yahoo.com.au> <20080321144517.GA1545@elte.hu> <20080326081349.GA8159@elte.hu> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1354 Lines: 27 On Wed, Mar 26, 2008 at 5:34 PM, Christoph Lameter 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/