Easy: disable guard pages by default
authorAnton Likhtarov <alikhtarov@fb.com>
Thu, 6 Aug 2015 22:24:56 +0000 (15:24 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Thu, 6 Aug 2015 23:22:20 +0000 (16:22 -0700)
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

index 6f19b87ee2dd4add01fc11ba76ca68b67303dee2..80ebd543cb2d4bc305eefafaa4a956ac74077362 100644 (file)
@@ -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() {}
   };