Re: [Xen-devel] [RFC 2/6] schedule: account true system idle time

2019-08-01 Thread Andrii Anisov
Hello Dario, On 29.07.19 14:40, Dario Faggioli wrote: Yes, in terms of this patch, idle_vcpu_runstate_change() better be moved to common/schedule.c. I think we should, first of all, think, if using runstates and runstates manipulation functions is really the best way forward here. And, if tha

Re: [Xen-devel] [RFC 2/6] schedule: account true system idle time

2019-07-29 Thread Dario Faggioli
On Fri, 2019-07-26 at 15:42 +0300, Andrii Anisov wrote: > Hello Dario, > Hi, > On 26.07.19 15:00, Dario Faggioli wrote: > > On Fri, 2019-07-26 at 13:37 +0300, Andrii Anisov wrote: > > I see how it is rather easy to do something like this, so > > I understand it being done like this in an RFC patc

Re: [Xen-devel] [RFC 2/6] schedule: account true system idle time

2019-07-26 Thread Andrii Anisov
Hello Dario, On 26.07.19 15:00, Dario Faggioli wrote: On Fri, 2019-07-26 at 13:37 +0300, Andrii Anisov wrote: From: Andrii Anisov Currently the idle time is being accounted as a idle vcpu runtime. This is not entirely correct, because the entity named idle vcpu is in fact a hypervisor tasks w

Re: [Xen-devel] [RFC 2/6] schedule: account true system idle time

2019-07-26 Thread Dario Faggioli
On Fri, 2019-07-26 at 13:37 +0300, Andrii Anisov wrote: > From: Andrii Anisov > > Currently the idle time is being accounted as a idle vcpu runtime. > This is not entirely correct, because the entity named idle vcpu is > in fact a hypervisor tasks worker. E.g. some softirqs are processed > by the

[Xen-devel] [RFC 2/6] schedule: account true system idle time

2019-07-26 Thread Andrii Anisov
From: Andrii Anisov Currently the idle time is being accounted as a idle vcpu runtime. This is not entirely correct, because the entity named idle vcpu is in fact a hypervisor tasks worker. E.g. some softirqs are processed by the idle vcpu. So lets change idle vcpu time accounting and specify sys