Commit efdf2270 authored by Andrii Grynenko's avatar Andrii Grynenko Committed by Facebook Github Bot 7

Allocate stacks with guard pages by default

Summary: This was on for mcrouter for very long time. We should make it default for everyone.

Reviewed By: yfeldblum

Differential Revision: D3023133

fb-gh-sync-id: 6401f86df754e9490d46beb5fd9d0cf4b3675208
fbshipit-source-id: 6401f86df754e9490d46beb5fd9d0cf4b3675208
parent 6f323462
......@@ -104,7 +104,7 @@ class FiberManager : public ::folly::Executor {
/**
* Protect limited amount of fiber stacks with guard pages.
*/
bool useGuardPages{false};
bool useGuardPages{true};
/**
* Free unnecessary fibers in the fibers pool every fibersPoolResizePeriodMs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment