[Devel] [PATCH 2/2] kvm: Allow scheduler throttling in __vcpu_run()
Vladimir Davydov
vdavydov at virtuozzo.com
Tue Jan 12 01:34:33 PST 2016
On Mon, Jan 11, 2016 at 08:15:57PM +0300, Kirill Tkhai wrote:
> Since __vcpu_run() does not hold any mutexes, it's
> save to throttle there.
>
> Otherwise, the character of this place makes it behave
> as in-kernel busy loop: while () { cond_resched(); }
> and sys cpu usage takes up to 100% cpu.
>
> https://jira.sw.ru/browse/PSBM-42358
>
> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
Reviewed-by: Vladimir Davydov <vdavydov at virtuozzo.com>
More information about the Devel
mailing list