Add an option to disable guard pages for fiber stacks
authorPavlo Kushnir <pavlo@fb.com>
Thu, 16 Jul 2015 04:06:29 +0000 (21:06 -0700)
committerSara Golemon <sgolemon@fb.com>
Mon, 20 Jul 2015 19:26:30 +0000 (12:26 -0700)
commit84f796c9b693f4e96fb035551848b6ce0859704d
tree0f9bcf2c41e4692ef5c12af747d3976693b552f9
parent65fd92b6e94d1c66d3499871282b516b1e412eb0
Add an option to disable guard pages for fiber stacks

Summary: guard pages may make debugging more painful. For example, in some cases they increased "perf" initialization time.

Reviewed By: @alikhtarov

Differential Revision: D2247188
folly/experimental/fibers/FiberManager-inl.h
folly/experimental/fibers/FiberManager.h
folly/experimental/fibers/GuardPageAllocator.cpp
folly/experimental/fibers/GuardPageAllocator.h