Re: [PATCH v5 01/19] KVM: x86: Allocate new rmap and large page tracking when moving memslot

2020-02-05 Thread Sean Christopherson
On Wed, Feb 05, 2020 at 09:58:58PM -0500, Peter Xu wrote: > On Wed, Feb 05, 2020 at 06:17:15PM -0800, Sean Christopherson wrote: > > On Wed, Feb 05, 2020 at 09:00:31PM -0500, Peter Xu wrote: > > > On Wed, Feb 05, 2020 at 03:55:33PM -0800, Sean Christopherson wrote: > > > > On Wed, Feb 05, 2020 at

Re: [PATCH v5 01/19] KVM: x86: Allocate new rmap and large page tracking when moving memslot

2020-02-05 Thread Peter Xu
On Wed, Feb 05, 2020 at 06:17:15PM -0800, Sean Christopherson wrote: > On Wed, Feb 05, 2020 at 09:00:31PM -0500, Peter Xu wrote: > > On Wed, Feb 05, 2020 at 03:55:33PM -0800, Sean Christopherson wrote: > > > On Wed, Feb 05, 2020 at 04:49:52PM -0500, Peter Xu wrote: > > > > On Tue, Jan 21, 2020 at

Re: [PATCH v5 01/19] KVM: x86: Allocate new rmap and large page tracking when moving memslot

2020-02-05 Thread Sean Christopherson
On Wed, Feb 05, 2020 at 09:00:31PM -0500, Peter Xu wrote: > On Wed, Feb 05, 2020 at 03:55:33PM -0800, Sean Christopherson wrote: > > On Wed, Feb 05, 2020 at 04:49:52PM -0500, Peter Xu wrote: > > > On Tue, Jan 21, 2020 at 02:31:39PM -0800, Sean Christopherson wrote: > > > > Reallocate a rmap array

Re: [PATCH v5 01/19] KVM: x86: Allocate new rmap and large page tracking when moving memslot

2020-02-05 Thread Peter Xu
On Wed, Feb 05, 2020 at 03:55:33PM -0800, Sean Christopherson wrote: > On Wed, Feb 05, 2020 at 04:49:52PM -0500, Peter Xu wrote: > > On Tue, Jan 21, 2020 at 02:31:39PM -0800, Sean Christopherson wrote: > > > Reallocate a rmap array and recalcuate large page compatibility when > > > moving an

Re: [PATCH v5 01/19] KVM: x86: Allocate new rmap and large page tracking when moving memslot

2020-02-05 Thread Sean Christopherson
On Wed, Feb 05, 2020 at 04:49:52PM -0500, Peter Xu wrote: > On Tue, Jan 21, 2020 at 02:31:39PM -0800, Sean Christopherson wrote: > > Reallocate a rmap array and recalcuate large page compatibility when > > moving an existing memslot to correctly handle the alignment properties > > of the new

Re: [PATCH v5 01/19] KVM: x86: Allocate new rmap and large page tracking when moving memslot

2020-02-05 Thread Peter Xu
On Tue, Jan 21, 2020 at 02:31:39PM -0800, Sean Christopherson wrote: > Reallocate a rmap array and recalcuate large page compatibility when > moving an existing memslot to correctly handle the alignment properties > of the new memslot. The number of rmap entries required at each level > is