Re: [Lse-tech] Re: and nicer too - Re: [PATCH] epoll more scalable than poll

From: Hanna Linder (hannal@us.ibm.com)
Date: Mon Oct 28 2002 - 20:08:44 EST


--On Monday, October 28, 2002 17:13:53 -0800 Davide Libenzi <davidel@xmailserver.org> wrote:

> On Tue, 29 Oct 2002, bert hubert wrote:
>
>> Ok, so that is two things that need to be in the manpage and probably in
>> bold:
>>
>> 1) epoll only works on pipes and sockets
>> (not on tty, not on files)
>>
>> 2) epoll must be used on non-blocking sockets only
>> (and describe the race that happens otherwise)
>>
>> If you send me the source of your manpages I'll work it in if you want.
>
> No problem ...
>

        If you need any help with the Man pages I will be glad to
help too. It looks like providing examples of how to use it would be
very useful since this is something application writers are supposed
to use...

> events after you received EAGAIN or after accept/connect". And the fact on
> using the fd immediately after an accept/connect is enforced by two very
> likely facts :
>
> 1) on accept() it's very likely that the first packet brough you something
> more than SYN
>
> 2) on connect() you have the full I/O write space available

        Do you think these should be mentioned explicitly?

Thanks a lot.

Hanna

-
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/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:40 EST