'mask' is always a constant, so we can check whether it includes a bit that
might be owned by the guest very cheaply, and avoid the decache call. Saves
a few hundred bytes of module text.
Signed-off-by: Avi Kivity
---
arch/x86/kvm/kvm_cache_regs.h |9 +++--
1 files changed, 7 insertions
Avi Kivity wrote:
> 'mask' is always a constant, so we can check whether it includes a bit that
> might be owned by the guest very cheaply, and avoid the decache call. Saves
> a few hundred bytes of module text.
-no-kvm-irqchip -smp 2 is broken for my Linux guests since this commit.
Their user sp
On 02/05/2010 10:26 AM, Jan Kiszka wrote:
Avi Kivity wrote:
'mask' is always a constant, so we can check whether it includes a bit that
might be owned by the guest very cheaply, and avoid the decache call. Saves
a few hundred bytes of module text.
-no-kvm-irqchip -smp 2 is broken for
Avi Kivity wrote:
> On 02/05/2010 10:26 AM, Jan Kiszka wrote:
>> Avi Kivity wrote:
>>
>>> 'mask' is always a constant, so we can check whether it includes a
>>> bit that
>>> might be owned by the guest very cheaply, and avoid the decache
>>> call. Saves
>>> a few hundred bytes of module text.
>
On 02/07/2010 02:33 PM, Jan Kiszka wrote:
Avi Kivity wrote:
On 02/05/2010 10:26 AM, Jan Kiszka wrote:
Avi Kivity wrote:
'mask' is always a constant, so we can check whether it includes a
bit that
might be owned by the guest very cheaply, and avoid the decache
call. Saves
a
Avi Kivity wrote:
> On 02/07/2010 02:33 PM, Jan Kiszka wrote:
>> Avi Kivity wrote:
>>
>>> On 02/05/2010 10:26 AM, Jan Kiszka wrote:
>>>
Avi Kivity wrote:
> 'mask' is always a constant, so we can check whether it includes a
> bit that
> might be owned by the