Skip to content

x86/dom0: improve PVH paging memory calculation

Roger Pau Monne xen-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 30 repliesIn review
  2. v12 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/dom0: rename paging functionxen/arch/x86/dom0_build.c xen/arch/x86/hvm/dom0_build.c xen/include/asm-x86/dom0_build.h+4 -418 replies
2/2x86/dom0: improve paging memory usage calculationsxen/arch/x86/dom0_build.c xen/arch/x86/hvm/dom0_build.c xen/include/asm-x86/dom0_build.h+33 -612 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchWei Liu
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] x86/dom0: improve PVH paging memory calculation

Hello,

There have been several reports of PVH Dom0 builder running out of memory due to bad paging memory approximation done in dom0_compute_nr_pages. The most recent reports is:

https://lists.xenproject.org/archives/html/xen-devel/2018-11/msg03103.html

This series attempts to improve the situation by introducing a new function to approximate the memory usage of HAP and IOMMU page tables. It also takes into account whether the IOMMU page tables are shared with HAP or not when calculating the amount of available memory.

It can be found on the following git repo:

git://xenbits.xen.org/people/royger/xen.git dom0-paging-v2

Thanks, Roger.

Roger Pau Monne (2):
x86/dom0: rename paging function
x86/dom0: improve paging memory usage calculations

 xen/arch/x86/dom0_build.c        | 33 +++++++++++++++++++++++++++-----
 xen/arch/x86/hvm/dom0_build.c    |  6 ++++--
 xen/include/asm-x86/dom0_build.h |  4 +++-
 3 files changed, 35 insertions(+), 8 deletions(-)
Signature · 7 lines
2.19.1


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