This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Move the blocks marking logic into markFreeBlocks()
ClosedPublic

Authored by Chia-hungDuan on Aug 21 2023, 2:27 PM.

Details

Summary

This change is only in SizeClassAllocator32. SizeClassAllocator64 has
it implemented.

Diff Detail

Event Timeline

Chia-hungDuan created this revision.Aug 21 2023, 2:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 21 2023, 2:27 PM
Herald added subscribers: yaneury, Enna1. · View Herald Transcript
Chia-hungDuan requested review of this revision.Aug 21 2023, 2:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 21 2023, 2:27 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
cferris requested changes to this revision.Aug 21 2023, 6:47 PM
cferris added inline comments.
compiler-rt/lib/scudo/standalone/primary32.h
1041

released

1068

Should this add back the UNLIKELY?

This revision now requires changes to proceed.Aug 21 2023, 6:47 PM
Chia-hungDuan marked 2 inline comments as done.

Address review comments

Chia-hungDuan edited the summary of this revision. (Show Details)Aug 21 2023, 9:38 PM
cferris accepted this revision.Aug 23 2023, 7:41 PM

LGTM.

This revision is now accepted and ready to land.Aug 23 2023, 7:41 PM