Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90dbf7a8 authored by Colin Cross's avatar Colin Cross Committed by The Android Automerger
Browse files

Increase cpu.rt_runtime_us to 10% for fg and bg groups

GPS on yakju puts SCHED_RR threads in the fg and bg groups, and
is unhappy with 0.1% limits.  Increase the limits to 10%.

Change-Id: I971c9b0a815890d41694b965fdd2b023937a4411
parent ccd05031
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ loglevel 3
    chown system system /dev/cpuctl/foreground/tasks
    chmod 0666 /dev/cpuctl/foreground/tasks
    write /dev/cpuctl/foreground/cpu.shares 1024
    write /dev/cpuctl/foreground/cpu.rt_runtime_us 1000
    write /dev/cpuctl/foreground/cpu.rt_runtime_us 100000
    write /dev/cpuctl/foreground/cpu.rt_period_us 1000000

    mkdir /dev/cpuctl/bg_non_interactive
@@ -105,7 +105,7 @@ loglevel 3
    chmod 0666 /dev/cpuctl/bg_non_interactive/tasks
    # 5.0 %
    write /dev/cpuctl/bg_non_interactive/cpu.shares 52
    write /dev/cpuctl/bg_non_interactive/cpu.rt_runtime_us 1000
    write /dev/cpuctl/bg_non_interactive/cpu.rt_runtime_us 100000
    write /dev/cpuctl/bg_non_interactive/cpu.rt_period_us 1000000

    mkdir /dev/cpuctl/audio_app