From: Andi Kleen <ak@linux.intel.com>
To: Petr Holasek <pholasek@redhat.com>
Cc: linux-kernel@vger.kernel.org, emunson@mgebm.net,
anton@redhat.com, Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>,
Mel Gorman <mel@csn.ul.ie>,
Andrew Morton <akpm@linux-foundation.org>,
Wu Fengguang <fengguang.wu@intel.com>,
linux-mm@kvack.org
Subject: Re: [PATCH] hugetlb: /proc/meminfo shows data for all sizes of hugepages
Date: Mon, 7 Mar 2011 17:26:13 -0800 [thread overview]
Message-ID: <20110308012613.GA2391@tassilo.jf.intel.com> (raw)
In-Reply-To: <1299503155-6210-1-git-send-email-pholasek@redhat.com>
On Mon, Mar 07, 2011 at 02:05:55PM +0100, Petr Holasek wrote:
> /proc/meminfo file shows data for all used sizes of hugepages
> on system, not only for default hugepage size.
When I wrote that It was intentional to only report the
default page size here. The other page sizes are reported
in sysfs instead.
The reason was to avoid breaking any applications that
read /proc/meminfo today.
I suspect your patch will break them.
-Andi
WARNING: multiple messages have this Message-ID (diff)
From: Andi Kleen <ak@linux.intel.com>
To: Petr Holasek <pholasek@redhat.com>
Cc: linux-kernel@vger.kernel.org, emunson@mgebm.net,
anton@redhat.com, Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>,
Mel Gorman <mel@csn.ul.ie>,
Andrew Morton <akpm@linux-foundation.org>,
Wu Fengguang <fengguang.wu@intel.com>,
linux-mm@kvack.org
Subject: Re: [PATCH] hugetlb: /proc/meminfo shows data for all sizes of hugepages
Date: Mon, 7 Mar 2011 17:26:13 -0800 [thread overview]
Message-ID: <20110308012613.GA2391@tassilo.jf.intel.com> (raw)
In-Reply-To: <1299503155-6210-1-git-send-email-pholasek@redhat.com>
On Mon, Mar 07, 2011 at 02:05:55PM +0100, Petr Holasek wrote:
> /proc/meminfo file shows data for all used sizes of hugepages
> on system, not only for default hugepage size.
When I wrote that It was intentional to only report the
default page size here. The other page sizes are reported
in sysfs instead.
The reason was to avoid breaking any applications that
read /proc/meminfo today.
I suspect your patch will break them.
-Andi
--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2011-03-08 1:28 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-07 13:05 [PATCH] hugetlb: /proc/meminfo shows data for all sizes of hugepages Petr Holasek
2011-03-07 13:05 ` Petr Holasek
2011-03-07 19:46 ` Dave Hansen
2011-03-07 19:46 ` Dave Hansen
2011-03-07 20:13 ` Eric B Munson
2011-03-07 22:51 ` Andrew Morton
2011-03-07 22:51 ` Andrew Morton
2011-03-07 23:14 ` Naoya Horiguchi
2011-03-07 23:14 ` Naoya Horiguchi
2011-03-07 23:24 ` Eric B Munson
2011-03-07 23:24 ` Eric B Munson
2011-03-07 23:25 ` Andrew Morton
2011-03-07 23:25 ` Andrew Morton
2011-03-07 23:47 ` David Rientjes
2011-03-07 23:47 ` David Rientjes
2011-03-08 0:57 ` Nishanth Aravamudan
2011-03-08 0:57 ` Nishanth Aravamudan
2011-03-08 9:37 ` Mel Gorman
2011-03-08 9:37 ` Mel Gorman
2011-03-08 11:21 ` Petr Holasek
2011-03-08 11:21 ` Petr Holasek
2011-03-08 13:51 ` Eric B Munson
2011-03-08 1:26 ` Andi Kleen [this message]
2011-03-08 1:26 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110308012613.GA2391@tassilo.jf.intel.com \
--to=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=anton@redhat.com \
--cc=emunson@mgebm.net \
--cc=fengguang.wu@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mel@csn.ul.ie \
--cc=n-horiguchi@ah.jp.nec.com \
--cc=pholasek@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.