Re: [PATCH] Updates to Xen hypercall preemption

From: Juergen Gross
Date: Thu Jun 22 2023 - 09:35:26 EST


On 22.06.23 15:05, Andrew Cooper wrote:
On 22/06/2023 9:26 am, Peter Zijlstra wrote:
On Thu, Jun 22, 2023 at 07:22:53AM +0200, Juergen Gross wrote:

The hypercalls we are talking of are synchronous ones. They are running
in the context of the vcpu doing the call (like a syscall from userland is
running in the process context).
(so time actually passes from the guest's pov?)

Yes.  And in principle it's wired into stolen time.

Sure? I think stolen time is only increased if the vcpu is being descheduled
by Xen. Synchronous hypercalls should be accounted for the calling vcpu.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature