Subject: CVS commit: syssrc/sys/nfs
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 12/06/2001 03:26:37
Module Name:	syssrc
Committed By:	lukem
Date:		Thu Dec  6 01:26:36 UTC 2001

Modified Files:
	syssrc/sys/nfs: nfs_node.c

Log Message:
Replace nfs_hash() (with its extremely bad hash) with a macro to call
hash32_buf() to obtain a 32 bit hash.  On some tests I ran I obtained
a 30x improvement in hash distribution and a 6x reduction in time spent
in nfs_nget().


To generate a diff of this commit:
cvs rdiff -r1.47 -r1.48 syssrc/sys/nfs/nfs_node.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.