Merge commit 'aaad7ab4ae9e6913481fe4348b040e5d3e2aaec1' into eclair-mr2-plus-aosp * commit 'aaad7ab4ae9e6913481fe4348b040e5d3e2aaec1': rootdir: init.rc: Adjust background dirty writeout policy
This commit is contained in:
commit
dd7105a7a1
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue