Skip to content

linux: remove epoll syscall wrappers#1372

Merged
bnoordhuis merged 2 commits intolibuv:v1.xfrom
bnoordhuis:del-epoll-wrappers
Sep 6, 2018
Merged

linux: remove epoll syscall wrappers#1372
bnoordhuis merged 2 commits intolibuv:v1.xfrom
bnoordhuis:del-epoll-wrappers

Conversation

@bnoordhuis
Copy link
Copy Markdown
Member

Remove the syscalls wrappers now that the minimum requirements are
kernel 2.6.32 + glibc 2.12.

This commit should fix the epoll_pwait()-related issues that have
been reported against mips/mipsel builds.

Fixes: #335 (longstanding issue)

@uvguy
Copy link
Copy Markdown

uvguy commented Jun 5, 2017

@bnoordhuis, apologize for noise. Might I ask that what is the relation of glibc requirement here from your patch. I have old server with kernel 2.6.32 and glibc 2.11. Is there any feature blocking to work only that glibc version from your patch. thanks.

@bnoordhuis
Copy link
Copy Markdown
Member Author

@uvguy I believe it should work. glibc's epoll_pwait() wrapper was introduced in 2.6, the system call in kernel 2.6.19.

@uvguy
Copy link
Copy Markdown

uvguy commented Jun 5, 2017

yes thanks

@bnoordhuis bnoordhuis force-pushed the del-epoll-wrappers branch from ad446dd to 78fba14 Compare June 14, 2017 09:24
@bnoordhuis
Copy link
Copy Markdown
Member Author

@bnoordhuis
Copy link
Copy Markdown
Member Author

As expected, this breaks the centos5 buildbots. Everything else is green.

@cjihrig
Copy link
Copy Markdown
Contributor

cjihrig commented Apr 2, 2018

@bnoordhuis what do you want to do with this one?

@bnoordhuis
Copy link
Copy Markdown
Member Author

Good question. I could retarget it to v2 and back-port to v1 if and when it becomes necessary. I'll look into that this week.

@bnoordhuis
Copy link
Copy Markdown
Member Author

bnoordhuis commented Sep 1, 2018

Rebased (minor conflict in os390.c) and ready for merge. Given the discussion in #1880 and #1969, I'd say it won't hurt to merge it into v1.x.

edit: CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/1017/

Remove the syscalls wrappers now that the minimum requirements are
kernel 2.6.32 + glibc 2.12.

This commit should fix the epoll_pwait()-related issues that have
been reported against mips/mipsel builds.

Fixes: libuv#335
PR-URL: libuv#1372
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Remove the support for kernels that don't support epoll_pwait()
now that the minimum requirements are kernel 2.6.32 + glibc 2.12.

PR-URL: libuv#1372
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
@bnoordhuis bnoordhuis merged commit f43c663 into libuv:v1.x Sep 6, 2018
@bnoordhuis bnoordhuis deleted the del-epoll-wrappers branch September 6, 2018 11:08
@bnoordhuis
Copy link
Copy Markdown
Member Author

Landed in c0c672e...f43c663.

bnoordhuis added a commit to bnoordhuis/libuv that referenced this pull request Mar 26, 2023
This was removed before in 2018 but then reinstated again in 2019 to
fix building with old Android SDKs. Well, time marches on; this time
it's gone for good.

Refs: libuv#1372
Refs: libuv#2358
bnoordhuis added a commit that referenced this pull request Mar 28, 2023
This was removed before in 2018 but then reinstated again in 2019 to
fix building with old Android SDKs. Well, time marches on; this time
it's gone for good.

Refs: #1372
Refs: #2358
liujinye-sys pushed a commit to open-vela/apps_system_libuv that referenced this pull request Jul 23, 2025
This was removed before in 2018 but then reinstated again in 2019 to
fix building with old Android SDKs. Well, time marches on; this time
it's gone for good.

Refs: libuv/libuv#1372
Refs: libuv/libuv#2358
liujinye-sys pushed a commit to open-vela/apps_system_libuv that referenced this pull request Dec 16, 2025
This was removed before in 2018 but then reinstated again in 2019 to
fix building with old Android SDKs. Well, time marches on; this time
it's gone for good.

Refs: libuv/libuv#1372
Refs: libuv/libuv#2358
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.

uv_loop_configure regression on mips/mipsel

4 participants