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:
Yogesh Lal <ylal@codeaurora.org>
Loading
Please register or sign in to comment