forked from openkylin/platform_build
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
This commit is contained in:
parent
7267676258
commit
120a1bdad1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue