Re: [Xen-devel] [PATCH v2] sched/credit: avoid priority boost for capped domains when unpark

2019-05-06 Thread Andrew Cooper
On 03/05/2019 20:43, Eslam Elnikety wrote: > When unpausing a capped domain, the scheduler currently clears the > CSCHED_FLAG_VCPU_PARKED flag before vcpu_wake(). This, in turn, causes the > vcpu_wake to set CSCHED_PRI_TS_BOOST, resulting in an unfair credit boost. The > comment around the changed

[Xen-devel] [PATCH v2] sched/credit: avoid priority boost for capped domains when unpark

2019-05-03 Thread Eslam Elnikety
When unpausing a capped domain, the scheduler currently clears the CSCHED_FLAG_VCPU_PARKED flag before vcpu_wake(). This, in turn, causes the vcpu_wake to set CSCHED_PRI_TS_BOOST, resulting in an unfair credit boost. The comment around the changed lines already states that clearing the flag should