Skip to content

Store the task pointer on the Rust stack segment, not in TLS #1804

Closed
@brson

Description

@brson

We should be able to get the task pointer faster by storing it on the current stack segment instead of looking it up in TLS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsI-slowIssue: Problems and improvements with respect to performance of generated code.P-lowLow priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions