aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorRichard Miller <miller.research@gmail.com>2018-02-28 09:35:55 +0000
committerDavid du Colombier <0intro@gmail.com>2018-02-28 15:57:10 +0000
commitc2cdfbd1a75b74bf7b960f6904fcfaaad9edb708 (patch)
treea7f9e7f889eb56f9dc2baa2538c42a30d49dc35b /src/syscall
parent1be58dcda8f31eb0ed77fd5e33fb3f5fe47f33ab (diff)
downloadgo-c2cdfbd1a75b74bf7b960f6904fcfaaad9edb708.tar.xz
runtime: don't try to shrink address space with brk in Plan 9
Plan 9 won't let brk shrink the data segment if it's shared with other processes (which it is in the go runtime). So we keep track of the notional end of the segment as it moves up and down, and call brk only when it grows. Corrects CL 94776. Updates #23860. Fixes #24013. Change-Id: I754232decab81dfd71d690f77ee6097a17d9be11 Reviewed-on: https://go-review.googlesource.com/97595 Reviewed-by: David du Colombier <0intro@gmail.com> Reviewed-by: Austin Clements <austin@google.com> Run-TryBot: David du Colombier <0intro@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions