aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
authortony <jianfeng.tony@gmail.com>2025-09-29 14:25:57 +0000
committerKeith Randall <khr@golang.org>2025-10-06 14:20:22 -0700
commit4fca79833fcdd0dc19bb0feba8715a0def3d07be (patch)
tree8285185489c2324da65faa0af934030e2c1fefbb /test/codegen
parent719dfcf8a8478d70360bf3c34c0e920be7b32994 (diff)
downloadgo-4fca79833fcdd0dc19bb0feba8715a0def3d07be.tar.xz
runtime: delete redundant code in the page allocator
The page allocator's scavenge index has sysGrow called on it twice, once in pageAlloc.grow, and once in pageAlloc.sysGrow on 64-bit platforms. Calling it twice is OK since sysGrow is idempotent, but it's also wasteful. This change removes the call in pageAlloc.sysGrow. Change-Id: I5b955b6e2beed5c2b8305ab82b76718ea305792c Reviewed-on: https://go-review.googlesource.com/c/go/+/707735 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
Diffstat (limited to 'test/codegen')
0 files changed, 0 insertions, 0 deletions