From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757313AbZEKNF7 (ORCPT ); Mon, 11 May 2009 09:05:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755060AbZEKNFu (ORCPT ); Mon, 11 May 2009 09:05:50 -0400 Received: from casper.infradead.org ([85.118.1.10]:59596 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754479AbZEKNFt (ORCPT ); Mon, 11 May 2009 09:05:49 -0400 Date: Mon, 11 May 2009 06:05:28 -0700 From: Arjan van de Ven To: Kay Sievers Cc: Alan Cox , "Eric W. Biederman" , Peter Zijlstra , Greg KH , Andrew Morton , Fabio Comolli , Greg KH , linux-kernel@vger.kernel.org Subject: Re: [patch 00/13] devtmpfs Message-ID: <20090511060528.31e0f20c@infradead.org> In-Reply-To: References: <20090509143742.GA27663@kroah.com> <20090510152005.GA9461@suse.de> <1241980263.9562.380.camel@laptop> <20090510221901.30c1c5a5@lxorguk.ukuu.org.uk> <20090510170016.1e3a4d97@infradead.org> <20090511115504.568c9a92@lxorguk.ukuu.org.uk> Organization: Intel X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 May 2009 13:34:52 +0200 Kay Sievers wrote: > > > - That the other proposals are worse than yours. > > I also did, in exactly this thread. no you have not. But I'd like you to ;) You have not commented substantially on my counter proposal to make the single file with the "device list" (eg char/block, major, minor, name) so that userland can make the nodes in 0.01-or-less seconds, but with the permissions/owners it wants and the tmpfs mount options it wants. Again this makes for a more flexible solution (not flexible in "if you don't like it don't use it" sense but flexible in the "there's multiple uses and ways to use it" sense) while keeping the benefits of what you want to achieve. Eric has shown that making the nodes itself and mounting the tmpfs is basically free, but that the cost (0.05 seconds) was in groveling through sysfs. Fixing that.. I'm all for it. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org