From: bqyang Date: Wed, 31 Aug 2022 08:28:13 +0000 (+0000) Subject: runtime: fix comment typo in mpagealloc.go X-Git-Tag: go1.20rc1~1325 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bc0a033266eeaed189a5c77becd45b861fd245f5;p=gostls13.git runtime: fix comment typo in mpagealloc.go leve --> level Change-Id: Ia5ff46c79c4dda2df426ec75d69e8fcede909b47 GitHub-Last-Rev: e57cad22d99b74c7e220f4d5a7b03a830544aea9 GitHub-Pull-Request: golang/go#54788 Reviewed-on: https://go-review.googlesource.com/c/go/+/426974 Run-TryBot: Daniel Martí Reviewed-by: Keith Randall TryBot-Result: Gopher Robot Reviewed-by: Heschi Kreinick Auto-Submit: Keith Randall Reviewed-by: Daniel Martí Reviewed-by: Keith Randall --- diff --git a/src/runtime/mpagealloc.go b/src/runtime/mpagealloc.go index bb30b4a40b..5661c37501 100644 --- a/src/runtime/mpagealloc.go +++ b/src/runtime/mpagealloc.go @@ -676,7 +676,7 @@ nextLevel: // Determine j0, the first index we should start iterating from. // The searchAddr may help us eliminate iterations if we followed the - // searchAddr on the previous level or we're on the root leve, in which + // searchAddr on the previous level or we're on the root level, in which // case the searchAddr should be the same as i after levelShift. j0 := 0 if searchIdx := offAddrToLevelIndex(l, p.searchAddr); searchIdx&^(entriesPerBlock-1) == i {