Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemCore
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemCore
Commits
831d8e1e
Commit
831d8e1e
authored
Oct 13, 2009
by
San Mehat
Browse files
Options
Downloads
Patches
Plain Diff
rootdir: init.rc: Adjust background dirty writeout policy
Signed-off-by:
San Mehat
<
san@google.com
>
parent
1dec5032
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
rootdir/init.rc
+4
-0
4 additions, 0 deletions
rootdir/init.rc
with
4 additions
and
0 deletions
rootdir/init.rc
+
4
−
0
View file @
831d8e1e
...
@@ -180,6 +180,10 @@ on boot
...
@@ -180,6 +180,10 @@ on boot
# Set init its forked children's oom_adj.
# Set init its forked children's oom_adj.
write /proc/1/oom_adj -16
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.
# Permissions for System Server and daemons.
chown radio system /sys/android_power/state
chown radio system /sys/android_power/state
chown radio system /sys/android_power/request_state
chown radio system /sys/android_power/request_state
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment