Skip to content

Commit

Permalink
[nrf fromlist] ipc: icmsg: increase stack size of RX work queue thread
Browse files Browse the repository at this point in the history
Increases default size of stack used by work queue RX thread
from 1024 to 2048 to avoid memory issues.

After adding the buffer with the default size of 128
that is allocated on the thread's stack,
there is too little stack left during heavy stress.

Upstream PR: zephyrproject-rtos/zephyr#79557

Signed-off-by: Piotr Koziar <[email protected]>
  • Loading branch information
piotrkoziar authored and carlescufi committed Oct 11, 2024
1 parent bd47a4d commit 4b229c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/ipc/ipc_service/lib/Kconfig.icmsg
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if IPC_SERVICE_BACKEND_ICMSG_WQ_ENABLE

config IPC_SERVICE_BACKEND_ICMSG_WQ_STACK_SIZE
int "Size of RX work queue stack"
default 1024
default 2048
help
Size of stack used by work queue RX thread. This work queue is
created to prevent notifying service users about received data
Expand Down

0 comments on commit 4b229c3

Please sign in to comment.