Skip to content

tools/libxc: use superpages

Olaf Hering xen-devel 10 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v11 Latest3 patches 0 repliesNew
  2. v103 patches 0 repliesSuperseded
  3. v93 patches 13 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v83 patches1 replySuperseded
v73 patches0 repliesSuperseded
v63 patches5 repliesSuperseded
v53 patches1 replySuperseded
v43 patches0 repliesSuperseded
v33 patches7 repliesSuperseded
v23 patches12 repliesSuperseded

Changes in v11 from the cover letter

rebase to and for 4.11

Patches in v11 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tools/libxc: move SUPERPAGE macros to common headertools/libxc/xc_dom_x86.c tools/libxc/xc_private.h+5 -50 replies
2/3tools/libxc: add API for bitmap access for restoretools/libxc/xc_sr_common.c tools/libxc/xc_sr_common.h tools/libxc/xc_sr_restore.c+115 -650 replies
3/3tools/libxc: use superpages during restore of HVM guesttools/libxc/xc_sr_common.h tools/libxc/xc_sr_restore.c tools/libxc/xc_sr_restore_x86_hvm.c +1 more+635 -780 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchWei Liu
1/3A-b
2/3A-b
3/3

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

Read the v11 thread

Cover letter [PATCH v11 0/3] tools/libxc: use superpages

Using superpages on the receiving dom0 will avoid performance regressions.

Olaf

TODO:
send 1G batches on HVM to help allocator on dst dom0

v11:
rebase to and for 4.11
v10:
coding style in xc_sr_bitmap API
reset bitmap size on free
check for empty bitmap in xc_sr_bitmap API add comment to struct x86_hvm_sp, keep the short name style and type changes in x86_hvm_punch_hole do not mark VGA hole as busy in x86_hvm_setup call decrease_reservation once for all pfns

 rename variable in x86_hvm_populate_pfns

call decrease_reservation in 2MB chucks if possible
v9:
update hole checking in x86_hvm_populate_pfns
add out of bounds check to xc_sr_test_and_set/clear_bit
v8:
remove double check of 1G/2M idx in x86_hvm_populate_pfns
v7:
cover holes that span multiple superpages
v6:
handle freeing of partly populated superpages correctly more DPRINTFs
v5:
send correct version, rebase was not fully finished
v4:
restore trailing "_bit" in bitmap function names keep track of gaps between previous and current batch split alloc functionality in x86_hvm_allocate_pfn
v3:
clear pointer in xc_sr_bitmap_free
some coding style changes
use getdomaininfo.max_pages to avoid Over-allocation check trim bitmap function names, drop trailing "_bit" add some comments
v2:
split into individual commits

based on staging c39cf093fc ("x86/asm: add .file directives")

Olaf Hering (3):
tools/libxc: move SUPERPAGE macros to common header tools/libxc: add API for bitmap access for restore tools/libxc: use superpages during restore of HVM guest

 tools/libxc/xc_dom_x86.c            |   5 -
 tools/libxc/xc_private.h            |   5 +
 tools/libxc/xc_sr_common.c          |  41 +++
 tools/libxc/xc_sr_common.h          | 103 ++++++-
 tools/libxc/xc_sr_restore.c         | 141 +---------
 tools/libxc/xc_sr_restore_x86_hvm.c | 536 ++++++++++++++++++++++++++++++++++++
 tools/libxc/xc_sr_restore_x86_pv.c  |  72 ++++-
 7 files changed, 755 insertions(+), 148 deletions(-)

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