lp:folly

Created by Sam Spilsbury on 2013-05-10 and last modified on 2019-11-22
Get this branch:
bzr branch lp:folly

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Sam Spilsbury
Project:
folly
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://github.com/facebook/folly.git.

The next import is scheduled to run in 4 hours.

Last successful import was 1 hour ago.

Import started 1 hour ago on izar and finished 1 hour ago taking 25 seconds — see the log
Import started 7 hours ago on alnitak and finished 7 hours ago taking 25 seconds — see the log
Import started 13 hours ago on izar and finished 13 hours ago taking 25 seconds — see the log
Import started 19 hours ago on izar and finished 19 hours ago taking 20 seconds — see the log
Import started on 2019-11-21 on alnitak and finished on 2019-11-21 taking 25 seconds — see the log
Import started on 2019-11-21 on alnitak and finished on 2019-11-21 taking 25 seconds — see the log
Import started on 2019-11-20 on izar and finished on 2019-11-20 taking 20 seconds — see the log
Import started on 2019-11-20 on alnitak and finished on 2019-11-20 taking 25 seconds — see the log
Import started on 2019-11-20 on alnitak and finished on 2019-11-20 taking 30 seconds — see the log
Import started on 2019-11-20 on izar and finished on 2019-11-20 taking 25 seconds — see the log

Recent revisions

7805. By Koray Polat <email address hidden> 1 hour ago

Add SAI-1.4.0 to opensource build

Summary:
- Added sai to getdeps
- added SAI to FBOSS as a dependency
- Included path of SAI headers to FBOSS's cmake file.

Reviewed By: shri-khare

Differential Revision: D18629127

fbshipit-source-id: 119a6b7f2b64bd84414d9e16a903bc8df48a35e7

7804. By Lee Howes <email address hidden> 2 hours ago

Add new immutable global CPU executor that is guaranteed to not be changed.

Summary:
The mutable global executor is problematic: it defaults to Inline, and it is constructed off of an error-prone weak_ptr and it returns a shared_ptr. A KeepAlive-based global immutable executor is a cleaner default.

This change adds immutable global executors, and moves the default executors into separate singletons for cleaner interaction between the mutable executor and the underlying default immutable ones, including the default inline global cpu executor.

Reviewed By: andriigrynenko

Differential Revision: D18513433

fbshipit-source-id: 0ad825c34cc7ba935f57ff81adb8cff3bf001a45

7803. By Dennis Zhou <email address hidden> 5 hours ago

jemalloc: touch backing pages for JemallocHugePageAllocator

Summary:
With THP set to madvise, page faults on these pages will block until a
huge page is found to service it. However, if memory becomes fragmented
before these pages are touched, then we end up blocking for kcompactd to
make a page available. As this increase pressure, oomd comes in and kills
us :(. So, preemptively touch these pages to get them backed as early as
possible to prevent stalling due to no available huge pages.

Reviewed By: hnaz, interwq

Differential Revision: D18579722

fbshipit-source-id: 5f54676a128207026cb16b9cdc03a055cbb1f9b9

7802. By Banit Agrawal <email address hidden> on 2019-11-21

Never decay the huge pages in JEMalloc

Summary: This diff disables the purging of huge pages and hence they will never be freed and will be counted towards the RSS of the process. This was done to ensure that we don't block on madvise call to get the huge pages and increase memory pressure on the system.

Reviewed By: gdankel

Differential Revision: D18607196

fbshipit-source-id: 79e483a715290fdfbdd1963433ec3918561a0e0e

7801. By Aaron Dierking <email address hidden> on 2019-11-21

Rename LockTraits.h invokers to work around Clang 7 issue

Summary:
Clang 7 seems to have trouble with `FOLLY_CREATE_MEMBER_INVOKER()` on Windows targets if the invoker's name is the same as the invocable name. It's spewing `-Wmicrosoft-explicit-constructor-call` warnings and the `static_assert`s in LockTraits.h are failing. As a workaround, we can rename the LockTraits.h invokers to use an `_invoker` suffix.

See https://gcc.godbolt.org/z/j4qRd9 for a demonstration of the issue.

Reviewed By: vitaut

Differential Revision: D18626335

fbshipit-source-id: c9147daaa10b02b0692c32963f9ede8cc645e329

7800. By Adam Simpkins <email address hidden> on 2019-11-21

getdeps: update eden dependencies

Summary:
Include tools/lfs in the shipit path map for now, since it is needed to
download vendored Rust crates on internal builds. Also correctly indicate
that the fb-mercurial* dependencies also apply only to internal builds.

Reviewed By: chadaustin

Differential Revision: D18621421

fbshipit-source-id: 74f00bf318ff9aefdca8696a61a8f33587749e66

7799. By Adam Simpkins <email address hidden> on 2019-11-21

getdeps: automatically detect if a build appears to be Facebook-internal

Summary:
Automatically detect the `--facebook-internal` flag based on the current
repository project name.

Reviewed By: wez

Differential Revision: D18621358

fbshipit-source-id: f2b3018169b151811eec455863a8bfc17667d4d8

7798. By Sasha Elaine Fox <email address hidden> on 2019-11-20

Add instructions for installiing fmt from source (#1263)

Summary:
Dovetailing off of https://github.com/facebook/folly/issues/1262 ; Folly's dependency on `fmt` isn't explicitly mentioned nor are from-source install instructions provided. This PR adds a short section to the README describing how to build and install fmt from source.
Pull Request resolved: https://github.com/facebook/folly/pull/1263

Reviewed By: vitaut

Differential Revision: D18622693

Pulled By: yfeldblum

fbshipit-source-id: e43ab8c5524df9decc79cdd0cb2aea3d88826617

7797. By generatedunixname89002005287564 <email address hidden> on 2019-11-20

Remove dead includes in folly/lang

Reviewed By: yfeldblum

Differential Revision: D18614792

fbshipit-source-id: 9b77ae8aba9153c9051dd5935cda807dfad4e6e2

7796. By Yedidya Feldblum <email address hidden> on 2019-11-20

FOLLY_CREATE_STATIC_MEMBER_INVOKER

Summary: [Folly] `FOLLY_CREATE_STATIC_MEMBER_INVOKER`, for creating invoker types which can invoke class static members.

Reviewed By: vitaut

Differential Revision: D18035183

fbshipit-source-id: 2bcab988f684042b26843d5fe0a13ad7c549e43a

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers