Skip to content

Revert: Add an option to append to, rather than prepend to, the filler list when pages are freed into a hugepage. - #1983

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_1033653546
Dec 1, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_1033653546

Conversation

@copybara-service

Copy link
Copy Markdown

Revert: Add an option to append to, rather than prepend to, the filler 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.

@copybara-service
copybara-service Bot force-pushed the test_1033653546 branch 2 times, most recently from 0defb4e to 25dd963 Compare December 1, 2026 19:05
…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
copybara-service Bot merged commit 7f63af9 into master Dec 1, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the test_1033653546 branch December 1, 2026 19:20

This branch was previously deployed

1 inactive deployment
github-pages — 7f63af91 Deployed Dec 1, 2026 by github-pages[bot] via deploy #3326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant