]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.7] runtime: fix check for vacuous page boundary rounding again
authorAustin Clements <austin@google.com>
Fri, 19 Aug 2016 20:03:14 +0000 (16:03 -0400)
committerChris Broadfoot <cbro@golang.org>
Wed, 7 Sep 2016 18:48:36 +0000 (18:48 +0000)
commit40712a962573a9ad987c71ba2cb24e6d430b559d
tree5fc957725625228965c3e5ce2994d6114c279e32
parent24f46bd34fff99cbf64762b65e7896fd1e8f2f7c
[release-branch.go1.7] runtime: fix check for vacuous page boundary rounding again

The previous fix for this, commit 336dad2a, had everything right in
the commit message, but reversed the test in the code. Fix the test in
the code.

This reversal effectively disabled the scavenger on large page systems
*except* in the rare cases where this code was originally wrong, which
is why it didn't obviously show up in testing.

Fixes #16644. Again. :(

Change-Id: I27cce4aea13de217197db4b628f17860f27ce83e
Reviewed-on: https://go-review.googlesource.com/27402
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-on: https://go-review.googlesource.com/28631
Run-TryBot: Chris Broadfoot <cbro@golang.org>
src/runtime/mheap.go