Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 120a1bda authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Add some properties to go_defaults_512.mk

Add lmkd tuning and madvise random hints.

Bug: 67374015
Test: make, flash, look at properties

Change-Id: Id5dfcc28ac9ea1b84f761f1b75ace45f12c47918
parent 72676762
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -17,5 +17,12 @@
# Inherit common Android Go defaults.
$(call inherit-product, build/target/product/go_defaults_common.mk)

# Insert 512MB specific properties here.
# 512MB specific properties.

# lmkd can kill more now.
PRODUCT_PROPERTY_OVERRIDES += \
     ro.lmk.medium=700 \

# madvise random in ART to reduce page cache thrashing.
PRODUCT_PROPERTY_OVERRIDES += \
     dalvik.vm.madvise-random=true