ANDROID: Configure out the macros in android_kabi and android_vendor
Add configs to control removing the macros or not. On some platform, configureing out the macros removes the associated members from the structs, this reduces the object size of the slabs related with the structs, therefore reduces the total slab memory consumption of system. Besides, this also reduces vmlinux size a bit, therefore the total kernel memory size increses a bit. The macros are ANDROID_KABI_RESERVE, ANDROID_VENDOR_DATA, ANDROID_VENDOR_DATA_ARRAY, ANDROID_OEM_DATA, ANDROID_OEM_DATA_ARRAY. Bug: 206561931 (cherry picked from commit b7a6c15a) Signed-off-by:Qingqing Zhou <quic_qqzhou@quicinc.com> (cherry picked from commit 3c06a5ce) Signed-off-by:
Jaskaran Singh <quic_jasksing@quicinc.com> Change-Id: Iea4b962dff386a17c9bef20ae048be4e17bf43ab
Loading
Please sign in to comment