mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
sched/walt: Fix in long running RT task detection
Ensure that long running RT task detection is set to a minimum of 800ms. Change-Id: I378c6b51ef9d417f9143e19e2938b625d1dd6a65 Signed-off-by: Sai Harshini Nimmala <quic_snimmala@quicinc.com>
This commit is contained in:
parent
ef1fadeb4b
commit
ac78c5792b
|
|
@ -61,6 +61,10 @@ int sched_long_running_rt_task_ms_handler(struct ctl_table *table, int write,
|
|||
|
||||
ret = proc_douintvec_minmax(table, write, buffer, lenp, ppos);
|
||||
|
||||
if (sysctl_sched_long_running_rt_task_ms > 0 &&
|
||||
sysctl_sched_long_running_rt_task_ms < 800)
|
||||
sysctl_sched_long_running_rt_task_ms = 800;
|
||||
|
||||
if (write && !long_running_rt_task_trace_rgstrd) {
|
||||
register_trace_sched_switch(rt_task_arrival_marker, NULL);
|
||||
register_trace_android_vh_scheduler_tick(long_running_rt_task_notifier, NULL);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user