KVM: PPC: BOOK3S: HV: CMA: Reserve cma region only in hypervisor mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Chris J Arges | ||
Utopic |
Fix Released
|
Medium
|
Chris J Arges |
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 cec26bc3c125b5d
in v3.18-rc1
--
Problem Description
==================
This bugzilla is opened to track the inclusion of the upstream commit mentioned below:
commit cec26bc3c125b5d
Author: Aneesh Kumar K.V <email address hidden>
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
tags: | added: architecture-ppc64le bugnameltc-119457 severity-high targetmilestone-inin--- |
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | New → Fix Released |
Changed in linux (Ubuntu Trusty): | |
assignee: | nobody → Chris J Arges (arges) |
Changed in linux (Ubuntu Utopic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Utopic): | |
assignee: | nobody → Chris J Arges (arges) |
Changed in linux (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Utopic): | |
status: | New → In Progress |
Changed in linux (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in linux (Ubuntu Utopic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Trusty): | |
status: | In Progress → Fix Committed |
tags: |
added: targetmilestone-inin1410 removed: targetmilestone-inin--- |
tags: |
added: verification-done-trusty removed: verification-needed-trusty |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1400209/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]