René's URL Explorer Experiment


Title: Bump bundled libuv to ≥1.49 so io_uring isn't silently on by default · Issue #752 · MagicStack/uvloop · GitHub

Open Graph Title: Bump bundled libuv to ≥1.49 so io_uring isn't silently on by default · Issue #752 · MagicStack/uvloop

X Title: Bump bundled libuv to ≥1.49 so io_uring isn't silently on by default · Issue #752 · MagicStack/uvloop

Description: Problem uvloop vendors libuv 1.48.0 (vendor/libuv submodule SHA e9f29cb9… → tag v1.48.0, 2024-02-07). On kernels ≥ 5.10.186 that libuv turns on io_uring by default — an IORING_SETUP_SQPOLL ring for async file ops and an IORING_OP_EPOLL_C...

Open Graph Description: Problem uvloop vendors libuv 1.48.0 (vendor/libuv submodule SHA e9f29cb9… → tag v1.48.0, 2024-02-07). On kernels ≥ 5.10.186 that libuv turns on io_uring by default — an IORING_SETUP_SQPOLL ring for...

X Description: Problem uvloop vendors libuv 1.48.0 (vendor/libuv submodule SHA e9f29cb9… → tag v1.48.0, 2024-02-07). On kernels ≥ 5.10.186 that libuv turns on io_uring by default — an IORING_SETUP_SQPOLL ring for...

