re: [patch] sys_epoll ...

From: Dan Kegel (dank@kegel.com)
Date: Mon Oct 21 2002 - 02:05:22 EST


Davide wrote:
>asmlinkage int sys_epoll_create(int maxfds);
>asmlinkage int sys_epoll_ctl(int epfd, int op, int fd, unsigned int events);
>asmlinkage int sys_epoll_wait(int epfd, struct pollfd **events, int timeout);

Hey Davide,
I've always been a bit bothered by the need to specify maxfds in
advance. What's the preferred way to handle the situation
where you guess wrong on the value of maxfds? Create a new
epoll and register all the old fds with it? (Sounds like
a good job for a userspace wrapper library.)

Regardless, thanks for pushing /dev/epoll along towards inclusion
in 2.5. I'm looking forward to seeing it it integrated.
Even if the interface doesn't please everyone, the performance
should...
- Dan

-
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 : Wed Oct 23 2002 - 22:00:52 EST