Skip to content

Bump DEFAULT_TASK_STACKSIZE for the sim#635

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
yamt:sim-bump-stacksize
Mar 27, 2020
Merged

Bump DEFAULT_TASK_STACKSIZE for the sim#635
xiaoxiang781216 merged 1 commit into
apache:masterfrom
yamt:sim-bump-stacksize

Conversation

@yamt

@yamt yamt commented Mar 27, 2020

Copy link
Copy Markdown
Contributor

The sim demands more stack because:

  • It's often 64-bit
  • It calls host OS libraries

The sim demands more stack because:
 * It's often 64-bit
 * It calls host OS libraries
Comment thread Kconfig
config DEFAULT_TASK_STACKSIZE
int "The default stack size for tasks"
default 8192 if ARCH_SIM
default 2048

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we need change to:
default 2048 if !ARCH_SIM

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?
i believe kconfig interprets this as "otherwise, 2048"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants