Re: [Xen-devel] [PATCH v2 2/2] xen: credit1: no need to check for is_idle_vcpu() in csched_vcpu_acct()

2016-08-19 Thread George Dunlap
On 18/08/16 11:00, Dario Faggioli wrote: > In fact, csched_vcpu_acct() is called by csched_tick() > _only_ on non idle vcpus already. > > There's even an ASSERT() already in place at the top > of it which, by checking that svc->sdom is not NULL, > guarantees that the function is not being called

[Xen-devel] [PATCH v2 2/2] xen: credit1: no need to check for is_idle_vcpu() in csched_vcpu_acct()

2016-08-18 Thread Dario Faggioli
In fact, csched_vcpu_acct() is called by csched_tick() _only_ on non idle vcpus already. There's even an ASSERT() already in place at the top of it which, by checking that svc->sdom is not NULL, guarantees that the function is not being called on the idle domain. Signed-off-by: Dario Faggioli