diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2021-04-16 14:24:52 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-16 19:50:20 +0000 |
commit | 8e7ff178f3468459ca0a69786aa1df52a28b96ee (patch) | |
tree | e67ed26956b0db41b277c68c39a43c1151a22ae2 /zephyr/Kconfig.stacks | |
parent | 11ffd60460ee7cb681cc689bc633494a4af95b8d (diff) | |
download | chrome-ec-8e7ff178f3468459ca0a69786aa1df52a28b96ee.tar.gz |
zephyr: override the sysworkq stack size for npcx
This lowers the stack size for the sysworkq task to bring it close to
the 75% target watermark.
This is the Zephyr workqueue thread, it is used by the k_work_submit()
API and started showing up after 783543b32:
uart:~$ kernel stacks
...
0x200c7ed0 sysworkq (real size 288): unused 80 usage 208 / 288 (72 %)
BUG=b:183748844
BRANCH=none
TEST=kernel stacks
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I9aa733dc63e08abf689f9e0c265cbe5afe533cc1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2830818
Reviewed-by: Yuval Peress <peress@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.stacks')
-rw-r--r-- | zephyr/Kconfig.stacks | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/Kconfig.stacks b/zephyr/Kconfig.stacks index bd86810dac..9c1205ad21 100644 --- a/zephyr/Kconfig.stacks +++ b/zephyr/Kconfig.stacks @@ -11,6 +11,9 @@ config ISR_STACK_SIZE config SHELL_STACK_SIZE default 1536 +config SYSTEM_WORKQUEUE_STACK_SIZE + default 288 + # Chromium EC stack sizes config DEFERRED_STACK_SIZE |