Re: [PATCH] [Request for inclusion] Filesystem in Userspace

Al Viro
2004-11-17T18:56:06Z

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.