Snap for 10421851 from 2bdcf1d1a7
to udc-qpr1-release
Change-Id: Ia8430823753734b713e6af12004f8f22265183d3
This commit is contained in:
commit
e045a0b032
3 changed files with 7 additions and 1 deletions
|
@ -39,6 +39,7 @@ BOARD_KERNEL_CMDLINE += rcupdate.rcu_expedited=1 rcu_nocbs=all
|
||||||
BOARD_KERNEL_CMDLINE += stack_depot_disable=off page_pinner=on
|
BOARD_KERNEL_CMDLINE += stack_depot_disable=off page_pinner=on
|
||||||
BOARD_KERNEL_CMDLINE += swiotlb=1024
|
BOARD_KERNEL_CMDLINE += swiotlb=1024
|
||||||
BOARD_KERNEL_CMDLINE += cgroup.memory=nokmem
|
BOARD_KERNEL_CMDLINE += cgroup.memory=nokmem
|
||||||
|
BOARD_KERNEL_CMDLINE += sysctl.kernel.sched_pelt_multiplier=4
|
||||||
ifeq (,$(filter %_fullmte,$(TARGET_PRODUCT)))
|
ifeq (,$(filter %_fullmte,$(TARGET_PRODUCT)))
|
||||||
BOARD_KERNEL_CMDLINE += kasan=off
|
BOARD_KERNEL_CMDLINE += kasan=off
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -4,6 +4,7 @@ import init.exynos.sensorhub.rc
|
||||||
|
|
||||||
on early-init
|
on early-init
|
||||||
mount_all /vendor/etc/fstab.persist --early
|
mount_all /vendor/etc/fstab.persist --early
|
||||||
|
write /proc/sys/kernel/sched_pelt_multiplier 1
|
||||||
|
|
||||||
on init
|
on init
|
||||||
# CPU0 cannot be offline
|
# CPU0 cannot be offline
|
||||||
|
@ -752,7 +753,7 @@ on property:sys.boot_completed=1
|
||||||
|
|
||||||
# Enable ZRAM on boot_complete
|
# Enable ZRAM on boot_complete
|
||||||
swapon_all /vendor/etc/fstab.${ro.board.platform}
|
swapon_all /vendor/etc/fstab.${ro.board.platform}
|
||||||
write /proc/sys/vm/swappiness 100
|
write /proc/sys/vm/swappiness 60
|
||||||
|
|
||||||
# Adjust watermark level
|
# Adjust watermark level
|
||||||
write /proc/sys/vm/watermark_scale_factor 200
|
write /proc/sys/vm/watermark_scale_factor 200
|
||||||
|
|
|
@ -1142,6 +1142,10 @@ PRODUCT_VENDOR_PROPERTIES += ro.crypto.metadata_init_delete_all_keys.enabled?=tr
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
ro.crypto.volume.options=aes-256-xts:aes-256-hctr2
|
ro.crypto.volume.options=aes-256-xts:aes-256-hctr2
|
||||||
|
|
||||||
|
# Increase lmkd aggressiveness
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
ro.lmk.swap_free_low_percentage=100
|
||||||
|
|
||||||
# Hardware Info Collection
|
# Hardware Info Collection
|
||||||
include hardware/google/pixel/HardwareInfo/HardwareInfo.mk
|
include hardware/google/pixel/HardwareInfo/HardwareInfo.mk
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue