Commit ae3b59f1 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

evl/sched: shorten rescheduling path when oob

Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <>
parent fc83595e
......@@ -280,7 +280,11 @@ static inline bool evl_schedule(void)
if (((this_rq->status|this_rq->lflags) & (RQ_IRQ|RQ_SCHED)) != RQ_SCHED)
return false;
return (bool)run_oob_call((int (*)(void *))__evl_schedule, this_rq);
if (unlikely(running_inband()))
return (bool)run_oob_call((int (*)(void *))__evl_schedule,
return __evl_schedule(this_rq);
static inline int evl_preempt_count(void)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment