Skip to content

Preserve broken hugepage state in PageMap across HugeCache/HugeAllocator reuse. - #1357

Draft
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_997556385
Draft

copybara-service[bot] wants to merge 1 commit into
masterfrom
test_997556385

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Preserve broken hugepage state in PageMap across HugeCache/HugeAllocator reuse.

Use PackedPtr<PageTracker> in HugePageAwareAllocator and StaticForwarder
to encode broken hugepage state in the low bit of PageMap entries across
whole-hugepage releases and subsequent reuse.

@google-cla

google-cla Bot commented Oct 11, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service copybara-service Bot changed the title Preserve broken hugepage state in PageMap across HugeCache roundtrips. Add generic TaggedPtr helper and preserve broken hugepage state in PageMap. Oct 11, 2026
@copybara-service
copybara-service Bot force-pushed the test_997556385 branch 3 times, most recently from 3f6599b to 6e07100 Compare October 12, 2026 23:17
@copybara-service copybara-service Bot changed the title Add generic TaggedPtr helper and preserve broken hugepage state in PageMap. Preserve broken hugepage state in PageMap across HugeCache/HugeAllocator reuse. Oct 12, 2026
…tor reuse.

Use `PackedPtr<PageTracker>` in `HugePageAwareAllocator` and `StaticForwarder`
to encode broken hugepage state in the low bit of `PageMap` entries across
whole-hugepage releases and subsequent reuse.

PiperOrigin-RevId: 997556385

This branch has not been deployed

No deployments
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.

0 participants