Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759034AbXE3Vh3 (ORCPT ); Wed, 30 May 2007 17:37:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758304AbXE3Vgc (ORCPT ); Wed, 30 May 2007 17:36:32 -0400 Received: from gw.goop.org ([64.81.55.164]:50338 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758207AbXE3Vgb (ORCPT ); Wed, 30 May 2007 17:36:31 -0400 Message-ID: <465DEE59.9070901@goop.org> Date: Wed, 30 May 2007 14:36:25 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Linus Torvalds CC: Davide Libenzi , Ingo Molnar , Ulrich Drepper , Jeff Garzik , Zach Brown , Linux Kernel Mailing List , Arjan van de Ven , Christoph Hellwig , Andrew Morton , Alan Cox , Evgeniy Polyakov , "David S. Miller" , Suparna Bhattacharya , Jens Axboe , Thomas Gleixner Subject: Re: Syslets, Threadlets, generic AIO support, v6 References: <20070529212718.GH7875@mami.zabbo.net> <465CA654.5000505@garzik.org> <20070530072055.GA3077@elte.hu> <465D286E.2080807@redhat.com> <20070530084252.GA15708@elte.hu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 922 Lines: 20 Linus Torvalds wrote: > Which *could* be something as simple as saying "bit 30 in the file > descriptor specifies a separate fd space" along with some flags to make > open and friends return those separate fd's. That makes them useless for > "select()" (which assumes a flat address space, of course), but would be > useful for just about anything else. > Some programs - legitimately, I think - scan /proc/self/fd to close everything. The question is whether the glibc-private fds should appear there. And something like a "close-on-fork" flag might be useful, though I guess glibc can keep track of its own fds closely enough to not need something like that. J - 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/