]> Cypherpunks repositories - gostls13.git/commit
runtime: reduce syscall.SyscallX stack usage
authorqmuntal <quimmuntal@gmail.com>
Tue, 8 Oct 2024 16:10:17 +0000 (18:10 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Fri, 11 Oct 2024 17:16:18 +0000 (17:16 +0000)
commitfa7343aca326aad061ab877c1a4cebb96c4355c1
treeece114b08928a6bf94113907fb676e1fc6ffef1d
parent1041c2cf019188954a4c2621f44270505968c291
runtime: reduce syscall.SyscallX stack usage

syscall.SyscallX consumes a lot of stack space, which is a problem
because they are nosplit functions. They used to use less stack space,
but CL 563315, that landed in Go 1.23, increased the stack usage by a
lot.

This CL reduces the stack usage back to the previous level.

Fixes #69813.

Change-Id: Iddedd28b693c66a258da687389768055c493fc2e
Reviewed-on: https://go-review.googlesource.com/c/go/+/618497
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/syscall_windows.go
src/runtime/syscall_windows_test.go