linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nishanth Aravamudan <nacc@us.ibm.com>
To: linux-mm@kvack.org, libhugetlbfs-devel@lists.sourceforge.net,
	hugh@veritas.com
Subject: Re: [Libhugetlbfs-devel] Hugepages_Rsvd goes huge in 2.6.20-rc7
Date: Tue, 6 Feb 2007 17:05:00 -0800	[thread overview]
Message-ID: <20070207010500.GB7580@us.ibm.com> (raw)
In-Reply-To: <20070206012442.GD20123@localhost.localdomain>

On 06.02.2007 [12:24:42 +1100], David Gibson wrote:
> On Mon, Feb 05, 2007 at 04:55:47PM -0800, Nishanth Aravamudan wrote:
> > On 05.02.2007 [16:25:34 -0800], Nishanth Aravamudan wrote:
> > > Sorry, I botched Hugh's e-mail address, please make sure to reply to the
> > > correct one.
> > > 
> > > Thanks,
> > > Nish
> > > 
> > > On 05.02.2007 [16:19:04 -0800], Nishanth Aravamudan wrote:
> > > > Hi all,
> > > > 
> > > > So, here's the current state of the hugepages portion of my
> > > > /proc/meminfo (x86_64, 2.6.20-rc7, will test with 2.6.20
> > > > shortly, but AFAICS, there haven't been many changes to hugepage
> > > > code between the two):
> > 
> > Reproduced on 2.6.20, and I think I've got a means to make it more
> > easily reproducible (at least on x86_64).
<snip>
> > Also note, that I'm not trying to defend the way I'm approaching
> > this problem in libhugetlbfs (I'm very open to alternatives) -- but
> > regardless of what I do there, I don't think Rsvd should be
> > 18446744073709551615 ...
> 
> Oh, certainly not.  Clearly we're managing to decrement it more times
> than we're incrementing it somehow.  I'd check the codepath for the
> madvise() thing, we may not be handling that properly.

FYI, Ken Chen's patch fixes the problem for me:

http://marc2.theaimsgroup.com/?l=linux-mm&m=117079608820399&w=2

Thanks,
Nish

-- 
Nishanth Aravamudan <nacc@us.ibm.com>
IBM Linux Technology Center

--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2007-02-07  1:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-06  0:19 Hugepages_Rsvd goes huge in 2.6.20-rc7 Nishanth Aravamudan
2007-02-06  0:25 ` Nishanth Aravamudan
2007-02-06  0:55   ` Nishanth Aravamudan
2007-02-06  1:24     ` David Gibson
2007-02-07  1:05       ` Nishanth Aravamudan [this message]

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=20070207010500.GB7580@us.ibm.com \
    --to=nacc@us.ibm.com \
    --cc=hugh@veritas.com \
    --cc=libhugetlbfs-devel@lists.sourceforge.net \
    --cc=linux-mm@kvack.org \
    /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;
as well as URLs for NNTP newsgroup(s).