From owner-freebsd-commit Mon Apr 3 19:01:36 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA27478 for commit-outgoing; Mon, 3 Apr 1995 19:01:36 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA27464 for cvs-sys-outgoing; Mon, 3 Apr 1995 19:01:31 -0700 Received: (from root@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA27452; Mon, 3 Apr 1995 19:01:15 -0700 Date: Mon, 3 Apr 1995 19:01:15 -0700 From: David Greenman Message-Id: <199504040201.TAA27452@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_subr.c vfs_cache.c Sender: commit-owner@FreeBSD.org Precedence: bulk davidg 95/04/03 19:01:14 Modified: sys/kern kern_subr.c vfs_cache.c Log: kern_subr.c: Added a new type to uiomove - "UIO_NOCOPY" which causes it to update pointers and counts, but doesn't do any data copying. This is needed for upcoming changes to the way that the vnode pager does its page outs. Added a new hash init function call "phashinit" that allocates and initializes a prime number sized hash table. vfs_cache.c: Changed hashing algorithm to use the remainder of dividing by a prime number to improve the distribution characteristcs. Uses new phashinit function in kern_subr.c.