summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chun Liu <liupa@google.com>2024-03-07 17:31:43 +0000
committerYing-Chun Liu <liupa@google.com>2024-04-30 05:47:36 +0000
commit41f61eaceb6feb8bc0a55e7e280c84b3d7394fba (patch)
tree0f79cc069c1a43ec34955768b6f850c41c7d7860
parentfcaff096cf4c1402069c1cdd4ed4c996477d9374 (diff)
downloadvirtual-device-android14-6.1.tar.gz
linux_distro.fragment: tweaking CONFIG to be more close to Debian/Ubuntuandroid14-6.1
CONFIG_FHANDLE is needed by systemd. Otherwise some service failed randomly. It fixes the issue of rootfs not remounted as read-write sometimes. CONFIG_MODPROBE_PATH is needed by cuttlefish. Because cuttlefish uses iptables, and we need this PATH to be set to load iptables related modules. CONFIG_DRM_AST is needed by Gigabyte Ampere server. CONFIG_NR_CPUS affects the performance of the server. Change-Id: I15c97a913b3c790e38e32632eabbc2791790e7bc Signed-off-by: Ying-Chun Liu <liupa@google.com>
-rw-r--r--linux_distro.fragment4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux_distro.fragment b/linux_distro.fragment
index 3cd0549..37c67c4 100644
--- a/linux_distro.fragment
+++ b/linux_distro.fragment
@@ -8,3 +8,7 @@ CONFIG_DEFERRED_STRUCT_PAGE_INIT=y
# CONFIG_GKI_HACKS_TO_FIX is not set
# CONFIG_GKI_HIDDEN_MEDIA_CONFIGS is not set
CONFIG_V4L2_MEM2MEM_DEV=m
+CONFIG_NR_CPUS=256
+CONFIG_FHANDLE=y
+CONFIG_MODPROBE_PATH="/sbin/modprobe"
+CONFIG_DRM_AST=m