diff options
| author | cui fliter <imcusg@gmail.com> | 2022-10-03 01:32:11 +0000 |
|---|---|---|
| committer | Meng Zhuo <mzh@golangcn.org> | 2022-10-26 02:39:39 +0000 |
| commit | 069d1fc9e2085d93ea256b6c49b5d7c3026f79a3 (patch) | |
| tree | 12d4cd9a7c68ce012166e0b8f74a9fe6c7259df8 /src/runtime/mpagealloc.go | |
| parent | 5d59fa143ae1d0d8fdcc677297ce58bbfc592111 (diff) | |
| download | go-069d1fc9e2085d93ea256b6c49b5d7c3026f79a3.tar.xz | |
runtime: fix a few function names on comments
Change-Id: I4be0b1e612dcc21ca6bb7d4395f1c0aa52480759
GitHub-Last-Rev: 032480c4c9ddb2bedea26b01bb80b8a079bfdcf3
GitHub-Pull-Request: golang/go#55993
Reviewed-on: https://go-review.googlesource.com/c/go/+/437518
Reviewed-by: hopehook <hopehook@golangcn.org>
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: hopehook <hopehook@golangcn.org>
Diffstat (limited to 'src/runtime/mpagealloc.go')
| -rw-r--r-- | src/runtime/mpagealloc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mpagealloc.go b/src/runtime/mpagealloc.go index a8bfc62a80..35b2a019a3 100644 --- a/src/runtime/mpagealloc.go +++ b/src/runtime/mpagealloc.go @@ -106,7 +106,7 @@ func chunkIndex(p uintptr) chunkIdx { return chunkIdx((p - arenaBaseOffset) / pallocChunkBytes) } -// chunkIndex returns the base address of the palloc chunk at index ci. +// chunkBase returns the base address of the palloc chunk at index ci. func chunkBase(ci chunkIdx) uintptr { return uintptr(ci)*pallocChunkBytes + arenaBaseOffset } |
