Make the mprotect variant of asymmetricHeavyBarrier work when mlock fails
authorYedidya Feldblum <yfeldblum@fb.com>
Tue, 19 Jul 2016 21:38:12 +0000 (14:38 -0700)
committerFacebook Github Bot 2 <facebook-github-bot-2-bot@fb.com>
Tue, 19 Jul 2016 21:53:29 +0000 (14:53 -0700)
commitc17a113eea230c21a1a8f4c4c086721ff59130da
treecb30c6af51351a01b176e877bad6ce0eb4060a9a
parent7dd33144a64c45dfce872842679f7cba71f64c98
Make the mprotect variant of asymmetricHeavyBarrier work when mlock fails

Summary: [Folly] Make the `mprotect` variant of `asymmetricHeavyBarrier` work when `mlock` fails.

Reviewed By: djwatson

Differential Revision: D3585948

fbshipit-source-id: c3a46884434b7f9da9caa9cf203573f9e3ce7444
folly/experimental/AsymmetricMemoryBarrier.cpp