Page MenuHomeFreeBSD

Implement eventfd system call.
AbandonedPublic

Authored by dchagin on Nov 3 2014, 8:35 AM.
Tags
None
Referenced Files
F107169167: D1094.diff
Sat, Jan 11, 4:34 AM
Unknown Object (File)
Tue, Jan 7, 8:16 AM
Unknown Object (File)
Wed, Dec 18, 4:09 AM
Unknown Object (File)
Wed, Dec 18, 3:23 AM
Unknown Object (File)
Dec 11 2024, 7:57 PM
Unknown Object (File)
Oct 25 2024, 8:19 AM
Unknown Object (File)
Oct 20 2024, 9:29 AM
Unknown Object (File)
Oct 4 2024, 7:10 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.