News for hackers. Stuff that matters.
Re:Why not mmap? by kunley on Thursday May 19, 2011 @05:17AM (#2563361)
Referring to comments below the original article:

So when epoll doesn't cope with regular files as author expected, why not use better interface: kqueue?

Re:Why not mmap? by bnoordhuis on Thursday May 19, 2011 @08:27AM (#2563683)
linux doesn't have kqueue. But kqueue is only an API, you could emulate it with io_submit() and io_getevents().

A bigger obstacle is that not all file systems support asynchronous I/O, the io_*() syscalls won't help you there.