[SRU][Trusty]Pull Request: Fixes for lp:1294283

Joseph Salisbury joseph.salisbury at canonical.com
Mon Dec 14 21:48:57 UTC 2015


The generation 2 VMs have been assinged a memory range of 512 MiB-4096MiB with
a starting memory of 512 MiB. They should get additional memory when needed.
However, the total available memory in the VM stays at the intial 512 MiB and 
the kernel starts swapping instead of allocating more memory from the host.

The primary patch is commit to fix this bug is:
4e4bd36f9 - Drivers: hv: balloon: check if ha_region_mutex was acquired in MEM_CANCEL_ONLINE case

This primary patch was already applied to Wily. However, Trusty requires 
addition prereqs requested in this pull request.

This pull request is specific to Trusty.  A pull request was already sent for 
Vivid, which is now fix commited.


The following changes since commit 7ef86399da62a0e260bfda8a0ee3ea8221506288:

  UBUNTU: Ubuntu-3.13.0-71.114 (2015-11-30 17:41:50 -0800)

are available in the git repository at:

  kernel.ubuntu.com:/srv/kernel.ubuntu.com/git/jsalisbury/bugs/lp1294283/ubuntu-trusty.git 

for you to fetch changes up to e2c2fc938f97085f6e55a56b3dc8ca040db54938:

  mm: initialize hotplugged pages as reserved (2015-12-14 16:35:14 -0500)

----------------------------------------------------------------
Dexuan Cui (1):
      hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

K. Y. Srinivasan (1):
      Drivers: hv: hv_balloon: Fix a locking bug in the balloon driver

Mel Gorman (4):
      mm: meminit: make __early_pfn_to_nid SMP-safe and introduce meminit_pfn_in_nid
      mm: meminit: inline some helper functions
      mm, meminit: allow early_pfn_to_nid to be used during runtime
      mm: initialize hotplugged pages as reserved

Rashika Kheria (1):
      include/linux/mm.h: remove ifdef condition

Vitaly Kuznetsov (5):
      Drivers: hv: hv_balloon: refuse to balloon below the floor
      Drivers: hv: hv_balloon: survive ballooning request with num_pages=0
      Drivers: hv: hv_balloon: correctly handle val.freeram<num_pages case
      Drivers: hv: hv_balloon: correctly handle num_pages>INT_MAX case
      Drivers: hv: balloon: check if ha_region_mutex was acquired in MEM_CANCEL_ONLINE case

 arch/ia64/mm/numa.c     |  19 ++++-----
 drivers/hv/hv_balloon.c | 109 +++++++++++++++++++++++++++++++++++++++---------
 include/linux/mm.h      |   8 ++--
 include/linux/mmzone.h  |  15 ++++---
 mm/memory_hotplug.c     |  10 ++++-
 mm/page_alloc.c         |  95 +++++++++++++++++++++++++----------------
 6 files changed, 179 insertions(+), 77 deletions(-)




More information about the kernel-team mailing list