This is an archive of the discontinued LLVM Phabricator instance.

Revert "[scudo] Support partial concurrent page release in SizeClassAllocator64"
ClosedPublic

Authored by Chia-hungDuan on Jul 11 2023, 1:06 PM.

Details

Summary

We should merge two top TransferBatches so that the range marking can be
done correctly

This reverts commit 57ae8a2a1acb1aa1a5f55c29b1b338a780d649d5.

Diff Detail

Event Timeline

Chia-hungDuan created this revision.Jul 11 2023, 1:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2023, 1:06 PM
Herald added subscribers: yaneury, Enna1. · View Herald Transcript
Chia-hungDuan requested review of this revision.Jul 11 2023, 1:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2023, 1:06 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
cferris requested changes to this revision.Jul 11 2023, 1:21 PM

Small nit.

compiler-rt/lib/scudo/standalone/primary64.h
1375

Would it be useful to annotate this with [[maybe_unused]]?

And then you can remove the (void)NumberOfBatchGroups down below.

This revision now requires changes to proceed.Jul 11 2023, 1:21 PM
Chia-hungDuan added inline comments.Jul 11 2023, 1:25 PM
compiler-rt/lib/scudo/standalone/primary64.h
1375

This will be removed when we are ready to land this again. Now I would like to make it a simple revert (without changes). Is it fine to you?

cferris accepted this revision.Jul 11 2023, 1:32 PM

Make sense to me.

This revision is now accepted and ready to land.Jul 11 2023, 1:32 PM