freebsd-src/sys
Bruce Evans d8d6519c63 Fixed the hash formula. Lite2 doesn't have phashinit(), so Lite2's hash
formula uses `& nchash'.  This is very broken when nchash is a prime
number instead of 1 less than a power of 2, but the Lite2 formula was
merged in.

Merged some cosmetic changes from Lite2, rev.1.21 and Lite1.  The merge
was difficult because the Lite2 code is essentially ours (phk's) except
where Lite2 improved or broke it.

Summary of the Lite2 changes:
- in the copyright, phk's rights have been transferred to the Regents.
  This change should be reviewed.
- nchENOENT went away; the "no" vnode is now simply 0.
- comments were improved.
- style was "improved".
- goto instead of Fanatism (sic) was considered bad :-).
- there are some small changes to support whiteouts.
- new cache entries are added in more cases.  More work is required
  near here to change the hash table size if kern.desiredvnodes is
  changed using sysctl.
- rescanning of the hash bucket in cache_purgevfs() was removed.  This
  change should be reviewed.
1997-03-08 15:22:14 +00:00
..
alpha Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
amd64 improve pcibus_check: Only assume PCI if at least one PCI to anything bridge 1997-03-05 20:52:00 +00:00
compat/linux Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
compile
conf Synchronize with sys/i386/conf/options.i386 revision 1.36. 1997-03-01 11:06:41 +00:00
ddb Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
dev make sure that the user supplied signals in struct vt_mode are actually 1997-03-01 23:53:46 +00:00
fs Don't export kernel interfaces to applications. msdosfs_mount probably 1997-03-03 17:36:11 +00:00
geom Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
gnu Removed unused flag IN_RECURSE and unused struct member i_lockcount. 1997-03-03 16:25:46 +00:00
i386 Made set_controller_command_byte() less verbose. It used to print a 1997-03-07 10:22:55 +00:00
isa Made set_controller_command_byte() less verbose. It used to print a 1997-03-07 10:22:55 +00:00
isofs/cd9660 Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
kern Fixed the hash formula. Lite2 doesn't have phashinit(), so Lite2's hash 1997-03-08 15:22:14 +00:00
libkern Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
miscfs Use Lite2's stub locking vops instead of nullop. 1997-02-24 17:08:49 +00:00
modules Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
msdosfs Don't export kernel interfaces to applications. msdosfs_mount probably 1997-03-03 17:36:11 +00:00
net add a bunch of comments to describe what's going on. 1997-03-05 08:01:28 +00:00
netatalk make the netatalk output routine matcy the prtotype used in the 1997-03-05 09:17:38 +00:00
netinet Improved performance of hash algorithm while (hopefully) not reducing 1997-03-03 09:23:37 +00:00
netipx Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
netkey This is the `netkey' kernel key-management service (the PF_KEY analogue 1996-06-14 17:22:18 +00:00
netns Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
nfs Fixed a panic in nfs_writevp(). Lite2 provided a fix for a silly 1997-02-28 17:56:27 +00:00
nfsclient Fixed a panic in nfs_writevp(). Lite2 provided a fix for a silly 1997-02-28 17:56:27 +00:00
nfsserver Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
pc98 Added missing i8251 code. 1997-03-06 15:07:04 +00:00
pccard Argh, this time get the parentheses right. This hasn't been a good day for me. 1997-02-21 05:46:57 +00:00
pci Make it clearer how the termination settings from the PCI probe are used by 1997-02-25 03:06:19 +00:00
powerpc/include Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rpc Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
scsi Merge Jason Thorpe's updated changer stuff into the actual system. 1997-03-06 15:36:45 +00:00
sys Merge Jason Thorpe's updated changer stuff into the actual system. 1997-03-06 15:36:45 +00:00
tools Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ufs Supply the mount point given to mfs_mount when getting a vnode for the 1997-03-05 01:57:54 +00:00
vm When removing IN_RECURSE support during the Lite/2 merge, read/write 1997-03-08 04:33:47 +00:00
Makefile Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00