commit | b407054796bcbb87912a2b594e9622dea1158bc6 | [log] [tgz] |
---|---|---|
author | Chia-hung Duan <chiahungduan@google.com> | Sat Mar 04 01:25:18 2023 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 07 14:00:30 2023 -0800 |
tree | 90b8414686d64f47812fcb8560ad13a7b1dddb1f | |
parent | fb4d2b46cc7b1c5d223ccbc2ae3208fbacb4e657 [diff] |
[scudo] Simplify markFreeBlocks With memory group, we always mark the free blocks from the same region. Therefore, we don't need to calculate the offset from base and determine the region index. Also improve the way we deal with the last block in the region so that the loop body is simpler. Reviewed By: cferris Differential Revision: https://reviews.llvm.org/D143303 GitOrigin-RevId: 657d297a92aed929d37c8d7b148a6e848bc182df