[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANRm+Czr41snm-B6OQZq=bT_WV5hXPt5DGh8bmsXfv3HKK-evw@mail.gmail.com>
Date: Fri, 23 Sep 2016 17:41:13 +0800
From: Wanpeng Li <kernellwp@...il.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Radim Krčmář <rkrcmar@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
kvm <kvm@...r.kernel.org>
Subject: Re: [PATCH] KVM: VMX: refactor global page-sized bitmaps
2016-09-23 17:35 GMT+08:00 Paolo Bonzini <pbonzini@...hat.com>:
>
>
> On 23/09/2016 01:18, Radim Krčmář wrote:
>> We've had 10 page-sized bitmaps that were being allocated and freed one
>> by one when we could just use a cycle and MSR bitmaps had a lot of
>> useless code lying around.
>>
>> This patch
>> * enumerates vmx bitmaps and uses an array to store them
>> * replaces vmx_enable_intercept_msr_read_x2apic() with a condition
>> * joins vmx_msr_disable_intercept_msr_{read,write}_x2apic()
>> * renames x2apic_apicv_inactive msr_bitmaps to x2apic and original
>> x2apic bitmaps to x2apic_apicv
>
> It's almost like this could be split in four patches! :) Seriously, I
> like it very much but it's very hard to review.
Yeah, I also like it very much. :) I will send a patch for the rename
one, actually it should be in my previous patch, however, a separate
patch is necessary since the previous patch is merged.
Regards,
Wanpeng Li
Powered by blists - more mailing lists