Messages in this thread | | | Date | Mon, 5 Feb 2007 22:36:19 +0100 | From | bert hubert <> | Subject | Re: [PATCH 2 of 4] Introduce i386 fibril scheduling |
| |
On Fri, Feb 02, 2007 at 03:37:09PM -0800, Davide Libenzi wrote:
> Since I still think that the many-thousands potential async operations > coming from network sockets are better handled with a classical event > machanism [1], and since smooth integration of new async syscall into the > standard POSIX infrastructure is IMO a huge win, I think we need to have a > "bridge" to allow async completions being detectable through a pollable > (by the mean of select/poll/epoll whatever) device.
> [1] Unless you really want to have thousands of kthreads/fibrils lingering > on the system.
From my end as an application developer, yes please. Either make it perfectly ok to have thousands of outstanding asynchronous system calls (I work with thousands of separate sockets), or allow me to select/poll/epoll on the "async fd".
Alternatively, something like SIGIO ('SIGASYS'?) might be considered, but, well, the fd might be easier.
In fact, perhaps the communication channel might simply *be* an fd. Queueing up syscalls sounds remarkably like sending datagrams.
Bert
-- http://www.PowerDNS.com Open source, database driven DNS Software http://netherlabs.nl Open and Closed source services - 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/
| |