]> Cypherpunks repositories - gostls13.git/commit
runtime: track the number of free unscavenged huge pages
authorMichael Anthony Knyszek <mknyszek@google.com>
Mon, 29 Apr 2019 21:02:18 +0000 (21:02 +0000)
committerMichael Knyszek <mknyszek@google.com>
Mon, 6 May 2019 20:59:20 +0000 (20:59 +0000)
commitf4a5ae5594a21ea276d473fe9f804a30adbd8d07
tree64d2d4d5dfc4135270e877c2778c49b530cc8ae0
parenta62b5723be15849656279c244834064b951801fc
runtime: track the number of free unscavenged huge pages

This change tracks the number of potential free and unscavenged huge
pages which will be used to inform the rate at which scavenging should
occur.

For #30333.

Change-Id: I47663e5ffb64cac44ffa10db158486783f707479
Reviewed-on: https://go-review.googlesource.com/c/go/+/170860
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/export_test.go
src/runtime/gc_test.go
src/runtime/mgclarge.go
src/runtime/mheap.go