mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 17:13:13 -05:00
Read rtkit's MaxRealtimePriority and RTTimeUSecMax before touching the limit, keep a hard limit that already satisfies rtkit, lower the soft limit to at most half of the hard one, and log when the hard limit is lowered. rtkit checks the hard limit, so it cannot be left alone when it is above RTTimeUSecMax; the side effect is listed in TechnicalDebt.md. Log the policy rtkit applied, SCHED_RR by default.