• Anton Likhtarov's avatar
    Fibers: allow more than one guard page per stack · 791b61f0
    Anton Likhtarov authored
    Summary: Guard pages are cheap (VM only + mapping state). More than one is occasionally useful (e.g. imagine a 10k object on stack that's not used, subsequent function calls will create a frame that jumps over a single 4K guard page and we get hard to debug memory corruption instead of a clean segfault).
    
    Reviewed By: andriigrynenko
    
    Differential Revision: D15367640
    
    fbshipit-source-id: 8f1d42a71926653929dd847eeba172c680f98589
    791b61f0
FiberManagerInternal.h 20.3 KB