Opengraph URL: https://github.com/MagicStack/uvloop/issues/752

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bump bundled libuv to ≥1.49 so io_uring isn't silently on by default","articleBody":"## Problem\n\n`uvloop` vendors libuv 1.48.0 (`vendor/libuv` submodule SHA `e9f29cb9…` → tag v1.48.0, 2024-02-07). On kernels ≥ 5.10.186 that libuv turns on io_uring **by default** — an `IORING_SETUP_SQPOLL` ring for async file ops and an `IORING_OP_EPOLL_CTL` batching ring for `epoll_ctl`. Nothing in the stack opts in:\n\n```\napp → uvloop.run() → uvloop → bundled libuv 1.48 → io_uring_enter\n```\n\nObserved via an eBPF tracepoint on `io_uring_setup`/`io_uring_enter`: uvloop-driven processes issue those syscalls during normal startup, before any app file I/O.\n\n## Why\n\nio_uring bypasses the syscall boundary seccomp filters on. Ops inside the ring (openat, read, write, connect) aren't individual syscalls — seccomp can only allow/deny `io_uring_enter` wholesale, not the ops inside. So if you relax the profile to silence the inevitable EPERM noise, you punch a hole through the whole seccomp profile. The default Kubernetes `RuntimeDefault` profile denies `io_uring_setup` (#426), which is correct — but means uvloop-driven processes noisily fail into libuv's epoll+threadpool fallback on every loop init.\n\nlibuv already agreed: **v1.49.0 disabled SQPOLL io_uring by default** (#4492). The gap isn't libuv — it's consumers still bundling 1.48.\n\nuvloop is the layer that controls io_uring exposure for most of the Python ecosystem (via `uvicorn[standard]` → uvloop). Today that choice is \"io_uring on by default, suppressed only by seccomp.\"\n\n## Proposal\n\n1. **Bump `vendor/libuv` to ≥ 1.49.0.** Consistent with prior uvloop libuv bumps (v0.15.0, v0.14.0, etc.). Removes the SQPOLL ring from the default footprint.\n2. **Document** the io_uring behavior + the `UV_USE_IO_URING=0` escape hatch in the README. (Note: the env var fully gates io_uring in 1.48; in 1.49+ the `IORING_OP_EPOLL_CTL` batching ring is no longer gated by it — verify against whatever version you ship.)\n3. Optionally expose a uvloop-level switch (`UVLOOP_USE_IO_URING=0`) so apps don't have to reach into libuv's env var.\n\n## References\n\n- libuv v1.49.0 (2024-09-25): https://github.com/libuv/libuv/releases/tag/v1.49.0 — \"linux: disable SQPOLL io_uring by default #4492\"\n- libuv v1.48.0 (2024-02-07): https://github.com/libuv/libuv/releases/tag/v1.48.0 — what uvloop currently bundles\n- PR #4492: https://github.com/libuv/libuv/pull/4492","author":{"url":"https://github.com/hixichen","@type":"Person","name":"hixichen"},"datePublished":"2026-06-23T18:31:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/752/uvloop/issues/752"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:22f715a1-b672-2fcb-bb08-064a177abac8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9148:1793BD:2E9199D:40F44E8:6A634264
html-safe-nonce3c24fac5a79596d28b67fd2389cbf95000a7732bf4ab319b44c8ce43f93ffe01
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTQ4OjE3OTNCRDoyRTkxOTlEOjQwRjQ0RTg6NkE2MzQyNjQiLCJ2aXNpdG9yX2lkIjoiMzU3OTYzMDcxOTI5MDUyNDI2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd459069b94ef79054cb63d6fb05ca7a5eacb19264d65b1bb380aa5c9a24abd54
hovercard-subject-tagissue:4728522886
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/MagicStack/uvloop/752/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2937bfe6979ece941748c3cae626a2367d4183abd374d08c5aad21beb9d4d011/MagicStack/uvloop/issues/752
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2937bfe6979ece941748c3cae626a2367d4183abd374d08c5aad21beb9d4d011/MagicStack/uvloop/issues/752
og:image:altProblem uvloop vendors libuv 1.48.0 (vendor/libuv submodule SHA e9f29cb9… → tag v1.48.0, 2024-02-07). On kernels ≥ 5.10.186 that libuv turns on io_uring by default — an IORING_SETUP_SQPOLL ring for...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehixichen
hostnamegithub.com
expected-hostnamegithub.com
None59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94
turbo-cache-controlno-preview
go-importgithub.com/MagicStack/uvloop git https://github.com/MagicStack/uvloop.git
octolytics-dimension-user_id14324950
octolytics-dimension-user_loginMagicStack
octolytics-dimension-repository_id45766550
octolytics-dimension-repository_nwoMagicStack/uvloop
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45766550
octolytics-dimension-repository_network_root_nwoMagicStack/uvloop
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
release990295d92a4cc7b63fbbd83a046217cd7d77d49c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/MagicStack/uvloop/issues/752#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FMagicStack%2Fuvloop%2Fissues%2F752
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2FMagicStack%2Fuvloop%2Fissues%2F752
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=MagicStack%2Fuvloop
Reloadhttps://github.com/MagicStack/uvloop/issues/752
Reloadhttps://github.com/MagicStack/uvloop/issues/752
Reloadhttps://github.com/MagicStack/uvloop/issues/752
Please reload this pagehttps://github.com/MagicStack/uvloop/issues/752
MagicStack https://github.com/MagicStack
uvloophttps://github.com/MagicStack/uvloop
Notifications https://github.com/login?return_to=%2FMagicStack%2Fuvloop
Fork 612 https://github.com/login?return_to=%2FMagicStack%2Fuvloop
Star 11.9k https://github.com/login?return_to=%2FMagicStack%2Fuvloop
Code https://github.com/MagicStack/uvloop
Issues 126 https://github.com/MagicStack/uvloop/issues
Pull requests 30 https://github.com/MagicStack/uvloop/pulls
Actions https://github.com/MagicStack/uvloop/actions
Projects https://github.com/MagicStack/uvloop/projects
Wiki https://github.com/MagicStack/uvloop/wiki
Security and quality 0 https://github.com/MagicStack/uvloop/security
Insights https://github.com/MagicStack/uvloop/pulse
Code https://github.com/MagicStack/uvloop
Issues https://github.com/MagicStack/uvloop/issues
Pull requests https://github.com/MagicStack/uvloop/pulls
Actions https://github.com/MagicStack/uvloop/actions
Projects https://github.com/MagicStack/uvloop/projects
Wiki https://github.com/MagicStack/uvloop/wiki
Security and quality https://github.com/MagicStack/uvloop/security
Insights https://github.com/MagicStack/uvloop/pulse
#753https://github.com/MagicStack/uvloop/pull/753
Bump bundled libuv to ≥1.49 so io_uring isn't silently on by defaulthttps://github.com/MagicStack/uvloop/issues/752#top
#753https://github.com/MagicStack/uvloop/pull/753
https://github.com/hixichen
hixichenhttps://github.com/hixichen
on Jun 23, 2026https://github.com/MagicStack/uvloop/issues/752#issue-4728522886
#426https://github.com/MagicStack/uvloop/issues/426
https://github.com/libuv/libuv/releases/tag/v1.49.0https://github.com/libuv/libuv/releases/tag/v1.49.0
https://github.com/libuv/libuv/releases/tag/v1.48.0https://github.com/libuv/libuv/releases/tag/v1.48.0
linux: disable SQPOLL io_uring by default libuv/libuv#4492https://github.com/libuv/libuv/pull/4492
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.