2023-06-22 13:43:28

by Jürgen Groß

[permalink] [raw]
Subject: Re: [PATCH] Updates to Xen hypercall preemption

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


Attachments:
OpenPGP_0xB0DE9DD628BF132F.asc (3.08 kB)
OpenPGP public key
OpenPGP_signature (505.00 B)
OpenPGP digital signature
Download all attachments