|
From: | Richard Henderson |
Subject: | Re: [RFC PATCH 00/13] x86 User Interrupts support |
Date: | Fri, 1 Oct 2021 12:41:59 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 10/1/21 12:35 PM, Stefan Hajnoczi wrote:
QEMU's TCG threads execute translated code. There are events that require interrupting these threads. Today a check is performed at the start of every translated block. Most of the time the check is false and it's a waste of CPU. User interrupts can eliminate the need for checks by interrupting TCG threads when events occur.
We used to use interrupts, and stopped because we need to wait until the guest is in a stable state. The guest is always in a stable state at the beginning of each TB.
See 378df4b2375. r~
[Prev in Thread] | Current Thread | [Next in Thread] |