Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 1995 19:01:15 -0700
From:      David Greenman <davidg>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/kern kern_subr.c vfs_cache.c
Message-ID:  <199504040201.TAA27452@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504040201.TAA27452>