diff options
| author | Michael Pratt <mpratt@google.com> | 2025-04-22 10:24:37 +0000 |
|---|---|---|
| committer | Michael Pratt <mpratt@google.com> | 2025-05-21 10:21:47 -0700 |
| commit | f12c66fbed546645389cf184b0e2ffd6ad9f78ec (patch) | |
| tree | 3b9a98e96253e55eaff8e7190b78a14a37c1814f /src/runtime/panic.go | |
| parent | 06450a82b04dc4b3599ae4864827e6f8a5b7d628 (diff) | |
| download | go-f12c66fbed546645389cf184b0e2ffd6ad9f78ec.tar.xz | |
internal/runtime/cgroup: CPU cgroup limit discovery
For #73193.
Change-Id: I6a6a636ca9fa9cba429cf053468c56c2939cb1ac
Reviewed-on: https://go-review.googlesource.com/c/go/+/668638
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/panic.go')
| -rw-r--r-- | src/runtime/panic.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/panic.go b/src/runtime/panic.go index b8f23cc3c2..95305b84bc 100644 --- a/src/runtime/panic.go +++ b/src/runtime/panic.go @@ -1056,6 +1056,11 @@ func internal_sync_fatal(s string) { fatal(s) } +//go:linkname cgroup_throw internal/runtime/cgroup.throw +func cgroup_throw(s string) { + throw(s) +} + // throw triggers a fatal error that dumps a stack trace and exits. // // throw should be used for runtime-internal fatal errors where Go itself, |
