mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
a31f57db1a
Summary: In glibc, pthread cancellation support adds two atomic CAS operations to each "cancellation point" syscall (see pthreads(7)). This includes read() and write(). We can avoid that overhead by disabling pthread cancellation at the start of the FUSE worker threads. This saves two CAS operations (~40 ns) in the critical FUSE request processing loop. Reviewed By: simpkins Differential Revision: D21469690 fbshipit-source-id: 7f28a2a8e831006351657981e901dc572c58cf48 |
||
---|---|---|
.. | ||
fuse_tester | ||
privhelper | ||
test | ||
BufVec.cpp | ||
BufVec.h | ||
CMakeLists.txt | ||
DirList.cpp | ||
DirList.h | ||
Dispatcher.cpp | ||
Dispatcher.h | ||
FuseChannel.cpp | ||
FuseChannel.h | ||
FuseTypes.h | ||
InodeNumber.cpp | ||
InodeNumber.h | ||
PollHandle.cpp | ||
PollHandle.h | ||
RequestData.cpp | ||
RequestData.h |