From 429e7424f29ab42e10559340f31a64c25035ce4f Mon Sep 17 00:00:00 2001 From: Daniel Cardenas Date: Fri, 20 Mar 2015 00:07:57 +0000 Subject: [PATCH] Revert "lowmemorykiller: make perms 0220" This reverts commit b3739735b84a88cccfe08c0d69b1017a07004470. Values are helpful to inspect during memory performance tuning. b/19847626 Change-Id: I004ed37d5cc67e466c1fd1a84e47348524056e87 --- rootdir/init.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 8239999b9..51246fb48 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -303,9 +303,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