Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From d680d0a3723e62f66fb83a5a70a1ea7b23be9c0f Mon Sep 17 00:00:00 2001
- From: luca020400 <luca.stefani.ge1@gmail.com>
- Date: Tue, 17 Mar 2015 13:47:31 +0100
- Subject: [PATCH 1/1] Revert "lowmemorykiller: make perms 0220"
- * allow userspace to modify LMK parameters
- This reverts commit b3739735b84a88cccfe08c0d69b1017a07004470.
- ---
- rootdir/init.rc | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
- diff --git a/rootdir/init.rc b/rootdir/init.rc
- index 32d33d8..61b6be3 100644
- --- a/rootdir/init.rc
- +++ b/rootdir/init.rc
- @@ -349,9 +349,9 @@ on boot
- write /proc/sys/vm/overcommit_memory 1
- write /proc/sys/vm/min_free_order_shift 4
- chown root system /sys/module/lowmemorykiller/parameters/adj
- - chmod 0220 /sys/module/lowmemorykiller/parameters/adj
- + chmod 0664 /sys/module/lowmemorykiller/parameters/adj
- chown root system /sys/module/lowmemorykiller/parameters/minfree
- - chmod 0220 /sys/module/lowmemorykiller/parameters/minfree
- + chmod 0664 /sys/module/lowmemorykiller/parameters/minfree
- # Tweak background writeout
- write /proc/sys/vm/dirty_expire_centisecs 200
- --
- 1.9.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement