Re: [PATCH] /dev/epoll update ...

Davide Libenzi (davidel@xmailserver.org)
Thu, 20 Sep 2001 12:58:58 -0700 (PDT)


On 20-Sep-2001 Benjamin LaHaise wrote:
> On Thu, Sep 20, 2001 at 11:25:13AM -0700, Davide Libenzi wrote:
>> 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.

Obviously if you hook down at lower kernel levels you can better optimize the event
notification but my design guide for the patch was to be the less intrusive
as possible.
If you look at the patch, it has a very limited changes inside linux core files
and this will make it usable/merged even if it won't be included inside the
mainstream code.

- Davide

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/