Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1437402

Re: [PATCH 3/3] xen: support runqueue steal time on xen

From Juergen Gross <jgross@suse.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] xen: support runqueue steal time on xen
Date 2016-07-06 06:30 +0200
Message-ID <rRMDf-4rp-1@gated-at.bofh.it> (permalink)
References <rMKsp-iq-7@gated-at.bofh.it> <rMKsp-iq-5@gated-at.bofh.it> <rRAsp-4Ci-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 05/07/16 17:23, Stefano Stabellini wrote:
> On Wed, 22 Jun 2016, Juergen Gross wrote:
>> Up to now reading the stolen time of a remote cpu was not possible in a
>> performant way under Xen. This made support of runqueue steal time via
>> paravirt_steal_rq_enabled impossible.
>>
>> With the addition of an appropriate hypervisor interface this is now
>> possible, so add the support.
>>
>> Signed-off-by: Juergen Gross <jgross@suse.com>
>> ---
>>  drivers/xen/time.c | 42 +++++++++++++++++++++++++-----------------
>>  1 file changed, 25 insertions(+), 17 deletions(-)
>>
>> diff --git a/drivers/xen/time.c b/drivers/xen/time.c
>> index 2257b66..65afbe9 100644
>> --- a/drivers/xen/time.c
>> +++ b/drivers/xen/time.c
>> @@ -19,6 +19,9 @@
>>  /* runstate info updated by Xen */
>>  static DEFINE_PER_CPU(struct vcpu_runstate_info, xen_runstate);
>>  
>> +/* runstate info of remote cpu accessible */
>> +static bool xen_runstate_remote;
> 
> Honestly I would rather have one global variable less if it means only
> dropping one BUG_ON.

Okay, I'll remove it.


Juergen

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/3] xen: support runqueue steal time on xen Stefano Stabellini <sstabellini@kernel.org> - 2016-07-05 17:30 +0200
  Re: [PATCH 3/3] xen: support runqueue steal time on xen Juergen Gross <jgross@suse.com> - 2016-07-06 06:30 +0200

csiph-web