Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

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
possible"

* 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched/core: Schedule new worker even if PI-blocked

+4 -1
+4 -1
kernel/sched/core.c
··· 3904 3904 3905 3905 static inline void sched_submit_work(struct task_struct *tsk) 3906 3906 { 3907 - if (!tsk->state || tsk_is_pi_blocked(tsk)) 3907 + if (!tsk->state) 3908 3908 return; 3909 3909 3910 3910 /* ··· 3919 3919 wq_worker_sleeping(tsk); 3920 3920 preempt_enable_no_resched(); 3921 3921 } 3922 + 3923 + if (tsk_is_pi_blocked(tsk)) 3924 + return; 3922 3925 3923 3926 /* 3924 3927 * If we are going to sleep and we have plugged IO queued,