]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix comment typo in page allocator
authorcui fliter <imcusg@gmail.com>
Mon, 1 May 2023 04:41:56 +0000 (12:41 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 2 May 2023 00:07:07 +0000 (00:07 +0000)
A commit looks to have some minor bug that makes comments look confusing.
The commit in question: https://go-review.googlesource.com/c/go/+/250517

Change-Id: I7859587be15a22f8330d6ad476058f74ca2ca6ab
Reviewed-on: https://go-review.googlesource.com/c/go/+/490795
Run-TryBot: shuang cui <imcusg@gmail.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>

src/runtime/mpagealloc_64bit.go

index 0ebeafad613461d47ea41dfbbf5a10ec9d25a96b..1418831a504f4963fe74d379ea57423446f56b12 100644 (file)
@@ -90,7 +90,7 @@ func (p *pageAlloc) sysInit(test bool) {
 // sysGrow performs architecture-dependent operations on heap
 // growth for the page allocator, such as mapping in new memory
 // for summaries. It also updates the length of the slices in
-// [.summary.
+// p.summary.
 //
 // base is the base of the newly-added heap memory and limit is
 // the first address past the end of the newly-added heap memory.