From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Nick Piggin <npiggin@kernel.dk>
Cc: "Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Could we do immediate pte zaps in vunmap?
Date: Fri, 26 Nov 2010 00:10:51 -0800 [thread overview]
Message-ID: <4CEF6B8B.8080206@goop.org> (raw)
What if vm_unmap_ram() and co. immediately zeroed out the ptes, but
lazily deferred the tlb flushes? It seems to me there's no benefit in
batching up the pte clearing since that can't be amortized like the tlb
flush.
I think that would solve the problem we have with the interactions
between lazy unmap and Xen. The issue is having stray pte entries
around (because Xen keeps track of those as part of its page-type
mechanism), but stale tlb entries are no problem.
Thanks,
J
next reply other threads:[~2010-11-26 8:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-26 8:10 Jeremy Fitzhardinge [this message]
2010-11-27 10:36 ` Could we do immediate pte zaps in vunmap? Nick Piggin
2010-11-29 20:32 ` [PATCH RFC] vmalloc: eagerly clear ptes on vunmap Jeremy Fitzhardinge
2010-11-29 20:32 ` Jeremy Fitzhardinge
2010-11-30 12:42 ` Nick Piggin
2010-11-30 12:42 ` Nick Piggin
2010-11-30 17:45 ` Jeremy Fitzhardinge
2010-11-30 17:45 ` Jeremy Fitzhardinge
2010-12-01 0:29 ` Andrew Morton
2010-12-01 0:29 ` Andrew Morton
2010-12-01 3:09 ` Jeremy Fitzhardinge
2010-12-01 3:09 ` Jeremy Fitzhardinge
2010-12-01 3:23 ` Andrew Morton
2010-12-01 3:23 ` Andrew Morton
2010-12-01 8:16 ` Jeremy Fitzhardinge
2010-12-01 8:16 ` Jeremy Fitzhardinge
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=4CEF6B8B.8080206@goop.org \
--to=jeremy@goop.org \
--cc=Xen-devel@lists.xensource.com \
--cc=linux-kernel@vger.kernel.org \
--cc=npiggin@kernel.dk \
/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.