Re: [PATCH] [Request for inclusion] Filesystem in Userspace
From: Al Viro
Date: Wed Nov 17 2004 - 13:58:53 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/