1
0
mirror of https://github.com/golang/go synced 2024-09-29 07:14:29 -06:00

runtime: fix comment typo in mpagealloc.go

This commit is contained in:
bqyang 2022-08-31 16:24:53 +08:00 committed by GitHub
parent 6b113c0fec
commit e57cad22d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {