• Dave Cheney's avatar
    runtime: disable scavenger on 64k page size kernels · f9cc72cc
    Dave Cheney authored
    Update #9993
    
    If the physical page size of the machine is larger than the logical
    heap size, for example 8k logical, 64k physical, then madvise(2) will
    round up the requested amount to a 64k boundary and may discard pages
    close to the page being madvised.
    
    This patch disables the scavenger in these situations, which at the moment
    is only ppc64 and ppc64le systems. NaCl also uses a 64k page size, but
    it's not clear if it is affected by this problem.
    
    Change-Id: Ib897f8d3df5bd915ddc0b510f2fd90a30ef329ca
    Reviewed-on: https://go-review.googlesource.com/6091Reviewed-by: 's avatarDmitry Vyukov <dvyukov@google.com>
    f9cc72cc
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...