Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.10] bpo-45521: Fix a bug in the obmalloc radix tree code. (GH-29051) #29122

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 21, 2021

MAP_BOT_LENGTH was incorrectly used to compute MAP_TOP_MASK instead of
MAP_TOP_LENGTH. On 64-bit machines, the error causes the tree to hold
46-bits of virtual addresses, rather than the intended 48-bits.
(cherry picked from commit 311910b)

Co-authored-by: Neil Schemenauer [email protected]

https://bugs.python.org/issue45521

MAP_BOT_LENGTH was incorrectly used to compute MAP_TOP_MASK instead of
MAP_TOP_LENGTH. On 64-bit machines, the error causes the tree to hold
46-bits of virtual addresses, rather than the intended 48-bits.
(cherry picked from commit 311910b)

Co-authored-by: Neil Schemenauer <[email protected]>
@miss-islington
Copy link
Contributor Author

@nascheme: Status check is done, and it's a success ✅ .

3 similar comments
@miss-islington
Copy link
Contributor Author

@nascheme: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@nascheme: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@nascheme: Status check is done, and it's a success ✅ .

@nascheme nascheme merged commit 1cdac61 into python:3.10 Oct 21, 2021
@miss-islington miss-islington deleted the backport-311910b-3.10 branch October 21, 2021 15:41
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.

4 participants