Skip to content

On linux, __rust_probestack shouldn't be called on smallish stack allocations #74405

Closed
@KyleSiefring

Description

@KyleSiefring

On linux (x86_64), had a stack allocation that was "only" 8*4096 bytes causing __rust_probestack to be called. From what I understand from this, #43072, linux only needs to have the stack probed for much larger sizes.

Compiler version: Tested on 1.44.0, but a cursory glance in perf still shows __rust_probestack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions