[lkml]   [2001]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] /dev/epoll update ...
On Thu, Sep 20, 2001 at 11:25:13AM -0700, Davide Libenzi wrote:
> The advantage /dev/epoll has compared to aio_* and RTsig is
> 1) multiple event delivery/system call

This is actually covered in my aio plan, and just needs the kernel
provided syscall function library support to read from shared memory.
The ABI I'm using is based on aio_*, but is different. There are a
few emails I've written on the subject recently that I can forward to
you, but the basic API is: io_submit queues aio requests which later
write a 32 byte completion entry containing the object, user data and
result codes to a ringbuffer.

> 2) less user<->kernel memory moves
> The concept is very similar anyway coz you basically have to initiate the
> io-call and wait for an event.
> The difference is how events are collected.

See the above. =) aio also works much better as the io request helps
define the duration for memory pinning of any O_DIRECT or similar
operations that allow the hardware to act on user provided buffers.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.063 / U:1.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site