This refactor helps us identify which steps need FLLock so that we can
reduce the holding time of FLLock in SizeClassAllocator64.
Also move the data members to the end of class to align the style in
SizeClassAllocator32.
Paths
| Differential D152596
[scudo] Extract steps releaseToOSMaybe into functions in ClosedPublic Authored by Chia-hungDuan on Jun 9 2023, 5:08 PM.
Details Summary This refactor helps us identify which steps need FLLock so that we can Also move the data members to the end of class to align the style in
Diff Detail
Event TimelineChia-hungDuan added a child revision: D152769: [scudo] Verify the size of free blocks in primary allocator.Jun 12 2023, 7:40 PM cferris added inline comments.
This revision now requires changes to proceed.Jun 26 2023, 7:19 PM Chia-hungDuan marked 4 inline comments as done. Comment ActionsAddress review comments
cferris added inline comments.
This revision now requires changes to proceed.Jun 28 2023, 6:35 PM Chia-hungDuan added a parent revision: D154041: [scudo] Restore Freelist when we fail on PageMap creation.Jun 28 2023, 10:37 PM
This revision is now accepted and ready to land.Jun 29 2023, 3:22 PM Closed by commit rGb0ec18a3d10c: [scudo] Extract steps releaseToOSMaybe into functions in (authored by Chia-hungDuan). · Explain WhyJul 5 2023, 1:32 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 530119 compiler-rt/lib/scudo/standalone/primary64.h
compiler-rt/lib/scudo/standalone/release.h
|
Should maybe say:
in step 3 & 4 described in the comment below.