[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> Update RT scheduler to run on arm platform Signed-off-by: denys drozdov <denys.drozdov@xxxxxxxxxxxxxxx> --- xen/common/sched_rt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xen/common/sched_rt.c b/xen/common/sched_rt.c index e70d6c7..5fcc205 100644 --- a/xen/common/sched_rt.c +++ b/xen/common/sched_rt.c @@ -1011,7 +1011,8 @@ rt_context_saved(const struct scheduler *ops, struct vcpu *vc) struct rt_dom *sdom = NULL; struct rt_private *prv = rt_priv(ops); cpumask_t *online; - spinlock_t *lock = vcpu_schedule_lock_irq(vc); + 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 |