Commit f85e6275 authored by Ingo Molnar's avatar Ingo Molnar

- do a manual preemption-check in task_rq_unlock().

parent 019afe86
......@@ -181,6 +181,7 @@ static inline runqueue_t *task_rq_lock(task_t *p, unsigned long *flags)
static inline void task_rq_unlock(runqueue_t *rq, unsigned long *flags)
{
_raw_spin_unlock_irqrestore(&rq->lock, *flags);
preempt_check_resched();
}
/*
......
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