← Back to team overview

kernel-packages team mailing list archive

[Bug 1400209] Re: KVM: PPC: BOOK3S: HV: CMA: Reserve cma region only in hypervisor mode

 

This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
trusty' to 'verification-done-trusty'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-trusty

** Tags added: verification-needed-utopic

-- 
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/1400209

Title:
  KVM: PPC: BOOK3S: HV: CMA: Reserve cma region only in hypervisor mode

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Trusty:
  Fix Committed
Status in linux source package in Utopic:
  Fix Committed

Bug description:
  SRU Justification:
  [Impact]
  KVM guests on PowerNV allocate memory for CMA in kvm_cma_reserve unnecessarily leading to additional memory consumption.

  [Test Case]
  Boot a KVM guest on PowerNV and measure the differences in memory consumption with and without this patch.

  [Fix]
  commit cec26bc3c125b5dd12a02f04133cd91eae3f1622 upstream
  in v3.18-rc1

  --

  Problem Description
  ==================
  This bugzilla is opened to track the inclusion of the upstream commit mentioned below:

  commit cec26bc3c125b5dd12a02f04133cd91eae3f1622
  Author: Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxxxxxxxxxxx>
  Date:   Mon Sep 29 13:32:38 2014 +0530

      KVM: PPC: BOOK3S: HV: CMA: Reserve cma region only in hypervisor
  mode

      We use cma reserved area for creating guest hash page table.
      Don't do the reservation in non-hypervisor mode. This avoids unnecessary
      CMA reservation when booting with limited memory configs like
      fadump and kdump.

  ---uname output---
  ubuntu14.10

  Machine Type = ppc64

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