]> Cypherpunks repositories - gostls13.git/commit
runtime: handle 64bits addresses for AIX
authorClément Chigot <clement.chigot@atos.net>
Mon, 1 Oct 2018 07:58:40 +0000 (09:58 +0200)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Mon, 26 Nov 2018 14:06:28 +0000 (14:06 +0000)
commit041526c6ef669743afc6c4b757b95011f1475d1a
tree51b16e5ff8e6fe5290d3c7271508b6676c24c748
parentbb3b24bffc4f50c64504c1c5f899aad0281a449a
runtime: handle 64bits addresses for AIX

This commit allows the runtime to handle 64bits addresses returned by
mmap syscall on AIX.

Mmap syscall returns addresses on 59bits on AIX. But the Arena
implementation only allows addresses with less than 48 bits.
This commit increases the arena size up to 1<<60 for aix/ppc64.

Update: #25893

Change-Id: Iea72e8a944d10d4f00be915785e33ae82dd6329e
Reviewed-on: https://go-review.googlesource.com/c/138736
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/compile/internal/ppc64/galign.go
src/runtime/lfstack_64bit.go
src/runtime/malloc.go
test/chancap.go
test/fixedbugs/bug273.go
test/fixedbugs/issue4085b.go