Skip to content
  • Russ Cox's avatar
    runtime: allocate wbshadow at high address · bc2601a1
    Russ Cox authored
    sysReserve doesn't actually reserve the full amount requested on
    64-bit systems, because of problems with ulimit. Instead it checks
    that it can get the first 64 kB and assumes it can grab the rest as
    needed. This doesn't work well with the "let the kernel pick an address"
    mode, so don't do that. Pick a high address instead.
    
    Change-Id: I4de143a0e6fdeb467fa6ecf63dcd0c1c1618a31c
    Reviewed-on: https://go-review.googlesource.com/2345
    
    
    Reviewed-by: default avatarRick Hudson <rlh@golang.org>
    bc2601a1