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: I103c0276a01ef6fa0673d88c4a8678b31af2b8a2
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
This commit is contained in:
Vinayak Menon 2020-10-28 11:42:24 +05:30 committed by Alistair Delva
parent d06aa5610a
commit c0856ae518
2 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@ CONFIG_DEBUG_INFO=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_PANIC_ON_OOPS=y

View File

@ -516,7 +516,7 @@ CONFIG_DEBUG_INFO=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_PANIC_ON_OOPS=y