Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262487AbUKQS4G (ORCPT ); Wed, 17 Nov 2004 13:56:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262479AbUKQSxn (ORCPT ); Wed, 17 Nov 2004 13:53:43 -0500 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:26053 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S262491AbUKQSxH (ORCPT ); Wed, 17 Nov 2004 13:53:07 -0500 Date: Wed, 17 Nov 2004 18:53:05 +0000 From: Al Viro To: Nikita Danilov Cc: Jan Engelhardt , Miklos Szeredi , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] [Request for inclusion] Filesystem in Userspace Message-ID: <20041117185305.GF26051@parcelfarce.linux.theplanet.co.uk> References: <20041116120226.A27354@pauline.vellum.cz> <20041116163314.GA6264@kroah.com> <16795.33515.187015.492860@thebsh.namesys.com> <16795.35688.634029.21478@gargle.gargle.HOWL> <16795.37202.793499.93514@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16795.37202.793499.93514@gargle.gargle.HOWL> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 15 On Wed, Nov 17, 2004 at 08:58:42PM +0300, Nikita Danilov wrote: > "mount-table" (fs/namespace.c:mount_hashtable) is consulted only when > path-resolution crosses dentry marked as mount-point (has non-zero > ->d_mounted field), which is rare, and this means that number of > elements in mount_hashtable has little effect on the cost of path-name > resolution. Not to mention the fact that hash chains there are considerably shorter than those in dcache. I would be _very_ surprised if loop in lookup_mnt() would become a hotspot in profiles. - 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/