Page MenuHomeFreeBSD

Implement eventfd system call.
AbandonedPublic

Authored by dchagin on Nov 3 2014, 8:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 24, 4:51 AM
Unknown Object (File)
Wed, Mar 12, 11:18 PM
Unknown Object (File)
Mon, Mar 10, 7:31 AM
Unknown Object (File)
Fri, Mar 7, 5:46 PM
Unknown Object (File)
Wed, Mar 5, 10:44 PM
Unknown Object (File)
Thu, Feb 27, 9:10 PM
Unknown Object (File)
Thu, Feb 27, 11:15 AM
Unknown Object (File)
Feb 4 2025, 12:50 AM
Subscribers

Details

Reviewers
trasz
Group Reviewers
Linux Emulation
Summary

In collaboration with: Jilles Tjoelker

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

dchagin retitled this revision from to Implement eventfd system call..
dchagin updated this object.

A general note: have you considered turning it into a FreeBSD syscall, living in eg sys/kern/kern_eventfd.c, with a Linux wrapper around it? This - and some other Linux-specific syscalls - could end up making porting software easier.

sys/compat/linux/linux_event.c
523

Use UMA with its own zone instead of malloc with M_EPOLL? You could then move mtx_init/mtx_destroy into ctor/dtor.

In D1094#3, @trasz wrote:

A general note: have you considered turning it into a FreeBSD syscall, living in eg sys/kern/kern_eventfd.c, with a Linux wrapper around it? This - and some other Linux-specific syscalls - could end up making porting software easier.

ugh, I can, it seems to me that we need discuss it in public, some people ask me to make native epoll also.

After D2172 rewrite as a tiny wrapper.

trasz added a reviewer: trasz.
This revision is now accepted and ready to land.Mar 31 2015, 11:43 AM

Full Linuxulator version commited.