This is an archive of the discontinued LLVM Phabricator instance.

[scudo][standalone] Drain the start of a cache, not the end
AbandonedPublic

Authored by cryptoad on Feb 19 2020, 1:32 PM.

Details

Reviewers
None
Summary

When we add a pointer to a cache, we add it at the end. By draining the
end, we were effectively putting back into the central freelist what
was just put in the local cache.

This improves performances, with no impact on memory footprint.

Diff Detail

Event Timeline

cryptoad created this revision.Feb 19 2020, 1:32 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 19 2020, 1:32 PM
Herald added subscribers: llvm-commits, Restricted Project. · View Herald Transcript
cryptoad abandoned this revision.Mar 3 2020, 11:09 AM