* Marcelo Tosatti <[email protected]> [2010-06-10 23:25:51]:

> 
> The following patch implements a simple busy-spin detector. It considers
> a vcpu as busy-spinning if there are two consecutive exits due to
> external interrupt on the same RIP, and sleeps for 100us in that case.
> 
> It is very likely that if the vcpu is making progress it will either
> exit for other reasons or change RIP.
> 
> The percentage numbers below represent improvement in kernel build
> time in comparison with mainline (RHEL 5.4 guest).
>

Interesting approach, is there a reason to tie it in with pause loop
exits? Can't we do something more generic or even para-virtish.

-- 
        Three Cheers,
        Balbir
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to