All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Stultz <john.stultz@linaro.org>
To: Dmitry Vyukov <dvyukov@google.com>
Cc: lsf@lists.linux-foundation.org, linux-mm@kvack.org,
	Minchan Kim <minchan@kernel.org>, Paul Turner <pjt@google.com>,
	Robert Love <rlove@google.com>, Dave Hansen <dave@sr71.net>,
	Taras Glek <tglek@mozilla.com>, Mike Hommey <mh@glandium.org>,
	Kostya Serebryany <kcc@google.com>,
	Hugh Dickins <hughd@google.com>,
	Michel Lespinasse <walken@google.com>,
	KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	gthelen@google.com, Rik van Riel <riel@redhat.com>,
	glommer@parallels.com, mhocko@suse.de
Subject: Re: Summary of LSF-MM Volatile Ranges Discussion
Date: Tue, 23 Apr 2013 17:26:48 -0700	[thread overview]
Message-ID: <517726C8.4030207@linaro.org> (raw)
In-Reply-To: <CACT4Y+a+r8LqiiGfq3rTiwGbacLJ0P+tWVba+G5vVyrikkr+gw@mail.gmail.com>

On 04/22/2013 11:51 PM, Dmitry Vyukov wrote:
> Just want to make sure our case does not fall out of the discussion:
> https://code.google.com/p/thread-sanitizer/wiki/VolatileRanges

Yes, while I forgot to mention it in the summary, I did bring it up 
briefly, but I cannot claim to have done it justice.

Personally, while I suspect we might be able to support your desired 
semantics (ie: mark once volatile, always zero-fill, no sigbus) via a 
mode flag

> While reading your email, I remembered that we actually have some
> pages mapped from a file inside the range. So it's like 70TB of ANON
> mapping + few pages in the middle mapped from FILE. The file is mapped
> with MAP_PRIVATE + PROT_READ, it's read-only and not shared.
> But we want to mark the volatile range only once on startup, so
> performance is not a serious concern (while the function in executed
> in say no more than 10ms).
> If the mixed ANON+FILE ranges becomes a serious problem, we are ready
> to remove FILE mappings, because it's only an optimization. I.e. we
> can make it pure ANON mapping.
Well, in my mind, the MAP_PRIVATE mappings are semantically the same as 
anonymous memory with regards to volatility. So I hope this wouldn't be 
an issue.

thanks
-john

--
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:[~2013-04-24  0:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-17 17:56 LSF-MM Volatile Ranges Discussion Plans John Stultz
2013-04-17 20:12 ` Paul Turner
2013-04-23  3:11 ` Summary of LSF-MM Volatile Ranges Discussion John Stultz
2013-04-23  6:51   ` Dmitry Vyukov
2013-04-24  0:26     ` John Stultz [this message]
2013-04-24  6:11       ` Dmitry Vyukov
2013-04-24  8:14     ` Minchan Kim
2013-04-24  8:11   ` Minchan Kim
2013-05-16 17:24   ` Andrea Arcangeli
2013-05-21  3:50     ` John Stultz

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=517726C8.4030207@linaro.org \
    --to=john.stultz@linaro.org \
    --cc=dave@sr71.net \
    --cc=dvyukov@google.com \
    --cc=glommer@parallels.com \
    --cc=gthelen@google.com \
    --cc=hannes@cmpxchg.org \
    --cc=hughd@google.com \
    --cc=kcc@google.com \
    --cc=kosaki.motohiro@jp.fujitsu.com \
    --cc=linux-mm@kvack.org \
    --cc=lsf@lists.linux-foundation.org \
    --cc=mh@glandium.org \
    --cc=mhocko@suse.de \
    --cc=minchan@kernel.org \
    --cc=pjt@google.com \
    --cc=riel@redhat.com \
    --cc=rlove@google.com \
    --cc=tglek@mozilla.com \
    --cc=walken@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.