commit | 0c714aaffcedd7a77562578e51ef3e2e427a1f4b | [log] [tgz] |
---|---|---|
author | Yuki Shiino <yukishiino@chromium.org> | Thu Jul 11 07:36:06 2024 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jul 11 07:39:03 2024 |
tree | 52b30c2d6fa97bb20080d6eb213ca52dc90ddefd | |
parent | 4188dcd78c5267eacb3c0364f8e580898972c9cb [diff] |
PA: Let LightweightQuarantineBranch.Quarantine() take usable_size In case of the Extreme LUD, `usable_size` is a known value on the call site. So, it's more performant to pass the value to LightweightQuarantineBranch.Quarantine() as an argument and avoid calling PartitionRoot::GetSlotUsableSize() twice. Pinpoint results: https://pinpoint-dot-chromeperf.appspot.com/job/13243fbfc10000 https://pinpoint-dot-chromeperf.appspot.com/job/1038d580210000 Bug: 40944045 Change-Id: I63d20f2ad06d43f9bf9c2e70741a9c54e5fec6fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5681540 Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Reviewed-by: Sergei Glazunov <glazunov@google.com> Reviewed-by: Takashi Sakamoto <tasak@google.com> Reviewed-by: Mikihito Matsuura <mikt@google.com> Cr-Commit-Position: refs/heads/main@{#1325959} NOKEYCHECK=True GitOrigin-RevId: ed86e9a2322cd11ae49fe5dd44a9c115b0a72672