[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.2] credit: unpause parked vcpu before destroying it
commit b37536a7cf0a4baeda5ffe54b8fe8c821aacca26 Author: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx> AuthorDate: Fri Nov 15 11:35:28 2013 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Nov 15 11:35:28 2013 +0100 credit: unpause parked vcpu before destroying it A capped out vcpu must be unpaused in case of moving it to another cpupool, otherwise it will be paused forever. Signed-off-by: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx> Acked-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> master commit: d38a668b6ef8c84d1d3fda9947ffb0056d01fe3a master date: 2013-10-16 12:26:48 +0200 --- xen/common/sched_credit.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c index ec30706..ee3df06 100644 --- a/xen/common/sched_credit.c +++ b/xen/common/sched_credit.c @@ -702,6 +702,12 @@ csched_vcpu_remove(const struct scheduler *ops, struct vcpu *vc) CSCHED_STAT_CRANK(vcpu_destroy); + if ( test_and_clear_bit(CSCHED_FLAG_VCPU_PARKED, &svc->flags) ) + { + CSCHED_STAT_CRANK(vcpu_unpark); + vcpu_unpause(svc->vcpu); + } + if ( __vcpu_on_runq(svc) ) __runq_remove(svc); -- generated by git-patchbot for /home/xen/git/xen.git#stable-4.2 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |