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 <joe.liu@mediatek.com>
This commit is contained in:
joe.liu
2025-06-16 11:47:07 +08:00
committed by Joe Liu
parent 272df8fc87
commit 882b6c0267

View File

@@ -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