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: Peter Maydell
Subject: Re: [Qemu-devel] Linux kernel polling for QEMU
Date: Wed, 30 Nov 2016 09:46:10 +0000

On 30 November 2016 at 09:05, Andrew Jones <address@hidden> 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.

thanks
-- PMM



reply via email to

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