linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Ken Chen" <kenchen@google.com>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: linux-mm@kvack.org
Subject: Re: hugepage test failures
Date: Mon, 23 Jul 2007 17:02:04 -0700	[thread overview]
Message-ID: <b040c32a0707231702w622a10d4y18a6e127776ae7df@mail.gmail.com> (raw)
In-Reply-To: <20070723120409.477a1c31.randy.dunlap@oracle.com>

On 7/23/07, Randy Dunlap <randy.dunlap@oracle.com> wrote:
> I'm a few hundred linux-mm emails behind, so maybe this has been
> addressed already.  I hope so.
>
> I run hugepage-mmap and hugepage-shm tests (from Doc/vm/hugetlbpage.txt)
> on a regular basis.  Lately they have been failing, usually with -ENOMEM,
> but sometimes the mmap() succeeds and hugepage-mmap gets a SIGBUS:

man, what did people do to hugetlb?

In dequeue_huge_page(), it just loops around for all the alloc'able
zones, even though this function is suppose to just allocate *ONE*
hugetlb page.  That is a serious memory leak here.  We need a break
statement in the inner if statement there.

- Ken

--
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>

      parent reply	other threads:[~2007-07-24  0:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-23 19:04 Randy Dunlap
2007-07-23 20:18 ` Nish Aravamudan
2007-07-23 20:30   ` Randy Dunlap
2007-07-23 20:29     ` Nish Aravamudan
2007-07-23 20:45       ` Randy Dunlap
2007-07-24  0:23     ` Ken Chen
2007-07-24  0:02 ` Ken Chen [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=b040c32a0707231702w622a10d4y18a6e127776ae7df@mail.gmail.com \
    --to=kenchen@google.com \
    --cc=linux-mm@kvack.org \
    --cc=randy.dunlap@oracle.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