Re: [PATCH 0/3] KVM: PPC: Book3s: HV: Add HPT preallocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 19, 2012 at 12:17:35AM +0100, Alexander Graf wrote:
> While using the book3s hv code on a 970 system, we quickly ran into situations
> where we didn't have enough contiguous memory available to allocate a 16MB
> region for the page table we need to manage the guest's memory.
> 
> So I went ahead, cleaned up the code we currently use to preallocate RMAs and
> made it usable for HPT allocation. This patch set is the result of it. As a
> nice side effect, it also solves a potential security issue on 970 where we
> reused the RMA of previous guests without clearing them.

Nice patches.  I just have one minor comment about the 3rd patch.

Now I should get in and implement support for other HPT sizes.  16MB
is larger than really necessary for small guests (1GB of RAM or less),
and really large guests could use a larger HPT.

Paul.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux