Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
7822 commits behind, 714 commits ahead of the upstream repository.
  • Cheng Shao's avatar
    3ca643a4
    rts: use page sized mblocks on wasm · 3ca643a4
    Cheng Shao authored
    This patch changes mblock size to page size on wasm. It allows us to
    simplify our wasi-libc fork, makes it much easier to test third party
    libc allocators like emmalloc/mimalloc, as well as experimenting with
    threaded RTS in wasm.
    
    (cherry picked from commit 558353f4)
    (cherry picked from commit f3ea9fb8)
    (cherry picked from commit f747805f)
    3ca643a4
    History
    rts: use page sized mblocks on wasm
    Cheng Shao authored
    This patch changes mblock size to page size on wasm. It allows us to
    simplify our wasi-libc fork, makes it much easier to test third party
    libc allocators like emmalloc/mimalloc, as well as experimenting with
    threaded RTS in wasm.
    
    (cherry picked from commit 558353f4)
    (cherry picked from commit f3ea9fb8)
    (cherry picked from commit f747805f)
OSMem.c 2.75 KiB