Add support for RT patches (#380)

* Add support for RT patches

* Disallow other CPU schedulers on PREEMPT_RT
This commit is contained in:
X9VoiD
2021-12-12 22:18:48 +08:00
committed by GitHub
parent 6be7a4920b
commit 07503204b4
3 changed files with 66 additions and 2 deletions

View File

@@ -104,6 +104,16 @@ _llvm_ias=""
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_lto_mode=""
# Apply PREEMPT_RT patchset to the kernel.
# ! Only CFS CPU scheduler is compatible with this patchset !
# Set to "1" to enable.
_preempt_rt=""
# Forcibly apply the PREEMPT_RT patchset to the kernel, even when upstream does not officially support the kernel subversion.
# ! This will still not apply when the patch itself or linux-tkg (see _version) do not support the kernel major version - Not recommended !
# Set to "1" to enable.
_preempt_rt_force=""
# CPU sched_yield_type - Choose what sort of yield sched_yield will perform
# For PDS and MuQSS: 0: No yield. (Recommended option for gaming on PDS and MuQSS)
# 1: Yield only to better priority/deadline tasks. (Default - can be unstable with PDS on some platforms)