Enable TT for 5.19rc and TT High HZ patch for 5.15 (#538)
* Enable TT for 5.19 and TT High HZ patch for 5.15 * Reset config from testing
This commit is contained in:
committed by
GitHub
parent
1d1ccfccbe
commit
5b8ff011c7
@@ -201,6 +201,8 @@ _set_cpu_scheduler() {
|
||||
_avail_cpu_scheds=("pds" "bmq" "cacule" "tt" "cfs")
|
||||
elif [ "$_basever" = "518" ]; then
|
||||
_avail_cpu_scheds=("pds" "bmq" "cacule" "tt" "cfs")
|
||||
elif [ "$_basever" = "519" ]; then
|
||||
_avail_cpu_scheds=("tt" "cfs")
|
||||
else
|
||||
_avail_cpu_scheds=("cfs")
|
||||
fi
|
||||
@@ -633,6 +635,16 @@ _tkg_srcprep() {
|
||||
fi
|
||||
tkgpatch="$srcdir/tt.patch" && _tkg_patcher
|
||||
fi
|
||||
if [ "$_tt_high_hz" = "true" ] && [ $_basever = 515 ]; then
|
||||
_msg="Applying TT High HZ patch"
|
||||
if [ "${_distro}" = "Void" ]; then
|
||||
curl "https://raw.githubusercontent.com/hamadmarri/TT-CPU-Scheduler/master/patches/${_basekernel}/high-hz.patch" > "$wrksrc"/tt_high_hz.patch
|
||||
tkgpatch="$wrksrc/tt_high_hz.patch" && _tkg_patcher
|
||||
else
|
||||
curl "https://raw.githubusercontent.com/hamadmarri/TT-CPU-Scheduler/master/patches/${_basekernel}/high-hz.patch" > "$srcdir"/tt_high_hz.patch
|
||||
tkgpatch="$srcdir/tt_high_hz.patch" && _tkg_patcher
|
||||
fi
|
||||
fi
|
||||
elif [ "${_cpusched}" = "cfs" ]; then
|
||||
_msg="Applying Glitched CFS patch"
|
||||
tkgpatch="$srcdir/0003-glitched-cfs.patch" && _tkg_patcher
|
||||
|
Reference in New Issue
Block a user