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

Commit 2343f1d2 authored by Yogesh Lal's avatar Yogesh Lal
Browse files

defconfig: Enable page_owner for sm8150 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: I772aa69865ee30c4834cfb2fa0d7feafd3853c0c
Signed-off-by: default avatarYogesh Lal <ylal@codeaurora.org>
parent 1c462be3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -598,6 +598,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
@@ -639,3 +640,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