Commit 727c399
committed
Merge tag 'sched-urgent-2022-06-19' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fix from Thomas Gleixner:
"A single scheduler fix plugging a race between sched_setscheduler()
and balance_push().
sched_setscheduler() spliced the balance callbacks accross a lock
break which makes it possible for an interleaving schedule() to
observe an empty list"
* tag 'sched-urgent-2022-06-19' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched: Fix balance_push() vs __sched_setscheduler()2 files changed
Lines changed: 38 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4798 | 4798 | | |
4799 | 4799 | | |
4800 | 4800 | | |
| 4801 | + | |
| 4802 | + | |
| 4803 | + | |
| 4804 | + | |
| 4805 | + | |
| 4806 | + | |
| 4807 | + | |
| 4808 | + | |
| 4809 | + | |
| 4810 | + | |
| 4811 | + | |
4801 | 4812 | | |
4802 | 4813 | | |
4803 | 4814 | | |
4804 | 4815 | | |
4805 | 4816 | | |
4806 | | - | |
| 4817 | + | |
| 4818 | + | |
4807 | 4819 | | |
4808 | 4820 | | |
4809 | 4821 | | |
| 4822 | + | |
| 4823 | + | |
| 4824 | + | |
4810 | 4825 | | |
4811 | | - | |
| 4826 | + | |
| 4827 | + | |
| 4828 | + | |
| 4829 | + | |
| 4830 | + | |
| 4831 | + | |
| 4832 | + | |
| 4833 | + | |
| 4834 | + | |
| 4835 | + | |
| 4836 | + | |
4812 | 4837 | | |
4813 | 4838 | | |
4814 | 4839 | | |
4815 | 4840 | | |
4816 | 4841 | | |
| 4842 | + | |
| 4843 | + | |
| 4844 | + | |
| 4845 | + | |
| 4846 | + | |
4817 | 4847 | | |
4818 | 4848 | | |
4819 | | - | |
| 4849 | + | |
4820 | 4850 | | |
4821 | 4851 | | |
4822 | 4852 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1693 | 1693 | | |
1694 | 1694 | | |
1695 | 1695 | | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
1696 | 1701 | | |
1697 | 1702 | | |
1698 | 1703 | | |
| |||
0 commit comments