Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 16 Oct 2002 16:37:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 16 Oct 2002 16:37:26 -0400 Received: from cse.ogi.edu ([129.95.20.2]:22523 "EHLO church.cse.ogi.edu") by vger.kernel.org with ESMTP id ; Wed, 16 Oct 2002 16:37:24 -0400 To: John Gardiner Myers Cc: Davide Libenzi , Benjamin LaHaise , Dan Kegel , Shailabh Nagar , linux-kernel , linux-aio , Andrew Morton , David Miller , Linus Torvalds , Stephen Tweedie Subject: Re: [PATCH] async poll for 2.5 References: <3DACA5E4.7090509@netscape.com> <3DADB020.4060506@netscape.com> From: "Charles 'Buck' Krasic" Date: 16 Oct 2002 13:39:28 -0700 In-Reply-To: <3DADB020.4060506@netscape.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1457 Lines: 37 John Gardiner Myers writes: > Charles 'Buck' Krasic wrote: > > In other words, you don't deny the problem. Instead, you work around > it in user space. Not exactly. I'm saying that the context in which /dev/epoll is used (at least originally), is non-blocking socket IO. Anybody who has worked with that API can tell you there are subtleties, and that if they're ignored, will certainly lead to pitfalls. These are not the fault of the /dev/epoll interface. > Better to fix the API. > The kernel has more information than user space and can do a better > job. I think we're talking across purposes. I know this is the AIO list, but I think epoll has value independent of AIO. They're complementary, not mutually exclusive. > In the kernel, the problem can be fixed once and for all, not > over and over again in each different wrapper library. It's not even > as if the change would break programs correctly written to the old > API, not that we particularly care about programs written to the old > API. I agree if you are talking about AIO as a whole. But epoll is more limited in its scope, it really relates only to poll()/select not the whole IO api. -- Buck - 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/