← 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

 

I just worked internally at IBM and we were able to verify the propose
kernel and the fixes is good. Marking it as verified.

Thanks
Breno

** Tags removed: verification-needed-utopic
** Tags added: verification-done-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