sched: Allow realtime tasks to consume entire sched periods

If the scenario is right, we can run realtime tasks for 5% longer. This
also disables lockup protection from unhandled realtime tasks.

Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
Signed-off-by: ZyCromerZ <neetroid97@gmail.com>
This commit is contained in:
Tyler Nijmeh 2020-02-21 10:39:44 -08:00 committed by Ksawlii
parent 9e751eb5cb
commit ff454a80ba

View file

@ -98,7 +98,7 @@ __read_mostly int scheduler_running;
* part of the period that we allow rt tasks to run in us.
* default: 0.95s
*/
int sysctl_sched_rt_runtime = 950000;
int sysctl_sched_rt_runtime = -1;
/*