René's URL Explorer Experiment


Title: Reorder GIL/ipc mutex lock in `resource_handles.cpp` by brandon-b-miller · Pull Request #2848 · NVIDIA/cuda-python · GitHub

Open Graph Title: Reorder GIL/ipc mutex lock in `resource_handles.cpp` by brandon-b-miller · Pull Request #2848 · NVIDIA/cuda-python

X Title: Reorder GIL/ipc mutex lock in `resource_handles.cpp` by brandon-b-miller · Pull Request #2848 · NVIDIA/cuda-python

Description: CUDA Python: Performance meets Productivity. Contribute to NVIDIA/cuda-python development by creating an account on GitHub.

Open Graph Description: Closes #2840 .

X Description: Closes #2840 .

Opengraph URL: https://github.com/NVIDIA/cuda-python/pull/2848

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:995b7fb7-cea4-7567-b040-84a2e83a70df
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id91F4:2DB33E:694739:8AFF84:6AF83DC1
html-safe-noncebf43cfb7d7124b6edaf7f6b43b6c72e427f68a0274866fa3bc4a48691bead614
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUY0OjJEQjMzRTo2OTQ3Mzk6OEFGRjg0OjZBRjgzREMxIiwidmlzaXRvcl9pZCI6Ijc3Nzg4NTQ4NzkyMTU3NjI4ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac829d0fa50f4d030a4bc3c58d13fdbf81bd2aa59dba07830a5caba545d33ba3db
hovercard-subject-tagpull_request:4528034844
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/NVIDIA/cuda-python/2848/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a056d60ec92899550586dbfaf5c85453fa6a6390683f3a0def90d41fbbb34e9d/NVIDIA/cuda-python/pull/2848
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a056d60ec92899550586dbfaf5c85453fa6a6390683f3a0def90d41fbbb34e9d/NVIDIA/cuda-python/pull/2848
og:image:altCloses #2840 .
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrandon-b-miller
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-cache
go-importgithub.com/NVIDIA/cuda-python git https://github.com/NVIDIA/cuda-python.git
octolytics-dimension-user_id1728152
octolytics-dimension-user_loginNVIDIA
octolytics-dimension-repository_id381173759
octolytics-dimension-repository_nwoNVIDIA/cuda-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id381173759
octolytics-dimension-repository_network_root_nwoNVIDIA/cuda-python
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
release653be32ff5c755082a4db662491bfbbcfc9112c1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/NVIDIA/cuda-python/pull/2848#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F2848
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F2848
Sign uphttps://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=NVIDIA%2Fcuda-python
Reloadhttps://github.com/NVIDIA/cuda-python/pull/2848
Reloadhttps://github.com/NVIDIA/cuda-python/pull/2848
Reloadhttps://github.com/NVIDIA/cuda-python/pull/2848
NVIDIAhttps://github.com/NVIDIA
cuda-pythonhttps://github.com/NVIDIA/cuda-python
Codehttps://github.com/NVIDIA/cuda-python
Issues219 (219)https://github.com/NVIDIA/cuda-python/issues
Pull requests92 (92)https://github.com/NVIDIA/cuda-python/pulls
Discussionshttps://github.com/NVIDIA/cuda-python/discussions
Actionshttps://github.com/NVIDIA/cuda-python/actions
Projectshttps://github.com/NVIDIA/cuda-python/projects
Wikihttps://github.com/NVIDIA/cuda-python/wiki
Security and qualityhttps://github.com/NVIDIA/cuda-python/security
Insightshttps://github.com/NVIDIA/cuda-python/pulse
https://github.com/NVIDIA/cuda-python
Andy-Josthttps://github.com/Andy-Jost
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
brandon-b-miller:fix-2840https://github.com/brandon-b-miller/cuda-python/tree/fix-2840
Conversationhttps://github.com/NVIDIA/cuda-python/pull/2848
Commits3 (3)https://github.com/NVIDIA/cuda-python/pull/2848/commits
Checkshttps://github.com/NVIDIA/cuda-python/pull/2848/checks
Files changedhttps://github.com/NVIDIA/cuda-python/pull/2848/files
Reorder GIL/ipc mutex lock in resource_handles.cpphttps://github.com/NVIDIA/cuda-python/pull/2848#top
Andy-Josthttps://github.com/Andy-Jost
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
brandon-b-miller:fix-2840https://github.com/brandon-b-miller/cuda-python/tree/fix-2840
https://github.com/brandon-b-miller
brandon-b-millerhttps://github.com/brandon-b-miller
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#issue-5451322953
#2840https://github.com/NVIDIA/cuda-python/issues/2840
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
brandon-b-millerhttps://github.com/brandon-b-miller
September 14, 2026 15:26https://github.com/NVIDIA/cuda-python/pull/2848#commits-pushed-183b66d
https://github.com/brandon-b-miller
test, fixhttps://github.com/NVIDIA/cuda-python/pull/2848/commits/183b66d05c0355057cf3a27db6a19717eb3a5165
183b66dhttps://github.com/NVIDIA/cuda-python/pull/2848/commits/183b66d05c0355057cf3a27db6a19717eb3a5165
https://github.com/brandon-b-miller
trimhttps://github.com/NVIDIA/cuda-python/pull/2848/commits/7d2819d86001bb118906792c7b91b207fdc4c28f
7d2819dhttps://github.com/NVIDIA/cuda-python/pull/2848/commits/7d2819d86001bb118906792c7b91b207fdc4c28f
https://github.com/apps/copy-pr-bot
copy-pr-bothttps://github.com/apps/copy-pr-bot
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#issuecomment-5666439494
herehttps://docs.gha-runners.nvidia.com/cpr/vetters
herehttps://docs.gha-runners.nvidia.com/cpr/contributors
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
cuda.core https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Acuda.core
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#event-31111650726
https://github.com/brandon-b-miller
brandon-b-millerhttps://github.com/brandon-b-miller
bug https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Abug
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#event-31111660155
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#event-31123842848
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
P0 https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3AP0
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#event-31123851134
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
cuda.core 1.3.0https://github.com/NVIDIA/cuda-python/milestone/52
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#event-31123859047
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
September 14, 2026 19:06https://github.com/NVIDIA/cuda-python/pull/2848#event-31123866426
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
brandon-b-millerhttps://github.com/brandon-b-miller
Andy-Josthttps://github.com/Andy-Jost
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#event-31123885578
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Sep 14, 2026 https://github.com/NVIDIA/cuda-python/pull/2848#pullrequestreview-5201771471
View reviewed changes https://github.com/NVIDIA/cuda-python/pull/2848/files/7d2819d86001bb118906792c7b91b207fdc4c28f
Andy-Josthttps://github.com/Andy-Jost
https://github.com/NVIDIA/cuda-python/pull/2848#pullrequestreview-5201771471
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#2759https://github.com/NVIDIA/cuda-python/pull/2759
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#issuecomment-5669306287
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/apps/copy-pr-bot
copy-pr-bothttps://github.com/apps/copy-pr-bot
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#issuecomment-5669307090
@Andy-Josthttps://github.com/Andy-Jost
https://docs.gha-runners.nvidia.com/cpr/e/1/https://docs.gha-runners.nvidia.com/cpr/e/1/
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#issuecomment-5669315735
7d2819dhttps://github.com/NVIDIA/cuda-python/commit/7d2819d86001bb118906792c7b91b207fdc4c28f
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Sep 14, 2026 https://github.com/NVIDIA/cuda-python/pull/2848#ref-pullrequest-5330771668
cuda.core: define the error handling policy and report failures that cannot be raised #2759 https://github.com/NVIDIA/cuda-python/pull/2759
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F2848
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#issuecomment-5670004753
#2759https://github.com/NVIDIA/cuda-python/pull/2759
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/brandon-b-miller
brandon-b-millerhttps://github.com/brandon-b-miller
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#issuecomment-5670090978
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/Andy-Jost
https://github.com/claude
cuda.core: hold ipc_import_mutex while freeing an imported IPC pointerhttps://github.com/NVIDIA/cuda-python/pull/2848/commits/13ab2f1ef84bad5ee847e96a33b6bec9214e78bc
13ab2f1https://github.com/NVIDIA/cuda-python/pull/2848/commits/13ab2f1ef84bad5ee847e96a33b6bec9214e78bc
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#issuecomment-5670146432
13ab2f1https://github.com/NVIDIA/cuda-python/commit/13ab2f1ef84bad5ee847e96a33b6bec9214e78bc
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
September 14, 2026 20:48https://github.com/NVIDIA/cuda-python/pull/2848#event-31129691093
Andy-Josthttps://github.com/Andy-Jost
Sep 14, 2026 https://github.com/NVIDIA/cuda-python/pull/2848#ref-commit-e0e03d9
https://github.com/Andy-Jost
https://github.com/claude
cuda.core: never acquire the GIL while holding a C++ lockhttps://github.com/Andy-Jost/cuda-python/commit/e0e03d9aa4bec49d92aff514f7fdc9b4be39e912
e0e03d9https://github.com/Andy-Jost/cuda-python/commit/e0e03d9aa4bec49d92aff514f7fdc9b4be39e912
NVIDIA#2840https://github.com/NVIDIA/cuda-python/issues/2840
NVIDIA#2848https://github.com/NVIDIA/cuda-python/pull/2848
Andy-Josthttps://github.com/Andy-Jost
Sep 14, 2026 https://github.com/NVIDIA/cuda-python/pull/2848#ref-commit-8b264c9
https://github.com/Andy-Jost
https://github.com/claude
cuda.core: hold ipc_import_mutex while freeing an imported IPC pointerhttps://github.com/Andy-Jost/cuda-python/commit/8b264c9281ce1b4224b79bf761ba6956fc0539ea
8b264c9https://github.com/Andy-Jost/cuda-python/commit/8b264c9281ce1b4224b79bf761ba6956fc0539ea
NVIDIA#2848https://github.com/NVIDIA/cuda-python/pull/2848
NVIDIA#2848https://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
0bfe303https://github.com/NVIDIA/cuda-python/commit/0bfe303b6d8a9d4cb1568fe54bceac3d29e94740
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#event-31131186736
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 14, 2026https://github.com/NVIDIA/cuda-python/pull/2848#issuecomment-5671193769
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
Andy-Josthttps://github.com/Andy-Jost
Sep 15, 2026 https://github.com/NVIDIA/cuda-python/pull/2848#ref-commit-6aaeb66
https://github.com/Andy-Jost
https://github.com/claude
cuda.core: define the error handling policy and report failures that …https://github.com/NVIDIA/cuda-python/commit/6aaeb668aea77da52c81500ba7637521b1cdeba1
6aaeb66https://github.com/NVIDIA/cuda-python/commit/6aaeb668aea77da52c81500ba7637521b1cdeba1
#2759https://github.com/NVIDIA/cuda-python/pull/2759
#2750https://github.com/NVIDIA/cuda-python/pull/2750
#2750https://github.com/NVIDIA/cuda-python/pull/2750
#2773https://github.com/NVIDIA/cuda-python/pull/2773
#2759https://github.com/NVIDIA/cuda-python/pull/2759
#2759https://github.com/NVIDIA/cuda-python/pull/2759
#2760https://github.com/NVIDIA/cuda-python/issues/2760
#2840https://github.com/NVIDIA/cuda-python/issues/2840
#2848https://github.com/NVIDIA/cuda-python/pull/2848
#2759https://github.com/NVIDIA/cuda-python/pull/2759
#2760https://github.com/NVIDIA/cuda-python/issues/2760
#2848https://github.com/NVIDIA/cuda-python/pull/2848
#2848https://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/Andy-Jost
Andy-Josthttps://github.com/Andy-Jost
Sep 15, 2026 https://github.com/NVIDIA/cuda-python/pull/2848#ref-issue-5392899851
cuda-core: require a cuda-bindings version floor at build and run time #2783 https://github.com/NVIDIA/cuda-python/issues/2783
https://github.com/juenglin
juenglinhttps://github.com/juenglin
Sep 22, 2026 https://github.com/NVIDIA/cuda-python/pull/2848#ref-pullrequest-5542092075
fix(bindings): cover missing helper attrs and fix CU_JIT_WALL_TIME pointer #2931 https://github.com/NVIDIA/cuda-python/pull/2931
https://github.co/hiddenchars
https://github.com/NVIDIA/cuda-python/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%2FNVIDIA%2Fcuda-python%2Fpull%2F2848
https://github.com/Andy-Jost
Andy-Jost https://github.com/Andy-Jost
https://github.com/NVIDIA/cuda-python/pull/2848/files/7d2819d86001bb118906792c7b91b207fdc4c28f
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/brandon-b-miller
brandon-b-miller https://github.com/brandon-b-miller
bug https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Abug
cuda.core https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Acuda.core
P0 https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3AP0
cuda.core 1.3.0 https://github.com/NVIDIA/cuda-python/milestone/52
[BUG]: Buffer.from_ipc_descriptor deadlocks between ipc_import_mutex and the GIL https://github.com/NVIDIA/cuda-python/issues/2840
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2848
https://github.com/brandon-b-miller
https://github.com/Andy-Jost
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.