Re: [Xen-devel] [PATCH] hvm/vlapic: Express x2apic msr readability with a bitmap

2015-01-22 Thread Andrew Cooper
On 22/01/15 09:39, Jan Beulich wrote: On 21.01.15 at 18:08, wrote: >> The x2apic MSR space is currently defined between 0x800 and 0x83f, which >> conveniently fits in a 64 bit wide bitmap. This is far more efficient than >> the cascade comparisons generated by the switch statement, which can

Re: [Xen-devel] [PATCH] hvm/vlapic: Express x2apic msr readability with a bitmap

2015-01-22 Thread Jan Beulich
>>> On 21.01.15 at 18:08, wrote: > The x2apic MSR space is currently defined between 0x800 and 0x83f, which > conveniently fits in a 64 bit wide bitmap. This is far more efficient than > the cascade comparisons generated by the switch statement, which can't be > optimised because of the case rang