From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753760AbZEKOb7 (ORCPT ); Mon, 11 May 2009 10:31:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752605AbZEKObf (ORCPT ); Mon, 11 May 2009 10:31:35 -0400 Received: from casper.infradead.org ([85.118.1.10]:54919 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751445AbZEKObe (ORCPT ); Mon, 11 May 2009 10:31:34 -0400 Date: Mon, 11 May 2009 07:30:53 -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 patches Message-ID: <20090511073053.4628b28c@infradead.org> In-Reply-To: References: <20090509143742.GA27663@kroah.com> <20090510221901.30c1c5a5@lxorguk.ukuu.org.uk> <20090510170016.1e3a4d97@infradead.org> <20090511115504.568c9a92@lxorguk.ukuu.org.uk> <20090511141057.24a5f8ed@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 16:14:28 +0200 Kay Sievers wrote: > On Mon, May 11, 2009 at 15:10, Alan Cox > wrote: > >> And I did, and it's obvious that creating a single file along with > >> the ~10 we already create in /sys, instead of running through /sys > >> or /proc later and reconstruct what we missed, is always, and in > >> every case faster and simpler. It gets rid of a bunch of things we > >> need to > > > > Arjan's numbers for sysfs are 0.06 seconds if I remember the mail > > correctly. That doesn't account for any meaningful speedup. > > Sure it does. It is great, and it started a huge effort for many > people to think about the current way to do it. It is very welcome and > it counts a lot, and there is no doubt, that most of the gains we get > today are due to Arjans work in that area. > > But he does not use an initramfs, and distros insist to do that. And > that basically means you need to prepare /dev two times, and also prep eh why? this is the part I'm missing. Make /dev in the initramfs, then bind-mount-move it to its final location later. you ever only need to fill your tmpfs /dev once. initramfs or not.