linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Ken Chen <kenchen@google.com>
Cc: Adam Litke <agl@us.ibm.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org
Subject: Re: [patch] hugetlb: allow extending ftruncate on hugetlbfs
Date: Thu, 2 Aug 2007 06:05:50 -0700	[thread overview]
Message-ID: <20070802130550.GQ11781@holomorphy.com> (raw)
In-Reply-To: <b040c32a0708011636x74f61aefvf2ecaa280cc990fc@mail.gmail.com>

On Wed, Aug 01, 2007 at 04:36:15PM -0700, Ken Chen wrote:
> For historical reason, expanding ftruncate that increases file size on
> hugetlbfs is not allowed due to pages were pre-faulted and lack of
> fault handler.  Now that we have demand faulting on hugetlb since
> 2.6.15, there is no reason to hold back that limitation.
> This will make hugetlbfs behave more like a normal fs. I'm writing a
> user level code that uses hugetlbfs but will fall back to tmpfs if
> there are no hugetlb page available in the system.  Having hugetlbfs
> specific ftruncate behavior is a bit quirky and I would like to remove
> that artificial limitation.
> Signed-off-by: <kenchen@google.com>

Excellent, thank you.

Acked-by: Wiliam Irwin <wli@holomorphy.com>


-- wli

--
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-02 13:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-01 23:36 Ken Chen
2007-08-02 13:05 ` William Lee Irwin III [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=20070802130550.GQ11781@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=agl@us.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=kenchen@google.com \
    --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