Skip to content

Add alternative API for Xen PTEs

Hongyan Xia xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest9 patches 11 repliesIn review

Changes in v3 from the cover letter

- split into a smaller series
- drop the clear_page optimisation as Wei suggests
- rebase

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9x86: move some xen mm function declarationsxen/include/asm-x86/mm.h xen/include/asm-x86/page.h+5 -51 reply
2/9x86: introduce a new set of APIs to manage Xen page tablesxen/arch/x86/mm.c xen/include/asm-x86/mm.h+45 -54 replies
3/9x86/mm: introduce l{1, 2}t local variables to map_pages_to_xenxen/arch/x86/mm.c+42 -331 reply
4/9x86/mm: introduce l{1, 2}t local variables to modify_xen_mappingsxen/arch/x86/mm.c+38 -301 reply
5/9x86/mm: map_pages_to_xen should have one exit pathxen/arch/x86/mm.c+27 -71 reply
6/9x86/mm: add an end_of_loop label in map_pages_to_xenxen/arch/x86/mm.c+5 -41 reply
7/9x86/mm: make sure there is one exit path for modify_xen_mappingsxen/arch/x86/mm.c+15 -31 reply
8/9x86/mm: add an end_of_loop label in modify_xen_mappingsxen/arch/x86/mm.c+8 -70 replies
9/9x86/mm: change pl*e to l*t in virt_to_xen_l*exen/arch/x86/mm.c+21 -211 reply

Reviews trailers per patch

4 of 9 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/9A-b
2/9
3/9R-b
4/9R-b
5/9
6/9
7/9
8/9
9/9R-b

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

Read the v3 thread

Cover letter [Xen-devel] [PATCH v3 0/9] 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 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(-)
Signature · 7 lines
2.17.1


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