diff options
| author | Dima Zavin <dima@android.com> | 2012-06-04 10:45:15 -0700 |
|---|---|---|
| committer | Dima Zavin <dima@android.com> | 2012-06-04 13:02:44 -0700 |
| commit | df44b88621f60e933d7d31090bf0bb892e88142c (patch) | |
| tree | 3710a2e79a8fc99bd1b54b451ede0e1a72547b6f /rootdir | |
| parent | 13ed76bfbce8e96604e781f88808b4d883891dde (diff) | |
| download | system_core-df44b88621f60e933d7d31090bf0bb892e88142c.tar.gz system_core-df44b88621f60e933d7d31090bf0bb892e88142c.tar.bz2 system_core-df44b88621f60e933d7d31090bf0bb892e88142c.zip | |
core: init.rc: create apps cgroup for fg tasks, move bg under it
Bug: 6538553
Change-Id: I7c29975aa376bcdda9d6bbd1fd3e04fdb1c1b1fe
Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/init.rc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index aa1bb92a..6647721c 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -93,20 +93,20 @@ loglevel 3 write /dev/cpuctl/cpu.rt_runtime_us 950000 write /dev/cpuctl/cpu.rt_period_us 1000000 - mkdir /dev/cpuctl/foreground - 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 100000 - write /dev/cpuctl/foreground/cpu.rt_period_us 1000000 - - mkdir /dev/cpuctl/bg_non_interactive - chown system system /dev/cpuctl/bg_non_interactive/tasks - chmod 0666 /dev/cpuctl/bg_non_interactive/tasks + mkdir /dev/cpuctl/apps + chown system system /dev/cpuctl/apps/tasks + chmod 0666 /dev/cpuctl/apps/tasks + write /dev/cpuctl/apps/cpu.shares 1024 + write /dev/cpuctl/apps/cpu.rt_runtime_us 100000 + write /dev/cpuctl/apps/cpu.rt_period_us 1000000 + + mkdir /dev/cpuctl/apps/bg_non_interactive + chown system system /dev/cpuctl/apps/bg_non_interactive/tasks + chmod 0666 /dev/cpuctl/apps/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 100000 - write /dev/cpuctl/bg_non_interactive/cpu.rt_period_us 1000000 + write /dev/cpuctl/apps/bg_non_interactive/cpu.shares 52 + write /dev/cpuctl/apps/bg_non_interactive/cpu.rt_runtime_us 100000 + write /dev/cpuctl/apps/bg_non_interactive/cpu.rt_period_us 1000000 mkdir /dev/cpuctl/audio_app chown system system /dev/cpuctl/audio_app/tasks |
