Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cfb7a7f authored by Yogesh Lal's avatar Yogesh Lal
Browse files

defconfig: Enable page_owner for sdmshrike on perf config



This patch enables CONFIG_PAGE_OWNER on perf config.
The feature is not enabled by default and needs
to be enabled via boot param "page_owner=on".

Set STACK_HASH_ORDER_SHIFT to 12 to reduce
stack depot hash size.

Default value of STACK_HASH_ORDER_SHIFT=20 makes stack depot
to consume 8MB of static memory.

With STACK_HASH_ORDER_SHIFT=12 stack depot consume only 104KB.
The time taken to read from /sys/kernel/debug/page_owner
increased by around 60 secs with this patch on a 6 GB target,
but we can live with it as it's a only debug feature.

Change-Id: I71b1ad661d6aac3185257dba4d30427da7b555ae
Signed-off-by: default avatarYogesh Lal <ylal@codeaurora.org>
parent 26ca81d6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -430,6 +430,7 @@ CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_PRINTK_TIME=y
CONFIG_DEBUG_INFO=y
CONFIG_PAGE_OWNER=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_PANIC_TIMEOUT=5
CONFIG_SCHEDSTATS=y
@@ -451,3 +452,4 @@ CONFIG_CRYPTO_GHASH_ARM64_CE=y
CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
CONFIG_STACK_HASH_ORDER_SHIFT=12