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

Skip to content
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment