am fd110c7f: Merge change I831d8e1e into eclair
Merge commit 'fd110c7fb36966a7b917c7661e5497b4ffccd7da' into eclair-mr2 * commit 'fd110c7fb36966a7b917c7661e5497b4ffccd7da': rootdir: init.rc: Adjust background dirty writeout policy
This commit is contained in:
commit
aaad7ab4ae
|
@ -180,6 +180,10 @@ on boot
|
|||
# Set init its forked children's oom_adj.
|
||||
write /proc/1/oom_adj -16
|
||||
|
||||
# Tweak background writeout
|
||||
write /proc/sys/vm/dirty_expire_centisecs 200
|
||||
write /proc/sys/vm/dirty_background_ratio 5
|
||||
|
||||
# Permissions for System Server and daemons.
|
||||
chown radio system /sys/android_power/state
|
||||
chown radio system /sys/android_power/request_state
|
||||
|
|
Loading…
Reference in New Issue