Skip to content

Add alternative API for XEN PTEs

Hongyan Xia xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest7 patches 12 repliesIn review
  2. v49 patches 16 repliesSuperseded

Changes in v5 from the cover letter

- handle INVALID_MFN in new APIs
- drop some goto labels since there could be better options
- const qualify introduced variables
- defer some changes to future patches due to ongoing discussions on map_pages_to_xen

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7x86: move some xen mm function declarationsxen/include/asm-x86/mm.h xen/include/asm-x86/page.h+5 -55 replies
2/7x86: introduce a new set of APIs to manage Xen page tablesxen/arch/x86/mm.c xen/include/asm-x86/mm.h+50 -57 replies
3/7x86/mm: introduce l{1, 2}t local variables to map_pages_to_xenxen/arch/x86/mm.c+39 -330 replies
4/7x86/mm: introduce l{1, 2}t local variables to modify_xen_mappingsxen/arch/x86/mm.c+38 -300 replies
5/7x86/mm: map_pages_to_xen would better have one exit pathxen/arch/x86/mm.c+13 -70 replies
6/7x86/mm: make sure there is one exit path for modify_xen_mappingsxen/arch/x86/mm.c+9 -30 replies
7/7x86/mm: change pl*e to l*t in virt_to_xen_l*exen/arch/x86/mm.c+21 -210 replies

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchJan BeulichJulien Grall
1/7A-b
2/7R-b
3/7R-b
4/7R-b
5/7
6/7
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [Xen-devel] [PATCH v5 0/7] Add alternative API for XEN PTEs

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 directnonmap-v3

---
Changed since v4:
- handle INVALID_MFN in new APIs
- drop some goto labels since there could be better options
- const qualify introduced variables
- defer some changes to future patches due to ongoing discussions on map_pages_to_xen

Changed since v3:
- change my email address in all patches
- address many style issues in v3
- rebase

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 (7):
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 would better have one exit path x86/mm: make sure there is one exit path for modify_xen_mappings x86/mm: change pl*e to l*t in virt_to_xen_l*e

 xen/arch/x86/mm.c          | 258 ++++++++++++++++++++++++++++-----------------
 xen/include/asm-x86/mm.h   |  16 +++
 xen/include/asm-x86/page.h |   5 -
 3 files changed, 175 insertions(+), 104 deletions(-)
Signature · 7 lines
2.15.3.AMZN


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel