Commit 8a04c2ee authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge branch 'sched-urgent-for-linus' of git://

Pull scheduler fix from Thomas Gleixner:
 "Handle the worker management in situations where a task is scheduled
  out on a PI lock contention correctly and schedule a new worker if

* 'sched-urgent-for-linus' of git://
  sched/core: Schedule new worker even if PI-blocked
parents 05bbb936 b0fdc013
......@@ -3904,7 +3904,7 @@ void __noreturn do_task_dead(void)
static inline void sched_submit_work(struct task_struct *tsk)
if (!tsk->state || tsk_is_pi_blocked(tsk))
if (!tsk->state)
......@@ -3920,6 +3920,9 @@ static inline void sched_submit_work(struct task_struct *tsk)
if (tsk_is_pi_blocked(tsk))
* If we are going to sleep and we have plugged IO queued,
* make sure to submit it to avoid deadlocks.
Supports Markdown
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