This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Verify the size of free blocks in primary allocator
ClosedPublic

Authored by Chia-hungDuan on Jun 12 2023, 7:40 PM.

Details

Summary

When all the blocks (local caches are included) are freed, the size of
free blocks should be equal to AllocatedUser.

Diff Detail

Event Timeline

Chia-hungDuan created this revision.Jun 12 2023, 7:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 12 2023, 7:40 PM
Chia-hungDuan requested review of this revision.Jun 12 2023, 7:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 12 2023, 7:40 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript

This is useful when we support concurrent alloc/free and releaseToOSMaybe() in primary allocator.

This revision is now accepted and ready to land.Jun 13 2023, 12:53 PM