On linux, __rust_probestack shouldn't be called on smallish stack allocations #74405
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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.
The text was updated successfully, but these errors were encountered: