Repository navigation
Revert: Add an option to append to, rather than prepend to, the filler list when pages are freed into a hugepage. - #1983
Merged
Conversation
copybara-service
Bot
force-pushed
the
test_1033653546
branch
2 times, most recently
from
December 1, 2026 19:05
0defb4e to
25dd963
Compare
…r list when pages are freed into a hugepage. `HugePageFiller::Put` removes the tracker from its list, returns the pages, and re-adds it. It always prepended, so a hugepage that just had pages freed into it became the next allocation target among hugepages in the same list, even when the list index did not change. We suggest that hugepage that is draining is more likely to keep draining, so we would rather fill a hugepage that has not recently had pages freed and let this one empty out so it can be returned whole. PiperOrigin-RevId: 1033718704
copybara-service
Bot
force-pushed
the
test_1033653546
branch
from
December 1, 2026 19:20
25dd963 to
7f63af9
Compare
This branch was previously deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Revert: Add an option to append to, rather than prepend to, the filler list when pages are freed into a hugepage.
HugePageFiller::Putremoves the tracker from its list, returns the pages, and re-adds it. It always prepended, so a hugepage that just had pages freed into it became the next allocation target among hugepages in the same list, even when the list index did not change. We suggest that hugepage that is draining is more likely to keep draining, so we would rather fill a hugepage that has not recently had pages freed and let this one empty out so it can be returned whole.