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 lines already states that clearing the flag should > happen AFTER the unpause. This bug was introduced in commit be650750945 > "credit1: Use atomic bit operations for the flags structure". > > Original patch author credit: Xi Xiong while at Amazon. > > Signed-off-by: Eslam Elnikety <[email protected]> > Reviewed-by: Leonard Foerster <[email protected]> > Reviewed-by: Petre Eftime <[email protected]> > Acked-by: Dario Faggioli <[email protected]>
Pulled into x86-next. ~Andrew _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
