From d6cf4553cb1f4bbe589451eb13adbd2a50354e1c Mon Sep 17 00:00:00 2001 From: jhenrique09 Date: Mon, 22 Jan 2018 22:42:37 -0200 Subject: [PATCH] sanders: rootdir: Remove some interactive and lowmemorykiller nodes [ 21.260478,1] init: Unable to open '/sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor': Permission denied [ 21.264136,6] init: Unable to open '/sys/module/lowmemorykiller/parameters/enable_adaptive_lmk': Permission denied [ 21.264277,6] init: Unable to open '/sys/module/lowmemorykiller/parameters/vmpressure_file_min': Permission denied These nodes doesn't exists on kernel --- rootdir/etc/init.qcom.rc | 3 --- 1 file changed, 3 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 0b81b07..2cebf8d 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -935,7 +935,6 @@ on property:sys.boot_completed=1 write /sys/devices/system/cpu/cpufreq/interactive/io_is_busy 0 write /sys/devices/system/cpu/cpufreq/interactive/target_loads "85 1401600:80" write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 39000 - write /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor 40000 write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 652800 # re-enable thermal & BCL core_control now @@ -973,11 +972,9 @@ on property:sys.boot_completed=1 write /sys/module/process_reclaim/parameters/enable_process_reclaim 1 write /sys/module/process_reclaim/parameters/pressure_max 70 write /sys/module/process_reclaim/parameters/swap_opt_eff 30 - write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1 write /sys/module/process_reclaim/parameters/pressure_min 50 write /sys/module/process_reclaim/parameters/per_swap_size 512 write /sys/module/lowmemorykiller/parameters/minfree "15360,19200,23040,26880,34415,43737" - write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059 #Reset the "read ahead" setting for system patition # result: ext4: 32KB, dm_verity:64KB, block layer: 128KB