ANDROID: GKI: Disable CONFIG_KALLSYMS_ALL
Disables CONFIG_KALLSYMS_ALL from gki_defconfig. Normally kallsyms only contains the symbols of functions for nicer OOPS messages and backtraces (i.e., symbols from the text and inittext sections). This is sufficient for most cases. And only if you want to enable kernel live patching, or other less common use cases (e.g., when a debugger is used) all symbols are required (i.e., names of variables from the data sections, etc). CONFIG_KALLSYMS_ALL makes sure that all symbols are loaded into the kernel image (i.e., symbols from all sections) in cost of increased kernel size. Bloatbuster previously did not kick in when it was enabled but it is bloating the kernel image size, and this should not be part of the production kernel config. Bug: 381946221 Test: TH Change-Id: I8ada2df110ca40aa7484e1010b9ca662345221f3 Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
This commit is contained in:
@@ -48,7 +48,6 @@ CONFIG_EXPERT=y
|
||||
# CONFIG_SYSFS_SYSCALL is not set
|
||||
# CONFIG_FHANDLE is not set
|
||||
# CONFIG_RSEQ is not set
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_RUST=y
|
||||
CONFIG_ARCH_SUNXI=y
|
||||
|
||||
@@ -51,7 +51,6 @@ CONFIG_EXPERT=y
|
||||
# CONFIG_FHANDLE is not set
|
||||
# CONFIG_PCSPKR_PLATFORM is not set
|
||||
# CONFIG_RSEQ is not set
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_RUST=y
|
||||
CONFIG_SMP=y
|
||||
|
||||
Reference in New Issue
Block a user