mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hugh Dickins <hugh@veritas.com>
To: Adam Litke <agl@us.ibm.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	linux-mm@kvack.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC] Hugetlb demotion for x86
Date: Thu, 11 May 2006 16:15:43 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0605111607250.24407@blonde.wat.veritas.com> (raw)
In-Reply-To: <1147297535.24029.114.camel@localhost.localdomain>

On Wed, 10 May 2006, Adam Litke wrote:
> 
> Strict overcommit is there for shared mappings.  When private mapping

I presume that by "strict overcommit" you mean "strict no overcommit".

> support was added, people agreed that full overcommit should apply to
> private mappings for the same reasons normal page overcommit is desired.

I'm not sure how wide that agreement was.  But what I wanted to say is...

> For one: an application using lots of private huge pages should not be
> prohibited from forking if it's likely to just exec a small helper
> program.

This is an excellent use for madvise(start, length, MADV_DONTFORK).
Though it was added mainly for RDMA issues, it's a great way for a
program with a huge commitment to exclude areas of its address space
from the fork, so making that fork much more likely to succeed.

Hugh

  reply	other threads:[~2006-05-11 15:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-10 18:56 Adam Litke
2006-05-10 19:46 ` Dave Hansen
2006-05-10 19:49 ` Dave Hansen
2006-05-10 20:05 ` Christoph Hellwig
2006-05-10 20:32   ` Adam Litke
2006-05-10 20:49     ` Christoph Hellwig
2006-05-10 21:45       ` Adam Litke
2006-05-11 15:15         ` Hugh Dickins [this message]
2006-05-11 15:33           ` Alan Cox
2006-05-11 15:59           ` Adam Litke
2006-05-10 21:38 ` Andi Kleen
2006-05-10 23:42 ` Christoph Lameter
2006-05-11 16:10   ` Adam Litke
2006-05-15 14:20     ` Dave Hansen

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=Pine.LNX.4.64.0605111607250.24407@blonde.wat.veritas.com \
    --to=hugh@veritas.com \
    --cc=agl@us.ibm.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.kernel.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

all inboxes | Powered by JetHome®