Commit 664e78f
sched_ext: Don't kick CPUs running higher classes
commit a9c1fbb upstream.
When a sched_ext scheduler tries to kick a CPU, the CPU may be running a
higher class task. sched_ext has no control over such CPUs. A sched_ext
scheduler couldn't have expected to get access to the CPU after kicking it
anyway. Skip kicking when the target CPU is running a higher class.
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent edb9fab commit 664e78f
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5164 | 5164 | | |
5165 | 5165 | | |
5166 | 5166 | | |
| 5167 | + | |
5167 | 5168 | | |
5168 | 5169 | | |
5169 | 5170 | | |
5170 | 5171 | | |
| 5172 | + | |
5171 | 5173 | | |
5172 | 5174 | | |
5173 | 5175 | | |
5174 | | - | |
| 5176 | + | |
| 5177 | + | |
| 5178 | + | |
5175 | 5179 | | |
5176 | | - | |
| 5180 | + | |
| 5181 | + | |
5177 | 5182 | | |
5178 | | - | |
| 5183 | + | |
5179 | 5184 | | |
5180 | 5185 | | |
5181 | 5186 | | |
| |||
0 commit comments