Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 23 Oct 2002 13:32:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 23 Oct 2002 13:32:51 -0400 Received: from to-velocet.redhat.com ([216.138.202.10]:41464 "EHLO touchme.toronto.redhat.com") by vger.kernel.org with ESMTP id ; Wed, 23 Oct 2002 13:32:50 -0400 Date: Wed, 23 Oct 2002 13:39:00 -0400 From: Benjamin LaHaise To: Dan Kegel Cc: Davide Libenzi , "Charles 'Buck' Krasic" , Mark Mielke , linux-kernel , linux-aio Subject: Re: epoll (was Re: [PATCH] async poll for 2.5) Message-ID: <20021023133900.B27433@redhat.com> References: <3DB6D332.9000709@kegel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DB6D332.9000709@kegel.com>; from dank@kegel.com on Wed, Oct 23, 2002 at 09:49:54AM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1153 Lines: 25 On Wed, Oct 23, 2002 at 09:49:54AM -0700, Dan Kegel wrote: > Furthermore, epoll is nice because it delivers one-shot readiness change > notification (I used to think that was a drawback, but coding > nonblocking OpenSSL apps has convinced me otherwise). > I may be confused, but I suspect the async poll being proposed by > Ben only delivers absolute readiness, not changes in readiness. > > I think epoll is worth having, even if Ben's AIO already handled > networking properly. That depends on how it compares to async read/write, which hasn't been looked into yet. The way the pipe code worked involved walking the page tables, which is still quite expensive for small data sizes. With the new code, the CPU's tlb will be used, which will make a big difference, especially for the case where only a single address space is in use on the system. -ben -- "Do you seek knowledge in time travel?" - 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/