From e7e569e99cd6e66f3df3f67d1e8c7c4d4ba4d3ca Mon Sep 17 00:00:00 2001 From: Anton Likhtarov Date: Thu, 6 Aug 2015 15:24:56 -0700 Subject: [PATCH] Easy: disable guard pages by default Summary: Mcrouter still enables these by default. Tracking down a perf regression in another code path that uses fibers. Reviewed By: @JohnRambo Differential Revision: D2320772 --- folly/experimental/fibers/FiberManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/experimental/fibers/FiberManager.h b/folly/experimental/fibers/FiberManager.h index 6f19b87e..80ebd543 100644 --- a/folly/experimental/fibers/FiberManager.h +++ b/folly/experimental/fibers/FiberManager.h @@ -87,7 +87,7 @@ class FiberManager : public ::folly::Executor { /** * Protect limited amount of fiber stacks with guard pages. */ - bool useGuardPages{true}; + bool useGuardPages{false}; constexpr Options() {} }; -- 2.34.1