From 882b6c0267367ec0c59ed499d0d3fc3c398d5dda Mon Sep 17 00:00:00 2001 From: "joe.liu" Date: Mon, 16 Jun 2025 11:47:07 +0800 Subject: [PATCH] ANDROID: tvgki: disabling CONFIG_DEBUG_INFO_BTF in tvgki If we check the large allocation usage by kmalloc(), we can find the large allocation usage can be reduced at least 3MB while disable CONFIG_DEBUG_INFO_BTF. CONFIG_DEBUG_INFO_BTF=y @ Launcher [ 227.946779]Sunreclaim is 148756 KB [ 227.954747] large_allocation_size is 8880 KB [ 227.962729] unreclaim slab is 140056 KB CONFIG_DEBUG_INFO_BTF is not set @ Launcher [ 63.768458]Sunreclaim is 128308 KB [ 63.773973] large_allocation_size is 5904 KB [ 63.780476] unreclaim slab is 123512 KB So, 8880KB - 5904KB ==> almost 3000KB memory usage is reduced (@ kernel 6.12) Bug: 416068733 Change-Id: I002deaf4137ef1801e357294816171572142e24a Signed-off-by: joe.liu --- arch/arm64/configs/tv_gki.fragment | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/tv_gki.fragment b/arch/arm64/configs/tv_gki.fragment index 0a072102e644..e929795ba8b0 100644 --- a/arch/arm64/configs/tv_gki.fragment +++ b/arch/arm64/configs/tv_gki.fragment @@ -6,3 +6,4 @@ # CONFIG_PAGE_OWNER is not set # CONFIG_PAGE_PINNER is not set # CONFIG_DEBUG_FS is not set +# CONFIG_DEBUG_INFO_BTF is not set