Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland "[PartitionAlloc] Don't sort already-sorted freelists."
This reverts commit 47a4e7d. Reason for reland: Fixed the "alloc doesn't destroy ordering" property. Original change's description: > [PartitionAlloc] Don't sort already-sorted freelists. > > If a slot span hasn't been touched since the last sort, there is no need > to sort it again. This is intended to reduce the CPU cost of freelist > sorting. > > This is motivated by stack-sampled metrics showing that the cost of > freelist sorting is non-trivial in the browser process. It also allows > to track whether a slot span is "idle", which may be used to decommit > part of the freelist if possible. > > Bug: 998048 > Change-Id: I06cb59e1dffdec23fc1869ee8bd8e6dba70c6bd6 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3259733 > Reviewed-by: Bartek Nowierski <bartekn@chromium.org> > Commit-Queue: Benoit L <lizeb@chromium.org> > Cr-Commit-Position: refs/heads/main@{#938209} Bug: 998048 Change-Id: I5f40cbaf3e1c496c301dfbb8fe54c53f540da6a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3259542 Commit-Queue: Benoit L <lizeb@chromium.org> Reviewed-by: Bartek Nowierski <bartekn@chromium.org> Cr-Commit-Position: refs/heads/main@{#939306}
- Loading branch information
Benoit Lize
authored and
Chromium LUCI CQ
committed
Nov 8, 2021
1 parent
173a7d0
commit 5ff413e
Showing
7 changed files
with
107 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.