Skip to content

Reject size or alignment exceeding kTagFree in MmapAlignedLocked. - #1583

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

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

Conversation

@copybara-service

Copy link
Copy Markdown

Reject size or alignment exceeding kTagFree in MmapAlignedLocked.

Each memory tag partition spans kTagFree = 1ULL << kTagShift bytes, whereas kTagMask is 7 * kTagFree. Reject requests with size or alignment exceeding kTagFree in MmapAlignedLocked so RandomMmapHint does not clear tag bits or map across tag partition boundaries.

Each memory tag partition spans kTagFree = 1ULL << kTagShift bytes, whereas kTagMask is 7 * kTagFree. Reject requests with size or alignment exceeding kTagFree in MmapAlignedLocked so RandomMmapHint does not clear tag bits or map across tag partition boundaries.

PiperOrigin-RevId: 1001722616

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.

1 participant