← Back to team overview

kernel-packages team mailing list archive

[Bug 1542941] Re: Regression: problems migrating recent wily/vivid Xen VMs due to memory hotplug fix

 

Malcolm Scott, I've adjust the Bug Description as presumed intention.
Please adjust as applicable.

** Tags added: cherry-pick

** Tags added: reverse-bisect-done

** Description changed:

  Commit 633d6f17cd91ad5bf2370265946f716e42d388c6 (aka
  38d30afb12140c0e3a446fe779dc9cd29548f313 in vivid) in Xen domU causes
  high resource requirements in the underlying target dom0 (migrating a
  64-bit domU involves a 1GB malloc in dom0, as well as a lot of
  unnecessary work).
  
  In my specific case, that 1GB malloc fails as my dom0s aren't big
  enough, causing all migrations to fail with the migrating VM suspended.
  
- This is fixed in commit 98dd166ea3a3c3b57919e20d9b0d1237fcd0349d
+ This is fixed in https://marc.info/?l=git-commits-head&m=142800846201785&w=2 :
  "x86/xen: prepare p2m list for memory hotplug":
  
  """
  Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear
  virtual mapped sparse p2m list") introduced a regression regarding to
  memory hotplug for a pv-domain: as the virtual space for the p2m list
  is allocated for the to be expected memory size of the domain only,
  hotplugged memory above that size will not be usable by the domain.
  
  Correct this by using a configurable size for the p2m list in case of
  memory hotplug enabled (default supported memory size is 512 GB for
  64 bit domains and 4 GB for 32 bit domains).
  
  Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
  Cc: <stable@xxxxxxxxxxxxxxx> # 3.19+
  Reviewed-by: Daniel Kiper <daniel.kiper@xxxxxxxxxx>
  Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>
  """
  
  Please consider incorporating 98dd166ea3a3c3b57919e20d9b0d1237fcd0349d
  into the wily and vivid kernels.  Thanks.

** Description changed:

  Commit 633d6f17cd91ad5bf2370265946f716e42d388c6 (aka
  38d30afb12140c0e3a446fe779dc9cd29548f313 in vivid) in Xen domU causes
  high resource requirements in the underlying target dom0 (migrating a
  64-bit domU involves a 1GB malloc in dom0, as well as a lot of
  unnecessary work).
  
  In my specific case, that 1GB malloc fails as my dom0s aren't big
  enough, causing all migrations to fail with the migrating VM suspended.
  
  This is fixed in https://marc.info/?l=git-commits-head&m=142800846201785&w=2 :
  "x86/xen: prepare p2m list for memory hotplug":
  
  """
  Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear
  virtual mapped sparse p2m list") introduced a regression regarding to
  memory hotplug for a pv-domain: as the virtual space for the p2m list
  is allocated for the to be expected memory size of the domain only,
  hotplugged memory above that size will not be usable by the domain.
  
  Correct this by using a configurable size for the p2m list in case of
  memory hotplug enabled (default supported memory size is 512 GB for
  64 bit domains and 4 GB for 32 bit domains).
  
  Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
  Cc: <stable@xxxxxxxxxxxxxxx> # 3.19+
  Reviewed-by: Daniel Kiper <daniel.kiper@xxxxxxxxxx>
  Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>
  """
- 
- Please consider incorporating 98dd166ea3a3c3b57919e20d9b0d1237fcd0349d
- into the wily and vivid kernels.  Thanks.

** Changed in: linux (Ubuntu)
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1542941

Title:
  Regression: problems migrating recent wily/vivid Xen VMs due to memory
  hotplug fix

Status in linux package in Ubuntu:
  Triaged

Bug description:
  Commit 633d6f17cd91ad5bf2370265946f716e42d388c6 (aka
  38d30afb12140c0e3a446fe779dc9cd29548f313 in vivid) in Xen domU causes
  high resource requirements in the underlying target dom0 (migrating a
  64-bit domU involves a 1GB malloc in dom0, as well as a lot of
  unnecessary work).

  In my specific case, that 1GB malloc fails as my dom0s aren't big
  enough, causing all migrations to fail with the migrating VM
  suspended.

  This is fixed in https://marc.info/?l=git-commits-head&m=142800846201785&w=2 :
  "x86/xen: prepare p2m list for memory hotplug":

  """
  Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear
  virtual mapped sparse p2m list") introduced a regression regarding to
  memory hotplug for a pv-domain: as the virtual space for the p2m list
  is allocated for the to be expected memory size of the domain only,
  hotplugged memory above that size will not be usable by the domain.

  Correct this by using a configurable size for the p2m list in case of
  memory hotplug enabled (default supported memory size is 512 GB for
  64 bit domains and 4 GB for 32 bit domains).

  Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
  Cc: <stable@xxxxxxxxxxxxxxx> # 3.19+
  Reviewed-by: Daniel Kiper <daniel.kiper@xxxxxxxxxx>
  Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>
  """

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1542941/+subscriptions


References