[PATCH v2 0/4] xen/balloon: fixes for memory hotplug

Roger Pau Monne posted 4 patches 3 years, 9 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
drivers/gpu/drm/xen/xen_drm_front_gem.c |   8 +-
drivers/xen/Makefile                    |   1 +
drivers/xen/balloon.c                   |  30 ++--
drivers/xen/grant-table.c               |   4 +-
drivers/xen/privcmd.c                   |   4 +-
drivers/xen/unpopulated-alloc.c         | 222 ++++++++++++++++++++++++
drivers/xen/xenbus/xenbus_client.c      |   6 +-
drivers/xen/xlate_mmu.c                 |   4 +-
include/xen/xen.h                       |   8 +
9 files changed, 256 insertions(+), 31 deletions(-)
create mode 100644 drivers/xen/unpopulated-alloc.c
[PATCH v2 0/4] xen/balloon: fixes for memory hotplug
Posted by Roger Pau Monne 3 years, 9 months ago
Hello,

The following series contain some fixes in order to split Xen
unpopulated memory handling from the ballooning driver if ZONE_DEVICE is
available, so that physical memory regions used to map foreign pages are
not tied to memory hotplug.

Fix two patches are bugfixes that IMO should be backported to stable
branches, third patch is a revert of a workaround applied to the balloon
driver and last patch introduces an interface based on ZONE_DEVICE in
order to manage regions to use for foreign mappings.

Thanks, Roger.

Roger Pau Monne (4):
  xen/balloon: fix accounting in alloc_xenballooned_pages error path
  xen/balloon: make the balloon wait interruptible
  Revert "xen/balloon: Fix crash when ballooning on x86 32 bit PAE"
  xen: add helpers to allocate unpopulated memory

 drivers/gpu/drm/xen/xen_drm_front_gem.c |   8 +-
 drivers/xen/Makefile                    |   1 +
 drivers/xen/balloon.c                   |  30 ++--
 drivers/xen/grant-table.c               |   4 +-
 drivers/xen/privcmd.c                   |   4 +-
 drivers/xen/unpopulated-alloc.c         | 222 ++++++++++++++++++++++++
 drivers/xen/xenbus/xenbus_client.c      |   6 +-
 drivers/xen/xlate_mmu.c                 |   4 +-
 include/xen/xen.h                       |   8 +
 9 files changed, 256 insertions(+), 31 deletions(-)
 create mode 100644 drivers/xen/unpopulated-alloc.c

-- 
2.27.0