From mboxrd@z Thu Jan 1 00:00:00 1970 From: Evgeniy Polyakov Subject: Re: [take22 0/4] kevent: Generic event handling mechanism. Date: Fri, 3 Nov 2006 12:16:45 +0300 Message-ID: <20061103091645.GA935@2ka.mipt.ru> References: <20061101132506.GA6433@2ka.mipt.ru> <20061101160551.GA2598@elf.ucw.cz> <20061101162403.GA29783@2ka.mipt.ru> <20061101185745.GA12440@2ka.mipt.ru> <5c49b0ed0611011812w8813df3p830e44b6e87f09f4@mail.gmail.com> <4549A261.9010007@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Cc: Eric Dumazet , linux-kernel@vger.kernel.org, Oleg Verych , Pavel Machek , David Miller , Ulrich Drepper , Andrew Morton , netdev , Zach Brown , Christoph Hellwig , Chase Venters , Johann Borck , drangon.zhou@gmail.com Return-path: Received: from relay.2ka.mipt.ru ([194.85.82.65]:51919 "EHLO 2ka.mipt.ru") by vger.kernel.org with ESMTP id S1751067AbWKCJSg (ORCPT ); Fri, 3 Nov 2006 04:18:36 -0500 To: zhou drangon Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Fri, Nov 03, 2006 at 10:42:04AM +0800, zhou drangon (drangon.mail@gmail.com) wrote: > As for the VFS system, when we introduce the AIO machinism, we add aio_read, > aio_write, etc... to file ops, and then we make the read, write op to > call aio_read, > aio_write, so that we only remain one implement in kernel. > Can we do event machinism the same way? > when kevent is robust enough, can we implement epoll/select/io_submit etc... > base on kevent ?? > In this way, we can simplified the kernel, and epoll can gain > improvement from kevent. There is AIO implementaion on top of kevent, although it was confirmed that it has a good design, except minor API layering changes, it was postponed for a while. -- Evgeniy Polyakov