mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-02 21:25:03 +00:00
samus_pd: increase stack size for pd tasks
Increase stack size to account for pd communication errors. With lots of pd communication errors, I see a max stack usage of 520 bytes, which is larger than the old stack size of 488 and was causing stack overflows. BUG=none BRANCH=none TEST=load onto samus and generate pd errors by plugging in an unpowered zinger (samus sends source cap every 100ms, but no response). measure task usage. Change-Id: Iab2b0f781cb39d8e1ea906de48bd5b37e229d291 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/210580 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
dbf62710f7
commit
d5aaf91a7a
@@ -20,5 +20,5 @@
|
||||
TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
|
||||
TASK_NOTEST(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \
|
||||
TASK_ALWAYS(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \
|
||||
TASK_ALWAYS(PD_C0, pd_task, NULL, TASK_STACK_SIZE) \
|
||||
TASK_ALWAYS(PD_C1, pd_task, NULL, TASK_STACK_SIZE)
|
||||
TASK_ALWAYS(PD_C0, pd_task, NULL, LARGER_TASK_STACK_SIZE) \
|
||||
TASK_ALWAYS(PD_C1, pd_task, NULL, LARGER_TASK_STACK_SIZE)
|
||||
|
||||
Reference in New Issue
Block a user