Chromium Code Reviews
DescriptionNeed to update last_slot when unprovisioned_bytes && discard.
last_slot points the last node of PartitionFreelistEntry freelist.
However, when truncating slots, the freelist is reordered.
So last_slot calculated previously is not valid.
BUG=
Review-Url: https://codereview.chromium.org/2921283002
Cr-Commit-Position: refs/heads/master@{#478222}
Committed: https://chromium.googlesource.com/chromium/src/+/9de3fa20ec0b7a98321b1cb045d7ba5414e8e0e9
Patch Set 1 #Patch Set 2 : Fixed PartitionAllocTest.PurgeDiscardable failure #Messages
Total messages: 17 (13 generated)
|