• Dmitriy Vyukov's avatar
    runtime: allocate page table lazily · 671814b9
    Dmitriy Vyukov authored
    This removes the 256MB memory allocation at startup,
    which conflicts with ulimit.
    Also will allow to eliminate an unnecessary memory dereference in GC,
    because the page table is usually mapped at known address.
    Update #5049.
    Update #5236.
    
    R=golang-dev, khr, r, khr, rsc
    CC=golang-dev
    https://golang.org/cl/9791044
    671814b9
malloc.h 17 KB