All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hongyan Xia <hongyax@amazon.com>
To: <xen-devel@lists.xenproject.org>
Cc: "Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Wei Liu" <wl@xen.org>, "Jan Beulich" <jbeulich@suse.com>,
	"Roger Pau Monné" <roger.pau@citrix.com>
Subject: [Xen-devel] [PATCH v3 0/9] Add alternative API for Xen PTEs
Date: Wed, 2 Oct 2019 18:16:45 +0100	[thread overview]
Message-ID: <cover.1570034362.git.hongyax@amazon.com> (raw)

This batch adds an alternative alloc-map-unmap-free Xen PTE API to the
normal alloc-free on the xenheap, in preparation of switching to domheap
for Xen page tables. Since map and unmap are basically no-ops now, and
other changes are cosmetic to ease future patches, this batch does not
introduce any functional changes.

tree:
https://xenbits.xen.org/git-http/people/hx242/xen.git xen_pte_map-v3

v2: 
https://lists.xenproject.org/archives/html/xen-devel/2019-09/msg03221.html

---
Changed since v2:
- split into a smaller series
- drop the clear_page optimisation as Wei suggests
- rebase

Changed since v1:
- squash some commits
- merge bug fixes into this first batch
- rebase against latest master

Wei Liu (9):
  x86: move some xen mm function declarations
  x86: introduce a new set of APIs to manage Xen page tables
  x86/mm: introduce l{1,2}t local variables to map_pages_to_xen
  x86/mm: introduce l{1,2}t local variables to modify_xen_mappings
  x86/mm: map_pages_to_xen should have one exit path
  x86/mm: add an end_of_loop label in map_pages_to_xen
  x86/mm: make sure there is one exit path for modify_xen_mappings
  x86/mm: add an end_of_loop label in modify_xen_mappings
  x86/mm: change pl*e to l*t in virt_to_xen_l*e

 xen/arch/x86/mm.c          | 300 +++++++++++++++++++++++--------------
 xen/include/asm-x86/mm.h   |  16 ++
 xen/include/asm-x86/page.h |   5 -
 3 files changed, 206 insertions(+), 115 deletions(-)

-- 
2.17.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

             reply	other threads:[~2019-10-02 17:17 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-02 17:16 Hongyan Xia [this message]
2019-10-02 17:16 ` [Xen-devel] [PATCH v3 1/9] x86: move some xen mm function declarations Hongyan Xia
2019-11-15 15:12   ` Jan Beulich
2019-10-02 17:16 ` [Xen-devel] [PATCH v3 2/9] x86: introduce a new set of APIs to manage Xen page tables Hongyan Xia
2019-11-15 15:23   ` Jan Beulich
2019-11-15 17:16     ` Wei Liu
2019-11-18  9:50       ` Jan Beulich
2019-11-18 13:02         ` Wei Liu
2019-10-02 17:16 ` [Xen-devel] [PATCH v3 3/9] x86/mm: introduce l{1, 2}t local variables to map_pages_to_xen Hongyan Xia
2019-11-20 16:08   ` Jan Beulich
2019-10-02 17:16 ` [Xen-devel] [PATCH v3 4/9] x86/mm: introduce l{1, 2}t local variables to modify_xen_mappings Hongyan Xia
2019-11-20 16:16   ` Jan Beulich
2019-10-02 17:16 ` [Xen-devel] [PATCH v3 5/9] x86/mm: map_pages_to_xen should have one exit path Hongyan Xia
2019-11-20 16:24   ` Jan Beulich
2019-10-02 17:16 ` [Xen-devel] [PATCH v3 6/9] x86/mm: add an end_of_loop label in map_pages_to_xen Hongyan Xia
2019-11-22 13:55   ` Jan Beulich
2019-10-02 17:16 ` [Xen-devel] [PATCH v3 7/9] x86/mm: make sure there is one exit path for modify_xen_mappings Hongyan Xia
2019-11-20 16:26   ` Jan Beulich
2019-10-02 17:16 ` [Xen-devel] [PATCH v3 8/9] x86/mm: add an end_of_loop label in modify_xen_mappings Hongyan Xia
2019-10-02 17:16 ` [Xen-devel] [PATCH v3 9/9] x86/mm: change pl*e to l*t in virt_to_xen_l*e Hongyan Xia
2019-11-20 17:14   ` Jan Beulich

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=cover.1570034362.git.hongyax@amazon.com \
    --to=hongyax@amazon.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=roger.pau@citrix.com \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.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 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.