Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2003 13:06:15 +0300 (MSK)
From:      Igor Sysoev <is@rambler-co.ru>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        arch@FreeBSD.ORG
Subject:   Re: getsysfd() patch #1 (Re: Virtual memory question) 
Message-ID:  <Pine.BSF.4.21.0301151236260.31202-100000@is>
In-Reply-To: <200301150316.h0F3GIe8005442@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Jan 2003, Matthew Dillon wrote:

>     Communication between kernel and userland could use a VM Object like
>     this... consider kqueue and AIO operation that does not require copying
>     to and from userspace.  Instead you implement a message queue with a
>     shared VM object and tell the kernel to go.  This would allow a bunch of
>     I/O and/or kqueue requests to be collected together and then initiated
>     with a single system call, and events could be reported back on a
>     different VM Object.  
> 
>     (just brainstorming).

Last Linux kernels introduced epoll (small subset of kqueue with EV_CLEAR
flag):
http://www.xmailserver.org/linux-patches/nio-improve.html
It uses mmap()ed area to get event array.


Igor Sysoev
http://sysoev.ru/en/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0301151236260.31202-100000>