opnsense-src/sys
Poul-Henning Kamp a051452ae2 Change the 0xdeadb hack to a flag called VDOOMED.
Introduce VFREE which indicates that vnode is on freelist.
Rename vholdrele() to vdrop().
Create vfree() and vbusy() to add/delete vnode from freelist.
Add vfree()/vbusy() to keep (v_holdcnt != 0 || v_usecount != 0)
  vnodes off the freelist.
Generalize vhold()/v_holdcnt to mean "do not recycle".
Fix reassignbuf()s lack of use of vhold().
Use vhold() instead of checking v_cache_src list.
Remove vtouch(), the vnodes are always vget'ed soon enough
  after for it to have any measuable effect.
Add sysctl debug.freevnodes to keep track of things.
Move cache_purge() up in getnewvnodes to avoid race.
Decrement v_usecount after VOP_INACTIVE(), put a vhold() on
  it during VOP_INACTIVE()
Unmacroize vhold()/vdrop()
Print out VDOOMED and VFREE flags (XXX: should use %b)

Reviewed by:		dyson
1997-08-31 07:32:39 +00:00
..
alpha Fixed misplaced declaration. 1997-08-25 23:41:39 +00:00
amd64 Debug version of simple_lock. This will store the CPU id of the 1997-08-31 03:17:48 +00:00
compat Moved include files which are independent of bs driver. 1997-08-28 09:23:57 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Synchronize with sys/i386/conf/files.i386 and sys/i386/i386/trap.c 1997-08-29 08:15:57 +00:00
ddb Minor hack to also allow for syscons's "interesting" arrow keys. 1997-08-17 21:21:50 +00:00
dev Created a private simple_lock to control accesses to com data structs 1997-08-31 03:17:18 +00:00
fs Include "opt_ddb.h" only when NULLFS_DIAGNOSTIC is defined. 1997-08-28 00:44:43 +00:00
geom Removed unused #includes. 1997-06-14 13:56:12 +00:00
gnu Uncut&paste cache_lookup(). 1997-08-26 07:32:51 +00:00
i386 Remove pbzero(), things we load zero their own bss. 1997-08-31 06:11:26 +00:00
isa Created a private simple_lock to control accesses to com data structs 1997-08-31 03:17:18 +00:00
isofs/cd9660 Uncut&paste cache_lookup(). 1997-08-26 07:32:51 +00:00
kern Change the 0xdeadb hack to a flag called VDOOMED. 1997-08-31 07:32:39 +00:00
libkern Removed unused #includes. 1997-08-02 14:33:27 +00:00
miscfs Include "opt_ddb.h" only when NULLFS_DIAGNOSTIC is defined. 1997-08-28 00:44:43 +00:00
modules Remove the vm86 LKM. 1997-08-28 14:45:26 +00:00
msdosfs Uncut&paste cache_lookup(). 1997-08-26 07:32:51 +00:00
net Add a per-interface-address pointer to a function that can be supplied 1997-08-28 01:17:12 +00:00
netatalk Add a per-interface-address pointer to a function that can be supplied 1997-08-28 01:17:12 +00:00
netinet ICMP Timestamp Request messages could have harbored the same sort of 1997-08-25 16:29:27 +00:00
netipx Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
netkey This is the `netkey' kernel key-management service (the PF_KEY analogue 1996-06-14 17:22:18 +00:00
netnatm Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
netns Remove unneeded member nsp_head from struct nspcb. 1997-04-14 18:26:51 +00:00
nfs Uncut&paste cache_lookup(). 1997-08-26 07:32:51 +00:00
nfsclient Uncut&paste cache_lookup(). 1997-08-26 07:32:51 +00:00
nfsserver Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
pc98 Synchronize with sys/i386/isa/clock.c and sio.c revisions 1.101 and 1997-08-30 15:47:49 +00:00
pccard Oops, unremoved used #include. 1997-07-21 16:55:28 +00:00
pci Scsi RESERVATION CONFLICT and BUSY support for Tekram scsi cards. 1997-08-30 05:49:20 +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 Resolve conflicts. 1997-05-28 04:45:15 +00:00
scsi Increase the retry timeouts. 1997-08-23 21:05:32 +00:00
sys Change the 0xdeadb hack to a flag called VDOOMED. 1997-08-31 07:32:39 +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 Change the 0xdeadb hack to a flag called VDOOMED. 1997-08-31 07:32:39 +00:00
vm Change the 0xdeadb hack to a flag called VDOOMED. 1997-08-31 07:32:39 +00:00
Makefile Commit a long-forgotten tweak for building tags in /usr/src/sys. 1997-07-13 07:36:20 +00:00