Commit 6f34d8d
committed
sched_ext: Use shorter slice while bypassing
While bypassing, tasks are scheduled in FIFO order which favors tasks that
hog CPUs. This can slow down e.g. unloading of the BPF scheduler. While
bypassing, guaranteeing timely forward progress is the main goal. There's no
point in giving long slices. Shorten the time slice used while bypassing
from 20ms to 5ms.
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: David Vernet <[email protected]>1 parent b7b3b2d commit 6f34d8d
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
1944 | 1945 | | |
1945 | 1946 | | |
1946 | 1947 | | |
| 1948 | + | |
1947 | 1949 | | |
1948 | 1950 | | |
1949 | 1951 | | |
| |||
1961 | 1963 | | |
1962 | 1964 | | |
1963 | 1965 | | |
1964 | | - | |
| 1966 | + | |
1965 | 1967 | | |
1966 | 1968 | | |
1967 | 1969 | | |
| |||
2016 | 2018 | | |
2017 | 2019 | | |
2018 | 2020 | | |
2019 | | - | |
| 2021 | + | |
2020 | 2022 | | |
2021 | 2023 | | |
2022 | 2024 | | |
| |||
0 commit comments