[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] xen/arm: Fix rtds scheduler for arm
From: denys drozdov <denys.drozdov@xxxxxxxxxxxxxxx> Change-Id: I9b315f213775b8410fe75cd96968dcb213ea287b Signed-off-by: denys drozdov <denys.drozdov@xxxxxxxxxxxxxxx> --- xen/common/sched_rt.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/xen/common/sched_rt.c b/xen/common/sched_rt.c index e70d6c7..1ab0a62 100644 --- a/xen/common/sched_rt.c +++ b/xen/common/sched_rt.c @@ -1010,8 +1010,9 @@ rt_context_saved(const struct scheduler *ops, struct vcpu *vc) struct rt_vcpu *snext = NULL; struct rt_dom *sdom = NULL; struct rt_private *prv = rt_priv(ops); - cpumask_t *online; - spinlock_t *lock = vcpu_schedule_lock_irq(vc); + cpumask_t *online; + unsigned long flags; + spinlock_t *lock = vcpu_schedule_lock_irqsave(vc, &flags); clear_bit(__RTDS_scheduled, &svc->flags); /* not insert idle vcpu to runq */ @@ -1032,7 +1033,7 @@ rt_context_saved(const struct scheduler *ops, struct vcpu *vc) runq_tickle(ops, snext); } out: - vcpu_schedule_unlock_irq(lock, vc); + vcpu_schedule_unlock_irqrestore(lock, flags, vc); } /* -- 1.7.9.5 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |