This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Fix insufficient blocks when pushing BatchClass blocks
ClosedPublic

Authored by Chia-hungDuan on Jun 26 2023, 10:10 AM.

Details

Summary

populateFreeListAndPopBatch may return batch with single block. Merge
it with the reported free blocks and enqueue them together.

Diff Detail

Event Timeline

Chia-hungDuan created this revision.Jun 26 2023, 10:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 10:10 AM
Herald added subscribers: yaneury, Enna1. · View Herald Transcript
Chia-hungDuan requested review of this revision.Jun 26 2023, 10:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 10:10 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript

Add more context for @cferris, this logic is only needed temporarily. We don't rely on this precondition after we land D153492

fabio-d accepted this revision.Jun 26 2023, 11:51 AM
This revision is now accepted and ready to land.Jun 26 2023, 11:51 AM

slightly repharse the problem

cferris accepted this revision.Jun 26 2023, 2:30 PM

LGTM