summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid (Google) Code Review2009-10-13 14:54:44 -0500
committerAndroid (Google) Code Review2009-10-13 14:54:44 -0500
commitfd110c7fb36966a7b917c7661e5497b4ffccd7da (patch)
treee78a1380dbec2a9a6f29f8a8386532b59c2e449e
parent8cf0d59f61ae0b8554ecf3fe051850508b761b79 (diff)
parent831d8e1e3a08520369561087112ebf898e31704c (diff)
downloadplatform-system-core-fd110c7fb36966a7b917c7661e5497b4ffccd7da.tar.gz
platform-system-core-fd110c7fb36966a7b917c7661e5497b4ffccd7da.tar.xz
platform-system-core-fd110c7fb36966a7b917c7661e5497b4ffccd7da.zip
Merge change I831d8e1e into eclair
* changes: rootdir: init.rc: Adjust background dirty writeout policy
-rw-r--r--rootdir/init.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index e77797098..5657f51f3 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -180,6 +180,10 @@ on boot
180 # Set init its forked children's oom_adj. 180 # Set init its forked children's oom_adj.
181 write /proc/1/oom_adj -16 181 write /proc/1/oom_adj -16
182 182
183 # Tweak background writeout
184 write /proc/sys/vm/dirty_expire_centisecs 200
185 write /proc/sys/vm/dirty_background_ratio 5
186
183 # Permissions for System Server and daemons. 187 # Permissions for System Server and daemons.
184 chown radio system /sys/android_power/state 188 chown radio system /sys/android_power/state
185 chown radio system /sys/android_power/request_state 189 chown radio system /sys/android_power/request_state