init.rc: Set default cpu shares for background scheduler group to < 1%
Signed-off-by: San Mehat <san@google.com>
This commit is contained in:
parent
1f75d709c1
commit
3d6f16e5ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue