freebsd-skq/sys
Konstantin Belousov b9f180d1de When a vnode-backed vm object is referenced, it increments the vnode
reference count, and decrements it on dereference. If referenced object
is deallocated, object type is reset to OBJT_DEAD. Consequently, all
vnode references that are owned by object references are never released.
vunref() the vnode in vm object deallocation code for OBJT_VNODE
appropriate number of times to prevent leak.

Add an assertion to the vm_pageout() to make sure that we never get
reference on the vnode but then do not execute code to release it.

In collaboration with:	pho
Reviewed by:	alc
MFC after:	3 weeks
2010-01-17 21:26:14 +00:00
..
amd64 Handling all the three clocks (hardclock, softclock, profclock) with the 2010-01-15 16:04:30 +00:00
arm Do not free the dmamap if it is still busy. 2010-01-15 12:39:48 +00:00
boot Add gmountver, disk mount verification GEOM class. 2010-01-16 09:52:49 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam - Report SATA in legacy emulation mode still as SATA. 2010-01-10 09:20:56 +00:00
cddl Report ZFS filesystem version instead of the zpool version when we say it. 2010-01-11 23:15:11 +00:00
compat Whitespace change to be able to provide the correct commit log for r202364: 2010-01-15 15:38:31 +00:00
conf Unbreak the build for pc98. Specify the newly introduced, for ia32, 2010-01-16 12:24:12 +00:00
contrib Fix array overflow. 2010-01-08 19:56:37 +00:00
crypto
ddb Replace several instances of 'if (!a & b)' with 'if (!(a &b))' in order 2010-01-08 15:44:49 +00:00
dev Amazingly we've been freeing a handle and using that which it refers to 2010-01-15 20:08:08 +00:00
fs Bring in the ext2fs work done by Aditya Sarawgi during and after Google Summer 2010-01-14 14:30:54 +00:00
gdb
geom Expose stripe offset and stripe size through libgeom and geom(8) userland 2010-01-17 06:20:30 +00:00
gnu Bring in the ext2fs work done by Aditya Sarawgi during and after Google Summer 2010-01-14 14:30:54 +00:00
i386 Handling all the three clocks (hardclock, softclock, profclock) with the 2010-01-15 16:04:30 +00:00
ia64 Add ioctl requests to /dev/io on ia64 for reading and writing 2010-01-14 02:48:39 +00:00
isa Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
kern Add new function vunref(9) that decrements vnode use count (and hold 2010-01-17 21:24:27 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern Merge from head at r201628. 2010-01-06 05:58:07 +00:00
mips Place proper svn:keywords tag on all these files. They were created 2010-01-12 21:17:36 +00:00
modules Do not build netgraph kernel modules if WITHOUT_NETGRAPH is set in src.conf 2010-01-16 17:08:22 +00:00
net Correct a typo. 2010-01-10 12:03:53 +00:00
net80211 Fix bugs introduced in previous commit: off-by-one in add_meshconf() and 2010-01-14 19:23:41 +00:00
netatalk Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
netgraph Send link state change control messages to "orphans" hook as well. 2010-01-09 19:03:48 +00:00
netinet Get rid of a lot of duplicated code for NR-SACK handle. 2010-01-17 21:00:28 +00:00
netinet6 Garbage collect references to the no longer implemented tcp_fasttimo(). 2010-01-17 13:07:52 +00:00
netipsec Enable IPcomp by default. 2009-11-29 20:47:43 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Reduce recursions on curvnet and thus spamming the console with warning 2010-01-09 14:56:38 +00:00
nfsserver Some style(9) fixes in order to fabricate a commit to denote that 2010-01-09 15:59:15 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto Add comments trying to explain what bad things happen here, i.e. 2010-01-09 15:43:47 +00:00
pc98 Handling all the three clocks (hardclock, softclock, profclock) with the 2010-01-15 16:04:30 +00:00
pci Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
powerpc Add INCLUDE_CONFIG_FILE in GENERIC on all non-embedded platforms. 2010-01-10 17:44:22 +00:00
rpc Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic 2010-01-12 07:49:34 +00:00
security Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic 2010-01-12 07:49:34 +00:00
sparc64 When setting up MSIs with a filter ensure that the event queue interrupt 2010-01-10 18:39:29 +00:00
sun4v Add INCLUDE_CONFIG_FILE in GENERIC on all non-embedded platforms. 2010-01-10 17:44:22 +00:00
sys Add new function vunref(9) that decrements vnode use count (and hold 2010-01-17 21:24:27 +00:00
teken MFC @199204 2009-11-12 00:36:22 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs Cast 64-bit quantity to intptr_t rather than int so as to work properly 2010-01-11 22:42:06 +00:00
vm When a vnode-backed vm object is referenced, it increments the vnode 2010-01-17 21:26:14 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
Makefile