qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Linux kernel polling for QEMU


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Linux kernel polling for QEMU
Date: Wed, 30 Nov 2016 15:18:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0


On 30/11/2016 10:46, Peter Maydell wrote:
>> > The problem is indeed with the scheduling. The way it currently works
>> > is to depend on the iothread to kick a reschedule once in a while, or
>> > a cpu to issue an instruction that does so (wfe/wfi). However if
>> > there's no io and a cpu never issues a scheduling instruction, then it
>> > won't happen. We either need a sched tick or to never have an infinite
>> > iothread ppoll timeout (basically using the ppoll timeout as a tick).
> Ah yes, that one. I thought Alex had a patch which added
> a timer to ensure that we don't allow a single guest
> TCG vCPU to hog the execution thread, but maybe I'm
> misremembering.

Yes, it's part of MTTCG.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]