From 2fef0def24c4cd93e91e0f98fda3a519ba60327b Mon Sep 17 00:00:00 2001 From: Ocean Chen Date: Fri, 4 Oct 2024 11:08:56 +0800 Subject: [PATCH 1/2] gs201: Remove unused BFQ I/O scheduler configuration The I/O scheduler was changed to mq-deadline in ag/29073420, making the previous BFQ configuration obsolete. This commit removes the following lines which no longer have any effect. Bug: 186902601 Test: forrest build Change-Id: I5d662e9762809f2d0598a7e980ef0468ac8aff38 --- conf/init.gs201.rc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc index 9223edd5..2b5e3a6f 100644 --- a/conf/init.gs201.rc +++ b/conf/init.gs201.rc @@ -20,10 +20,6 @@ on init # Disable util-awareness write /proc/vendor_sched/teo_util_threshold "1024 1024 1024" - # Boot time fs tuning - write /sys/block/sda/queue/scheduler bfq - write /sys/block/sda/queue/iosched/slice_idle 0 - chown system system /proc/vendor_sched/groups/bg/set_task_group chown system system /proc/vendor_sched/groups/cam/set_task_group chown system system /proc/vendor_sched/groups/fg/set_task_group From 3ab13299660d623c47a986cd5ac2f57b2a66be4b Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Thu, 26 Sep 2024 11:48:34 -0700 Subject: [PATCH 2/2] gs201: Copy insmod configs from kernel to vendor_dlkm We're going to transition to using the kernel copy, not the HLOS copy. Bug: 369686096 Test: build, flash, check /vendor_dlkm/etc/ (may or may not exist, depending on kernel contents) Flag: build.RELEASE_KERNEL_CHEETAH_DIR Flag: build.RELEASE_KERNEL_FELIX_DIR Flag: build.RELEASE_KERNEL_LYNX_DIR Flag: build.RELEASE_KERNEL_PANTHER_DIR Flag: build.RELEASE_KERNEL_TANGORPRO_DIR Change-Id: I4c4350b8f77017902b75c8c077fcefbff6012d83 --- device.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device.mk b/device.mk index 95e609a5..d20b5520 100644 --- a/device.mk +++ b/device.mk @@ -391,6 +391,10 @@ PRODUCT_COPY_FILES += \ include device/google/gs-common/insmod/insmod.mk +# Insmod config files +PRODUCT_COPY_FILES += \ + $(call find-copy-subdir-files,init.insmod.*.cfg,$(TARGET_KERNEL_DIR),$(TARGET_COPY_OUT_VENDOR_DLKM)/etc) + # For creating dtbo image PRODUCT_HOST_PACKAGES += \ mkdtimg