Commit 3653469
committed
Merge tag 'sched_urgent_for_v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Borislav Petkov:
- Fix a performance regression when measuring the CPU time of a thread
(clock_gettime(CLOCK_THREAD_CPUTIME_ID,...)) due to the addition of
PSI IRQ time accounting in the hotpath
- Fix a task_struct leak due to missing to decrement the refcount when
the task is enqueued before the timer which is supposed to do that,
expires
- Revert an attempt to expedite detaching of movable tasks, as finding
those could become very costly. Turns out the original issue wasn't
even hit by anyone
* tag 'sched_urgent_for_v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched: Move psi_account_irqtime() out of update_rq_clock_task() hotpath
sched/deadline: Fix task_struct reference leak
Revert "sched/fair: Make sure to try to detach at least one movable task"6 files changed
+39
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
727 | 726 | | |
728 | 727 | | |
729 | 728 | | |
| |||
5665 | 5664 | | |
5666 | 5665 | | |
5667 | 5666 | | |
5668 | | - | |
| 5667 | + | |
5669 | 5668 | | |
5670 | 5669 | | |
5671 | 5670 | | |
| |||
5677 | 5676 | | |
5678 | 5677 | | |
5679 | 5678 | | |
| 5679 | + | |
| 5680 | + | |
| 5681 | + | |
5680 | 5682 | | |
5681 | 5683 | | |
5682 | 5684 | | |
| |||
6737 | 6739 | | |
6738 | 6740 | | |
6739 | 6741 | | |
| 6742 | + | |
6740 | 6743 | | |
6741 | 6744 | | |
6742 | 6745 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1804 | 1804 | | |
1805 | 1805 | | |
1806 | 1806 | | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
1807 | 1810 | | |
1808 | | - | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
1809 | 1814 | | |
1810 | 1815 | | |
1811 | 1816 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9149 | 9149 | | |
9150 | 9150 | | |
9151 | 9151 | | |
9152 | | - | |
9153 | | - | |
9154 | | - | |
9155 | | - | |
9156 | | - | |
9157 | | - | |
| 9152 | + | |
| 9153 | + | |
9158 | 9154 | | |
9159 | 9155 | | |
9160 | 9156 | | |
| |||
11393 | 11389 | | |
11394 | 11390 | | |
11395 | 11391 | | |
11396 | | - | |
11397 | | - | |
11398 | | - | |
| 11392 | + | |
11399 | 11393 | | |
11400 | 11394 | | |
11401 | 11395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
| 776 | + | |
776 | 777 | | |
777 | 778 | | |
778 | 779 | | |
| |||
991 | 992 | | |
992 | 993 | | |
993 | 994 | | |
994 | | - | |
| 995 | + | |
995 | 996 | | |
996 | | - | |
| 997 | + | |
997 | 998 | | |
998 | 999 | | |
999 | | - | |
| 1000 | + | |
| 1001 | + | |
1000 | 1002 | | |
1001 | 1003 | | |
1002 | 1004 | | |
1003 | 1005 | | |
1004 | | - | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
1005 | 1012 | | |
1006 | 1013 | | |
1007 | 1014 | | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
1008 | 1020 | | |
1009 | | - | |
1010 | 1021 | | |
1011 | 1022 | | |
1012 | 1023 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
| 1129 | + | |
1129 | 1130 | | |
1130 | 1131 | | |
1131 | 1132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
192 | 196 | | |
193 | 197 | | |
194 | 198 | | |
195 | | - | |
| 199 | + | |
| 200 | + | |
196 | 201 | | |
197 | 202 | | |
198 | 203 | | |
| |||
0 commit comments