Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262456AbUKQSHr (ORCPT ); Wed, 17 Nov 2004 13:07:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262399AbUKQSFb (ORCPT ); Wed, 17 Nov 2004 13:05:31 -0500 Received: from [213.85.13.118] ([213.85.13.118]:4483 "EHLO tau.rusteko.ru") by vger.kernel.org with ESMTP id S262434AbUKQR7G (ORCPT ); Wed, 17 Nov 2004 12:59:06 -0500 From: Nikita Danilov MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16795.37202.793499.93514@gargle.gargle.HOWL> Date: Wed, 17 Nov 2004 20:58:42 +0300 To: Jan Engelhardt Cc: Miklos Szeredi , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] [Request for inclusion] Filesystem in Userspace In-Reply-To: References: <84144f0204111602136a9bbded@mail.gmail.com> <20041116120226.A27354@pauline.vellum.cz> <20041116163314.GA6264@kroah.com> <16795.33515.187015.492860@thebsh.namesys.com> <16795.35688.634029.21478@gargle.gargle.HOWL> X-Mailer: VM 7.17 under 21.5 (patch 17) "chayote" (+CVS-20040321) XEmacs Lucid Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 26 Jan Engelhardt writes: > > > >mount -tfoo_ctrlfs -o host=/mnt/point /mnt/control-point > > > > > > Looks to me like a pollution of the mount table if you do this on a lot of > > > filesystems. > > > >If you have a lot of file-systems your mount table is already polluted. > > That does not justify to pollute with *_ctlfs it > to double the size it already is. "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. Unless, of course, by "polluted" you mean that output of "cat /proc/self/mounts" becomes longer. Nikita. - 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/