linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Ken Chen" <kenchen@google.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: akpm@linux-foundation.org, agl@us.ibm.com, nacc@us.ibm.com,
	wli@holomorphy.com, linux-mm@kvack.org
Subject: Re: + hugetlb-allow-extending-ftruncate-on-hugetlbfs.patch added to -mm tree
Date: Mon, 6 Aug 2007 21:28:01 -0700	[thread overview]
Message-ID: <b040c32a0708062128r42d6a067l3a0c8c3818660e13@mail.gmail.com> (raw)
In-Reply-To: <20070807041559.GH13522@localhost.localdomain>

On 8/6/07, David Gibson <david@gibson.dropbear.id.au> wrote:
> Ken, is this quite sufficient?  At least if we're expanding a
> MAP_SHARED hugepage mapping, we should pre-reserve hugepages on an
> expanding ftruncate().

why do we need to reserve them?  mmap segments aren't extended, e.g.
vma length remains the same.  We only expand file size.

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

       reply	other threads:[~2007-08-07  4:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200708061830.l76IUA6j008338@imap1.linux-foundation.org>
     [not found] ` <20070807041559.GH13522@localhost.localdomain>
2007-08-07  4:28   ` Ken Chen [this message]
2007-08-07  6:44     ` David Gibson

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=b040c32a0708062128r42d6a067l3a0c8c3818660e13@mail.gmail.com \
    --to=kenchen@google.com \
    --cc=agl@us.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=david@gibson.dropbear.id.au \
    --cc=linux-mm@kvack.org \
    --cc=nacc@us.ibm.com \
    --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