cvs commit: src/sys/kern vfs_hash.c vfs_mount.c src/sys/sys
mount.h vnode.h
Poul-Henning Kamp
phk at FreeBSD.org
Tue Mar 15 23:35:07 PST 2005
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
More information about the cvs-src
mailing list