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

Commit 3d6f16e5 authored by San Mehat's avatar San Mehat
Browse files

init.rc: Set default cpu shares for background scheduler group to < 1%



Signed-off-by: default avatarSan Mehat <san@google.com>
parent 1f75d709
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -50,7 +50,7 @@ loglevel 3
    mkdir /dev/cpuctl/bg_non_interactive
    mkdir /dev/cpuctl/bg_non_interactive
    chown system system /dev/cpuctl/bg_non_interactive/tasks
    chown system system /dev/cpuctl/bg_non_interactive/tasks
    chmod 0777 /dev/cpuctl/bg_non_interactive/tasks
    chmod 0777 /dev/cpuctl/bg_non_interactive/tasks
    write /dev/cpuctl/bg_non_interactive/cpu.shares 1024
    write /dev/cpuctl/bg_non_interactive/cpu.shares 1


# mount mtd partitions
# mount mtd partitions
    # Mount /system rw first to give the filesystem a chance to save a checkpoint
    # Mount /system rw first to give the filesystem a chance to save a checkpoint