aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2021-11-16 15:23:45 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2021-12-03 12:32:03 +0100
commit13755fbbcd4209129926f34a9e1c884dcaee2259 (patch)
treefff4ef3c21c557edade16b3f363a19902049b448 /executor/executor.cc
parent9e332771aeaa54eed13a59574a21368f52da604c (diff)
pkg/osutil: use memfd_create on Linux
Mmapping plain files as shared memory leads to extra burden on the system being fuzzed, because the OS will periodically sync that data to the disk. On Linux, use memfd_create to obtain a file handle for the shared memory region. Experiments have demonstrated than it leads to 5-10% increase in the fuzzing performance.
Diffstat (limited to 'executor/executor.cc')
0 files changed, 0 insertions, 0 deletions