Skip to content

Don't allocate dom->p2m_host[] for translated domains

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tools/dombuilder: xc_dom_x86 cleanuptools/libxc/xc_dom_x86.c+28 -320 replies
2/4tools/dombuilder: Remove PV-only, mandatory hookstools/libxc/include/xc_dom.h tools/libxc/xc_dom_arm.c tools/libxc/xc_dom_boot.c +2 more+7 -331 reply
3/4tools/dombuilder: Remove p2m_guest from the common interfacestubdom/grub/kexec.c tools/libxc/include/xc_dom.h tools/libxc/xc_dom_boot.c +2 more+35 -580 replies
4/4tools/dombuilder: Don't allocate dom->p2m_host[] for translated domainsstubdom/grub/kexec.c tools/libxc/include/xc_dom.h tools/libxc/xc_dom_arm.c +1 more+52 -767 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJulien GrallWei Liu
SeriesA-b
1/4
2/4A-b
3/4
4/4A-b

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

Read the v1 thread

Cover letter [Xen-devel] [PATCH 0/4] Don't allocate dom->p2m_host[] for translated domains

Vastly drop xl's memory usage for HVM (x86 and ARM) guest construction.

See
https://lore.kernel.org/xen-devel/[email protected]/T/#u
for the origins of this work, but ultimately I think this is a far cleaner solution to the problem.

Andrew Cooper (4):
tools/dombuilder: xc_dom_x86 cleanup tools/dombuilder: Remove PV-only, mandatory hooks tools/dombuilder: Remove p2m_guest from the common interface tools/dombuilder: Don't allocate dom->p2m_host[] for translated
domains

 stubdom/grub/kexec.c         |  36 ++++------
 tools/libxc/include/xc_dom.h |  24 +++----
 tools/libxc/xc_dom_arm.c     |  30 --------
 tools/libxc/xc_dom_boot.c    |   6 +-
 tools/libxc/xc_dom_core.c    |  43 +----------
 tools/libxc/xc_dom_x86.c     | 166 ++++++++++++++++++++++---------------------
 6 files changed, 114 insertions(+), 191 deletions(-)
Signature · 7 lines
2.11.0


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