From 44152dd082c637229d45ac0041101370a0d5528a Mon Sep 17 00:00:00 2001 From: Bjoern Brandenburg Date: Mon, 1 Jul 2013 22:15:48 +0200 Subject: Integrate SRP ceiling blocking callback with Linux scheduler Check whether a suspension is required at end of schedule(). --- kernel/sched/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index b3252d165e22..5e5603fbb538 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3071,6 +3071,8 @@ litmus_need_resched_nonpreemptible: if (need_resched()) goto need_resched; + + srp_ceiling_block(); } static inline void sched_submit_work(struct task_struct *tsk) -- cgit v1.2.2