Date: Wed, 16 Mar 2005 07:35:06 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_hash.c vfs_mount.c src/sys/sys mount.h vnode.h Message-ID: <200503160735.j2G7Z6uW047188@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2005-03-16 07:35:06 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_hash.c vfs_mount.c
sys/sys mount.h vnode.h
Log:
Add mnt_hashseed to struct mount and initialize it witn PRNG bits, use
it to get better hashing in vfs_hash.
In case of an insert collision in vfs_hash_insert(), put the loosing vnode
on a special list so that vfs_hash_remove() can just assume that it is on
a list.
Drop the VI_HASHED flag.
Revision Changes Path
1.5 +17 -15 src/sys/kern/vfs_hash.c
1.182 +1 -0 src/sys/kern/vfs_mount.c
1.194 +1 -0 src/sys/sys/mount.h
1.292 +0 -1 src/sys/sys/vnode.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503160735.j2G7Z6uW047188>
