]> Cypherpunks repositories - gostls13.git/commit
runtime: remove MAP_FIXED in sysReserve for raceenabled on darwin
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 6 Nov 2019 23:18:28 +0000 (23:18 +0000)
committerMichael Knyszek <mknyszek@google.com>
Thu, 7 Nov 2019 01:38:25 +0000 (01:38 +0000)
commit61ef6a39dd75032a3ab7eff1f0cf1181e4ee98d0
tree9fedd5df3c05d78411c73865fe0812688a13e625
parent6ce4384fd6621454a1d58a4ab46f92da8d8567ed
runtime: remove MAP_FIXED in sysReserve for raceenabled on darwin

This change removes a hack which was added to deal with Darwin 10.10's
weird ignorance of mapping hints which would cause race mode to fail
since it requires the heap to live within a certain address range.

We no longer support 10.10, and this is potentially causing problems
related to the page allocator, so drop this code.

Updates #26475.
Updates #35112.

Change-Id: I0e1c6f8c924afe715a2aceb659a969d7c7b6f749
Reviewed-on: https://go-review.googlesource.com/c/go/+/205757
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/mem_darwin.go