summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2010-02-26 10:01:14 -0800
committerSan Mehat <san@google.com>2010-02-26 10:05:24 -0800
commitf0cb74e3b07d5de49dc875f8405e21d2a102e749 (patch)
tree37d12102c35d044ced38f82ff22d2e5c6ed80d9b /rootdir
parent4e221f0077373b37ca70e862eface2987557295b (diff)
downloadsystem_core-f0cb74e3b07d5de49dc875f8405e21d2a102e749.zip
system_core-f0cb74e3b07d5de49dc875f8405e21d2a102e749.tar.gz
system_core-f0cb74e3b07d5de49dc875f8405e21d2a102e749.tar.bz2
rootdir: init.rc: Enable I/O priorities for media server and vold
Sets the media-server to class 'real-time' pri 4, and vold to class 'best effort' pri 2 Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 059ac0a..7b7d7ba 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -281,6 +281,7 @@ service servicemanager /system/bin/servicemanager
service vold /system/bin/vold
socket vold stream 0660 root mount
+ ioprio be 2
service netd /system/bin/netd
socket netd stream 0660 root system
@@ -302,6 +303,7 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys
service media /system/bin/mediaserver
user media
group system audio camera graphics inet net_bt net_bt_admin
+ ioprio rt 4
service bootanim /system/bin/bootanimation
user graphics