mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
ANDROID: gki_defconfig: Enable CONFIG_PAGE_OWNER
This helps enable the page owner feature at runtime via kernel param, and helps in memory accouting and leak debugging. Enabling just this config does not incur any significant overhead. Explicit CONFIG_DEBUG_FS=y is removed because CONFIG_PAGE_OWNER enables it implicitly. Bug: 171354330 Change-Id: I45416805c8e651af442f51ffe9aa46b21e7d3f13 Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org> Signed-off-by: Suren Baghdasaryan <surenb@google.com>
This commit is contained in:
committed by
Alistair Delva
parent
d3f134fd8a
commit
1b468f8eea
@@ -601,7 +601,7 @@ CONFIG_DEBUG_INFO_DWARF4=y
|
||||
CONFIG_HEADERS_INSTALL=y
|
||||
# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_PAGE_OWNER=y
|
||||
CONFIG_DEBUG_STACK_USAGE=y
|
||||
CONFIG_DEBUG_MEMORY_INIT=y
|
||||
CONFIG_KASAN=y
|
||||
|
||||
@@ -50,6 +50,8 @@ CONFIG_HYPERVISOR_GUEST=y
|
||||
CONFIG_PARAVIRT=y
|
||||
CONFIG_NR_CPUS=32
|
||||
CONFIG_EFI=y
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="stack_depot_disable=on"
|
||||
CONFIG_PM_WAKELOCKS=y
|
||||
CONFIG_PM_WAKELOCKS_LIMIT=0
|
||||
# CONFIG_PM_WAKELOCKS_GC is not set
|
||||
@@ -543,7 +545,7 @@ CONFIG_DEBUG_INFO_DWARF4=y
|
||||
CONFIG_HEADERS_INSTALL=y
|
||||
# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_PAGE_OWNER=y
|
||||
CONFIG_DEBUG_STACK_USAGE=y
|
||||
CONFIG_DEBUG_MEMORY_INIT=y
|
||||
CONFIG_KFENCE=y
|
||||
|
||||
Reference in New Issue
Block a user