René's URL Explorer Experiment


Title: gh-144319: obtain SeLockMemoryPrivilege on Windows by chris-eibl · Pull Request #144928 · python/cpython · GitHub

Open Graph Title: gh-144319: obtain SeLockMemoryPrivilege on Windows by chris-eibl · Pull Request #144928 · python/cpython

X Title: gh-144319: obtain SeLockMemoryPrivilege on Windows by chris-eibl · Pull Request #144928 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Obtain SeLockMemoryPrivilege on startup on Windows to be able to use large pages when requested by setting the environment variable PYTHON_PYMALLOC_HUGEPAGES. I've decided to fail if that doesn...

X Description: Obtain SeLockMemoryPrivilege on startup on Windows to be able to use large pages when requested by setting the environment variable PYTHON_PYMALLOC_HUGEPAGES. I've decided to fail if that d...

Opengraph URL: https://github.com/python/cpython/pull/144928

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2a0bf657-5de7-66e9-f25d-40e8d7099bf3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C44:2DAA69:1C98352:28D37C6:6A50E69D
html-safe-noncea206c4152a7ccf398449d9acd7ace667424583553700cf51af6d7d3de4a16496
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzQ0OjJEQUE2OToxQzk4MzUyOjI4RDM3QzY6NkE1MEU2OUQiLCJ2aXNpdG9yX2lkIjoiODMxMDE4MDczMDcyNzYyMjMwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac57e1c2c53315e378f406b9034271292b070d292930aa9f6dbd9e3ae8b09d7136
hovercard-subject-tagpull_request:3295568757
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/144928/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c9e334432a2316134c7f50213b7d6664467b372732f8fda376087d6268b90d10/python/cpython/pull/144928
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c9e334432a2316134c7f50213b7d6664467b372732f8fda376087d6268b90d10/python/cpython/pull/144928
og:image:altObtain SeLockMemoryPrivilege on startup on Windows to be able to use large pages when requested by setting the environment variable PYTHON_PYMALLOC_HUGEPAGES. I've decided to fail if that doesn...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechris-eibl
hostnamegithub.com
expected-hostnamegithub.com
None72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasefb19d617b534959801b4b7453938ecf1dfa22131
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/144928#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144928
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144928
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/144928
Reloadhttps://github.com/python/cpython/pull/144928
Reloadhttps://github.com/python/cpython/pull/144928
Please reload this pagehttps://github.com/python/cpython/pull/144928
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/144928
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
chris-eibl:huge_pages_windowshttps://github.com/chris-eibl/cpython/tree/huge_pages_windows
Conversationhttps://github.com/python/cpython/pull/144928
Commits3 (3)https://github.com/python/cpython/pull/144928/commits
Checkshttps://github.com/python/cpython/pull/144928/checks
Files changedhttps://github.com/python/cpython/pull/144928/files
gh-144319: obtain SeLockMemoryPrivilege on Windowshttps://github.com/python/cpython/pull/144928#top
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
chris-eibl:huge_pages_windowshttps://github.com/chris-eibl/cpython/tree/huge_pages_windows
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Feb 17, 2026https://github.com/python/cpython/pull/144928#issue-3954164556
Please reload this pagehttps://github.com/python/cpython/pull/144928
SeLockMemoryPrivilegehttps://learn.microsoft.com/de-de/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/lock-pages-in-memory
large pageshttps://learn.microsoft.com/windows/win32/memory/large-page-support
Add huge pages support for pymalloc #144319https://github.com/python/cpython/issues/144319
https://cpython-previews--144928.org.readthedocs.build/https://cpython-previews--144928.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/144928
https://github.com/chris-eibl
obtain SeLockMemoryPrivilege on startup so that huge pageshttps://github.com/python/cpython/pull/144928/commits/3fa1785597d424a5faef048db1911c5c9ae61ecc
3fa1785https://github.com/python/cpython/pull/144928/commits/3fa1785597d424a5faef048db1911c5c9ae61ecc
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
AA-Turnerhttps://github.com/AA-Turner
ZeroIntensityhttps://github.com/ZeroIntensity
corona10https://github.com/corona10
emmatypinghttps://github.com/emmatyping
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
erlend-aaslandhttps://github.com/erlend-aasland
code ownershttps://github.com/python/cpython/blob/d1505b543a26d3288725ca83e4a70dfa378eb866/.github/CODEOWNERS#L83
February 17, 2026 18:43https://github.com/python/cpython/pull/144928#event-22862090737
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 17, 2026https://github.com/python/cpython/pull/144928#event-22862091961
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 17, 2026 https://github.com/python/cpython/pull/144928#ref-issue-3868235212
Add huge pages support for pymalloc #144319 https://github.com/python/cpython/issues/144319
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Feb 17, 2026https://github.com/python/cpython/pull/144928#event-22862096409
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
pablogsalhttps://github.com/pablogsal
February 17, 2026 18:43https://github.com/python/cpython/pull/144928#event-22862105949
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Feb 17, 2026https://github.com/python/cpython/pull/144928#issuecomment-3916499439
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/144928
https://github.com/chris-eibl
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144928
https://github.com/bedevere-bot
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144928
https://github.com/chris-eibl
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144928
https://github.com/python
pythonhttps://github.com/python
bedevere-bothttps://github.com/bedevere-bot
Feb 24, 2026https://github.com/python/cpython/pull/144928#event-23046791098
https://github.com/python
pythonhttps://github.com/python
bedevere-bothttps://github.com/bedevere-bot
Feb 24, 2026https://github.com/python/cpython/pull/144928#event-23046792499
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Mar 23, 2026 https://github.com/python/cpython/pull/144928#pullrequestreview-3995032286
View reviewed changes https://github.com/python/cpython/pull/144928/files/3fa1785597d424a5faef048db1911c5c9ae61ecc
pablogsalhttps://github.com/pablogsal
https://github.com/python/cpython/pull/144928#pullrequestreview-3995032286
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144928
Python/pylifecycle.chttps://github.com/python/cpython/pull/144928/files/3fa1785597d424a5faef048db1911c5c9ae61ecc#diff-69223f5bb01f359a23246afbbf75b45c622e719424418d658674fbb6c2b36fad
pablogsalhttps://github.com/pablogsal
Mar 23, 2026https://github.com/python/cpython/pull/144928#discussion_r2977901147
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144928
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 23, 2026https://github.com/python/cpython/pull/144928#event-23831105984
chris-eiblhttps://github.com/chris-eibl
March 23, 2026 23:26https://github.com/python/cpython/pull/144928#commits-pushed-108703c
https://github.com/chris-eibl
Merge remote-tracking branch 'upstream/main' into huge_pages_windowshttps://github.com/python/cpython/pull/144928/commits/108703ca7736f7f4735ab64033d86d9977bbfd60
108703chttps://github.com/python/cpython/pull/144928/commits/108703ca7736f7f4735ab64033d86d9977bbfd60
https://github.com/chris-eibl
fail with better error message if the SeLockMemoryPrivilegehttps://github.com/python/cpython/pull/144928/commits/725fd835300a99b24e63daa0e7102fdbe612cbce
725fd83https://github.com/python/cpython/pull/144928/commits/725fd835300a99b24e63daa0e7102fdbe612cbce
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
FFY00https://github.com/FFY00
code ownerhttps://github.com/python/cpython/blob/7dc2f52a6f58473b51f14b2f86f2527453fd16ff/.github/CODEOWNERS#L321
March 23, 2026 22:35https://github.com/python/cpython/pull/144928#event-23831465889
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
March 23, 2026 22:37https://github.com/python/cpython/pull/144928#event-23831517478
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
306c556https://github.com/python/cpython/commit/306c556fdbe7034c9a6d87516534eecdb911ad11
Mar 23, 2026https://github.com/python/cpython/pull/144928#event-23832007812
Please reload this pagehttps://github.com/python/cpython/pull/144928
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 23, 2026https://github.com/python/cpython/pull/144928#event-23832008825
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
March 23, 2026 23:21https://github.com/python/cpython/pull/144928#event-23832541795
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 23, 2026https://github.com/python/cpython/pull/144928#issuecomment-4114437056
306c556https://github.com/python/cpython/commit/306c556fdbe7034c9a6d87516534eecdb911ad11
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/#/builders/1810/builds/2113https://buildbot.python.org/#/builders/1810/builds/2113
306c556https://github.com/python/cpython/commit/306c556fdbe7034c9a6d87516534eecdb911ad11
https://buildbot.python.org/#/builders/1810/builds/2113https://buildbot.python.org/#/builders/1810/builds/2113
Please reload this pagehttps://github.com/python/cpython/pull/144928
CuriousLearnerhttps://github.com/CuriousLearner
Mar 24, 2026 https://github.com/python/cpython/pull/144928#ref-commit-78b2c6a
https://github.com/CuriousLearner
Merge branch 'fix-https://github.com/CuriousLearner/cpython/commit/78b2c6a7708e1cb967f26f631a41ea294b7a6b14
pythongh-138577https://github.com/python/cpython/issues/138577
' of github.com:CuriousLearner/cpyth…https://github.com/CuriousLearner/cpython/commit/78b2c6a7708e1cb967f26f631a41ea294b7a6b14
78b2c6ahttps://github.com/CuriousLearner/cpython/commit/78b2c6a7708e1cb967f26f631a41ea294b7a6b14
pythongh-138577https://github.com/python/cpython/issues/138577
pythongh-138577https://github.com/python/cpython/issues/138577
pythongh-146202https://github.com/python/cpython/issues/146202
python#146347https://github.com/python/cpython/pull/146347
pythongh-144319https://github.com/python/cpython/issues/144319
python#144928https://github.com/python/cpython/pull/144928
pythongh-146199https://github.com/python/cpython/issues/146199
python#146200https://github.com/python/cpython/pull/146200
pythongh-146197https://github.com/python/cpython/issues/146197
python#146346https://github.com/python/cpython/pull/146346
pythongh-135871https://github.com/python/cpython/issues/135871
pythongh-146064https://github.com/python/cpython/pull/146064
pythongh-145719https://github.com/python/cpython/issues/145719
python#145720https://github.com/python/cpython/pull/145720
https://github.com/mhsmith
mhsmithhttps://github.com/mhsmith
Mar 24, 2026 https://github.com/python/cpython/pull/144928#ref-pullrequest-4100237355
Improvements to the Emscripten buildbot python/buildmaster-config#687 https://github.com/python/buildmaster-config/pull/687
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 4, 2026 https://github.com/python/cpython/pull/144928#ref-pullrequest-3716338400
gh-130273: Fix traceback color output with unicode characters #142529 https://github.com/python/cpython/pull/142529
clin1234https://github.com/clin1234
Apr 16, 2026 https://github.com/python/cpython/pull/144928#ref-commit-ec444c1
https://github.com/chris-eibl
https://github.com/clin1234
pythongh-144319https://github.com/python/cpython/issues/144319
: obtain SeLockMemoryPrivilege on Windows (https://github.com/clin1234/cpython/commit/ec444c1c357ba297c3fd21b16ae7ca1165d75d74
python#144928https://github.com/python/cpython/pull/144928
)https://github.com/clin1234/cpython/commit/ec444c1c357ba297c3fd21b16ae7ca1165d75d74
ec444c1https://github.com/clin1234/cpython/commit/ec444c1c357ba297c3fd21b16ae7ca1165d75d74
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/144928#ref-commit-e2199d1
https://github.com/chris-eibl
https://github.com/ljfp
pythongh-144319https://github.com/python/cpython/issues/144319
: obtain SeLockMemoryPrivilege on Windows (https://github.com/ljfp/cpython/commit/e2199d1082804b60c63b654f2df96e2e1b7bcf7f
python#144928https://github.com/python/cpython/pull/144928
)https://github.com/ljfp/cpython/commit/e2199d1082804b60c63b654f2df96e2e1b7bcf7f
e2199d1https://github.com/ljfp/cpython/commit/e2199d1082804b60c63b654f2df96e2e1b7bcf7f
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144928
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/python/cpython/pull/144928/files/3fa1785597d424a5faef048db1911c5c9ae61ecc
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/emmatyping
emmatyping https://github.com/emmatyping
https://github.com/FFY00
FFY00 https://github.com/FFY00
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/144928
https://github.com/chris-eibl
https://github.com/bedevere-bot
https://github.com/pablogsal
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.