From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id 809256B0216 for ; Thu, 8 Apr 2010 07:53:48 -0400 (EDT) Message-ID: <4BBDC3A4.1020305@redhat.com> Date: Thu, 08 Apr 2010 14:53:08 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [PATCH 37 of 67] transparent hugepage vmstat References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Andrea Arcangeli Cc: linux-mm@kvack.org, Andrew Morton , Marcelo Tosatti , Adam Litke , Izik Eidus , Hugh Dickins , Nick Piggin , Rik van Riel , Mel Gorman , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , bpicco@redhat.com, KOSAKI Motohiro , Balbir Singh , Arnd Bergmann , "Michael S. Tsirkin" , Peter Zijlstra , Johannes Weiner , Daisuke Nishimura , Chris Mason List-ID: On 04/08/2010 04:51 AM, Andrea Arcangeli wrote: > From: Andrea Arcangeli > > Add hugepage stat information to /proc/vmstat and /proc/meminfo. > > > diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c > --- a/fs/proc/meminfo.c > +++ b/fs/proc/meminfo.c > @@ -101,6 +101,9 @@ static int meminfo_proc_show(struct seq_ > #ifdef CONFIG_MEMORY_FAILURE > "HardwareCorrupted: %5lu kB\n" > #endif > +#ifdef CONFIG_TRANSPARENT_HUGEPAGE > + "AnonHugePages: %8lu kB\n" > +#endif > The original AnonPages should include AnonHugePages, or applications that are unaware of AnonHugePages will see an unexplained drop in AnonPages. -- error compiling committee.c: too many arguments to function -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org