This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Use MemMap for AllocationRingBuffer
ClosedPublic

Authored by fabio-d on Sep 6 2023, 9:11 AM.

Diff Detail

Event Timeline

fabio-d created this revision.Sep 6 2023, 9:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 6 2023, 9:11 AM
fabio-d requested review of this revision.Sep 6 2023, 9:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 6 2023, 9:11 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
Chia-hungDuan accepted this revision.Sep 25 2023, 9:44 AM
This revision is now accepted and ready to land.Sep 25 2023, 9:44 AM
This revision was landed with ongoing or failed builds.Sep 26 2023, 1:35 AM
This revision was automatically updated to reflect the committed changes.
fmayer added a subscriber: fmayer.Mon, Dec 4, 4:20 PM
fmayer added inline comments.
compiler-rt/lib/scudo/standalone/combined.h
1504

Is there any particular reason we put this into the RingBuffer? It's a bit weird that the mmap contains itself in a way. I would have put it in the Allocator instead.