freebsd-nq/sys
Tim J. Robbins 549398753a MFp4: Fix two bugs causing possible deadlocks or panics, and one nit:
- Emulate lock draining (LK_DRAIN) in null_lock() to avoid deadlocks
  when the vnode is being recycled.
- Don't allow null_nodeget() to return a nullfs vnode from the wrong
  mount when multiple nullfs's are mounted. It's unclear why these checks
  were removed in null_subr.c 1.35, but they are definitely necessary.
  Without the checks, trying to unmount a nullfs mount will erroneously
  return EBUSY, and forcibly unmounting with -f will cause a panic.
- Bump LOG2_SIZEVNODE up to 8, since vnodes are >256 bytes now. The old
  value (7) didn't cause any problems, but made the hash algorithm
  suboptimal.

These changes fix nullfs enough that a parallel buildworld succeeds.

Submitted by:	tegge (partially; LK_DRAIN)
Tested by:	kris
2003-06-17 08:52:45 +00:00
..
alpha Don't set TDF_UPCALLING in cpu_set_upcall, it is not only used by 2003-06-15 00:54:07 +00:00
amd64 Rename P_THREADED to P_SA. P_SA means a process is using scheduler 2003-06-15 00:31:24 +00:00
arm sys/sys/limits.h: 2003-05-19 20:29:07 +00:00
boot When looking for the ':' separator in the root path, don't go past 2003-06-16 20:48:56 +00:00
cam Merge common XPT_CALC_GEOMETRY functions into a single convenience function. 2003-06-14 22:17:41 +00:00
coda Remove in toto coda_strategy which incorrectly implemented vop_panic(); 2003-06-15 18:45:15 +00:00
compat Rename P_THREADED to P_SA. P_SA means a process is using scheduler 2003-06-15 00:31:24 +00:00
conf Repo-copy of sys/pci/if_en_pci.c to the rest of the midway driver (sys/dev/en) 2003-06-16 15:25:51 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r115367, 2003-05-28 17:32:31 +00:00
crypto Use __FBSDID(). 2003-06-10 21:44:29 +00:00
ddb Rename P_THREADED to P_SA. P_SA means a process is using scheduler 2003-06-15 00:31:24 +00:00
dev Re-introduction of the matcd CD driver. 2003-06-17 01:20:03 +00:00
fs MFp4: Fix two bugs causing possible deadlocks or panics, and one nit: 2003-06-17 08:52:45 +00:00
geom Use __FBSDID(). 2003-06-11 06:49:16 +00:00
gnu Add the same KASSERT to all VOP_STRATEGY and VOP_SPECSTRATEGY implementations 2003-06-15 18:53:00 +00:00
i4b Use __FBSDID(). 2003-06-11 00:01:05 +00:00
i386 Rename P_THREADED to P_SA. P_SA means a process is using scheduler 2003-06-15 00:31:24 +00:00
ia64 Rename P_THREADED to P_SA. P_SA means a process is using scheduler 2003-06-15 00:31:24 +00:00
isa Force media autodetection if the device has lost its parameter table. 2003-06-16 08:42:20 +00:00
isofs/cd9660 Add the same KASSERT to all VOP_STRATEGY and VOP_SPECSTRATEGY implementations 2003-06-15 18:53:00 +00:00
kern - Add a new function "sched_interact_update()" that scales back the sleep 2003-06-17 06:39:51 +00:00
libkern Use __FBSDID(). 2003-06-11 05:37:42 +00:00
modules Repo-copy of sys/pci/if_en_pci.c to the rest of the midway driver (sys/dev/en) 2003-06-16 15:25:51 +00:00
net Fix the breakage introduced by rev. 1.43 of sys/dev/midway.c (don't commit 2003-06-16 13:52:27 +00:00
netatalk - Use if_broadcastaddr from struct ifnet rather than relying on 2003-03-21 17:53:16 +00:00
netatm Use __FBSDID(). 2003-06-11 07:22:30 +00:00
netgraph Use the <sys/bitstring.h> rather than <bitstring.h> 2003-06-13 19:40:44 +00:00
netinet Map icmp time exceeded responses to EHOSTUNREACH rather than 0 (no error); 2003-06-17 06:21:08 +00:00
netinet6 Do not attempt to access to inp_socket fields if the socket is in the TIME_WAIT 2003-06-17 00:31:30 +00:00
netipsec Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netipx Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netkey Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netnatm Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netncp Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netsmb Avoid dereferencing the thread pointer in smb_iod_addrq() if it's NULL. 2003-06-14 15:45:34 +00:00
nfs
nfsclient Lock the vm object when freeing a page. 2003-06-17 05:17:00 +00:00
nfsserver Use __FBSDID(). 2003-06-11 05:37:42 +00:00
opencrypto Use __FBSDID(). 2003-06-11 05:57:50 +00:00
pc98 Replace evil abuse of geteblk() with malloc(9). 2003-06-16 07:41:47 +00:00
pccard OLDCARD is OBSOLETE_IN_6. Tag it as such. 2003-06-12 04:46:43 +00:00
pci Repo-copy of sys/pci/if_en_pci.c to the rest of the midway driver (sys/dev/en) 2003-06-16 15:25:51 +00:00
posix4 Use __FBSDID(). 2003-06-11 06:34:30 +00:00
powerpc Migrate the thread stack management functions from the machine-dependent 2003-06-14 23:23:55 +00:00
rpc
security Use __FBSDID(). 2003-06-11 00:56:59 +00:00
sparc64 free type too if we can't add the child. 2003-06-16 19:18:06 +00:00
sys Get rid of the b_spc specialty field in struct buf by using an already 2003-06-16 07:18:39 +00:00
tools MFp4: 2003-03-28 06:43:50 +00:00
ufs Lock the vm object when freeing pages. 2003-06-15 21:50:38 +00:00
vm This file was ignored by CVS in my last commit for some reason: 2003-06-16 09:31:15 +00:00
Makefile Exclude sys/boot for amd64. There are still toolchain issues to deal 2003-05-08 06:35:39 +00:00