diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2021-11-16 15:23:45 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2021-12-03 12:32:03 +0100 |
| commit | 13755fbbcd4209129926f34a9e1c884dcaee2259 (patch) | |
| tree | fff4ef3c21c557edade16b3f363a19902049b448 /executor/android | |
| parent | 9e332771aeaa54eed13a59574a21368f52da604c (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/android')
0 files changed, 0 insertions, 0 deletions
