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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to