Skip to content

Make scheduler stacks smaller #1797

@brson

Description

@brson

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.

Metadata

Metadata

Assignees

Labels

A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions