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

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