Skip to content

Make scheduler stacks smaller #1797

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
brson opened this issue Feb 10, 2012 · 1 comment
Closed

Make scheduler stacks smaller #1797

brson opened this issue Feb 10, 2012 · 1 comment
Assignees
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Feb 10, 2012

We are soon going to be running native calls on their own stacks, so scheduler threads will no longer be sharing stacks with arbitrary code. We should be able to cut down the stack sizes used by our scheduler threads significantly since there is not much that scheduler threads actually do while not running on Rust stacks. Currently we use 1MB on Unix and the default on Windows.

@ghost ghost assigned brson Feb 10, 2012
@brson
Copy link
Contributor Author

brson commented Feb 10, 2012

Fixed in 8e55d31

@brson brson closed this as completed Feb 10, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this issue Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

1 participant