public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Jackson <pj@sgi.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: kenchen@google.com, linux-kernel@vger.kernel.org, agl@us.ibm.com,
	hermes@gibson.dropbear.id.au, wli@holomorphy.com,
	clameter@sgi.com
Subject: Re: + per-cpuset-hugetlb-accounting-and-administration.patch added to -mm tree
Date: Thu, 3 May 2007 22:58:32 -0700	[thread overview]
Message-ID: <20070503225832.972057ef.pj@sgi.com> (raw)
In-Reply-To: <20070503220331.8fd70ca5.akpm@linux-foundation.org>

Andrew wrote:
> If it's per-cpuset information then shouldn't it be presented in
> /dev/cpuset/something?

Yeah - if huge pages were mainline future, rather than the more
controversial sideline they are now, then it would make more sense
to put in these stats in each cpuset.

Note, Ken, that if we did that, the calculation of these new Total and
Free stats would be a little different than your new code.  Instead of
looping over the memory nodes in the current tasks mems_allowed mask,
we would loop over the memory nodes allowed in the cpuset being queried
(the cpuset whose 'hugepages_total' or 'hugepages_free' special
file we were reading, not the current tasks cpuset.)

But I'm reluctant to entertain such cpuset additions until I see more
of where my colleague Christoph is going in related work.

Clearly as can be seen on one of his posts on the parallel lkml thread:

  Re: + pretend-cpuset-has-some-form-of-hugetlb-page-reservation.patch added to -mm tree

earlier today, Christoph is no great fan of the current implementation
of huge pages.

And clearly as memory continues to get bigger, we will be putting more
stress on these page size related mechanisms.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401

  reply	other threads:[~2007-05-04  5:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200705040104.l4414YFR026322@shell0.pdx.osdl.net>
2007-05-04  1:38 ` + per-cpuset-hugetlb-accounting-and-administration.patch added to -mm tree Paul Jackson
2007-05-04  4:49   ` Ken Chen
2007-05-04  5:03     ` Andrew Morton
2007-05-04  5:58       ` Paul Jackson [this message]
2007-05-04  6:13         ` Ken Chen
2007-05-04  7:39           ` Paul Jackson
2007-05-04  5:12     ` Paul Jackson
2007-05-04  5:35       ` David Rientjes
2007-05-04  6:12         ` Paul Jackson
2007-05-04  6:45   ` Bill Irwin

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=20070503225832.972057ef.pj@sgi.com \
    --to=pj@sgi.com \
    --cc=agl@us.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=clameter@sgi.com \
    --cc=hermes@gibson.dropbear.id.au \
    --cc=kenchen@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox