Page MenuHomeFreeBSD

Implement eventfd system call.
AbandonedPublic

Authored by dchagin on Nov 3 2014, 8:35 AM.
Tags
None
Referenced Files
F167894570: D1094.id.diff
Tue, Aug 25, 7:38 AM
Unknown Object (File)
Sun, Aug 23, 8:33 PM
Unknown Object (File)
Sat, Aug 22, 6:22 PM
Unknown Object (File)
Sat, Aug 22, 6:22 PM
Unknown Object (File)
Sat, Aug 22, 6:21 PM
Unknown Object (File)
Sat, Aug 22, 9:30 AM
Unknown Object (File)
Fri, Aug 21, 4:39 AM
Unknown Object (File)
Tue, Aug 18, 10:22 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.