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>
Loading
Please sign in to comment