This is an archive of the discontinued LLVM Phabricator instance.

Revert "[scudo] seperate cache retrieval logic"
ClosedPublic

Authored by Chia-hungDuan on Jul 28 2023, 4:32 PM.

Details

Summary

RoundedSize is supposed to be used on directly mapping. To determine if
a cached block is feasible, the size doesn't need to be rounded in
advance. As a result, the use of RoundedSize may miss some chance of
using cached blocks.

This reverts commit 4c6b8bb87b3452d0bcef83cd0ea712d8426603b8.

Diff Detail

Event Timeline

Chia-hungDuan created this revision.Jul 28 2023, 4:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2023, 4:32 PM
Herald added subscribers: yaneury, Enna1. · View Herald Transcript
Chia-hungDuan requested review of this revision.Jul 28 2023, 4:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2023, 4:32 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
frs513 accepted this revision.Jul 31 2023, 10:34 AM

LGTM again

This revision is now accepted and ready to land.Jul 31 2023, 10:34 AM
This revision was automatically updated to reflect the committed changes.