diff options
| author | Michael Pratt <mpratt@google.com> | 2026-04-02 11:41:02 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-04-02 13:18:04 -0700 |
| commit | 4ce2612f21d2c32fc8a6f7bbd2c6c6c5b807f4fe (patch) | |
| tree | 53cfdf88ba6a94fb458d807e2f2584ff07ac6436 /src/runtime/malloc.go | |
| parent | caa169ee4804ba0dbe1c430e8e9a4d2940f5145b (diff) | |
| download | go-4ce2612f21d2c32fc8a6f7bbd2c6c6c5b807f4fe.tar.xz | |
runtime: clarify sysFree documentation
sysFree decrements mappedReady since CL 393402, meaning it can only be
used on Ready memory, not any memory as stated.
The example uses are not relevant as those cases would not necessarily
be Ready memory. The no-op note is meant to be relevant to
sysReserveAligned, but that doesn't use sysFree anyway.
Change-Id: I3aeb0e703b0a57202a01317e0904cd966a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/762380
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/malloc.go')
0 files changed, 0 insertions, 0 deletions
