Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262520AbTESPFx (ORCPT ); Mon, 19 May 2003 11:05:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262523AbTESPFx (ORCPT ); Mon, 19 May 2003 11:05:53 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:59909 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id S262520AbTESPFw (ORCPT ); Mon, 19 May 2003 11:05:52 -0400 Date: Mon, 19 May 2003 08:18:19 -0700 (PDT) From: Linus Torvalds To: Ingo Molnar cc: Christoph Hellwig , , Rusty Russell , Ulrich Drepper Subject: Re: [patch] futex API cleanups, futex-api-cleanup-2.5.69-A2 In-Reply-To: Message-ID: 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: 1240 Lines: 31 On Mon, 19 May 2003, Ingo Molnar wrote: > > - start the phasing out of FUTEX_FD. This i believe is quite unclean and > unrobust, because it attaches a new concept (futexes) to a very old > (polling) concept. We want futex support in kernel-AIO, not in the > polling APIs. AFAIK only NGPT uses FUTEX_FD. This sounds like a bad idea. Expecting "select()" and "poll()" to go away, and calling them "unclean and unrobust" is just silly and stupid. There are a hell of a lot more programs using select-loops out there than there are AIO versions, and I'd argue that AIO is likely to be the much more "unrobust" solution, and probably doesn't even scale any better than using epoll. In fact, it's hard to see any real advantages of aio over a sane polling loop, as long as the polling doesn't have some O(n) overhead (in other words, as long as you use epoll). So stop pushing your own agenda and broken morals down other peoples throats, and re-do this patch properly. Linus - 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/