Re: [PATCH][UPDATE] shortcut for lightweight VM Exit

Dong, Eddie
2007-05-08T05:08:38Z

Avi Kivity wrote:
> I measured 650 cycles saved from a total of 5300 before the patch.
>
> The patch had a bug where it would exit to userspace if need_resched()
> was true. This can reduce performance on a high context
Avi:
This is not a must though it is OK, OS will automatically do
rescheduling if
letting VMM exit to userspace which can increase the virtual Interrupt
inject efficiency.
Removing kvm_resched() can simplify the logic.