Skip to content

Commit a6aadf7

Browse files
committed
ramdisk: Enable adaptive LMK
1 parent c8819b0 commit a6aadf7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rootdir/etc/init.pyramid.rc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ on boot
180180
chmod 0664 /sys/class/timed_output/vibrator/voltage_level
181181
restorecon /sys/class/timed_output/vibrator/voltage_level
182182

183+
# Adaptive LMK
184+
write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1
185+
write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059
186+
183187
# Display color calibration
184188
chown system system /sys/class/graphics/fb0/kcal
185189

0 commit comments

Comments
 (0)