libc icon indicating copy to clipboard operation
libc copied to clipboard

epoll: add busy polling parameters

Open tammela opened this issue 1 year ago • 1 comments

In Linux 6.9 a new ioctl for epoll was added: https://man.archlinux.org/man/ioctl_eventpoll.2.en

It's used for busy polling sockets

tammela avatar Sep 13 '24 21:09 tammela

r? @JohnTitor

rustbot has assigned @JohnTitor. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

rustbot avatar Sep 13 '24 21:09 rustbot

Could you please update the relevant files in libc-test/semver? Also, why src/unix/linux_like/linux/arch/generic/mod.rs, can't this just go in src/unix/linux/mod.rs?

tgross35 avatar Oct 01 '24 03:10 tgross35

Could you please update the relevant files in libc-test/semver?

Will do

Also, why src/unix/linux_like/linux/arch/generic/mod.rs, can't this just go in src/unix/linux/mod.rs?

No preference really. As long as it only exposed to Linux builds, it's fine. My rationale was that since it's an ioctl parameter, it should be close to the ioctl constants

tammela avatar Oct 10 '24 15:10 tammela