opnsense-src/sys
Brian Feldman af7cd0c521 Properly remove MAP_FUTUREWIRE when a vm_map_entry gets torn down.
Previously, mlockall(2) usage would leak MAP_FUTUREWIRE of the process's
vmspace::vm_map and subsequent processes would wire all of their memory.
Coupled with a wired-page leak in vm_fault_unwire(), this would run the
system out of free pages and cause programs to randomly SIGBUS when
faulting in new pages.

(Note that this is not the fix for the latter part; pages are still
 leaked when a wired area is unmapped in some cases.)

Reviewed by:	alc
PR		kern/62930
2004-05-07 00:17:07 +00:00
..
alpha When a denormal underflows to zero, raise an underflow exception. 2004-05-06 09:36:11 +00:00
amd64 Make unnecessary globals static and remove unused includes. 2004-05-06 02:18:58 +00:00
arm Don't declare osigset_t, as it is done in sys/_sigset.h. 2004-05-04 22:38:22 +00:00
boot Convert block comments into C-style that is understood by cpp(1). 2004-04-29 18:58:38 +00:00
cam Quirk for Neuros USB audio device. 2004-05-02 19:24:23 +00:00
coda Device megapatch 5/6: 2004-02-21 21:32:15 +00:00
compat Small timer cleanups: 2004-04-30 20:51:55 +00:00
conf Detach i386/isa/elcr.c. 2004-05-06 13:49:53 +00:00
contrib Add sys/types.h for both kernel and user compiles. 2004-05-05 20:02:02 +00:00
crypto Fix a reentrancy issue in md5_calc(). 2004-01-27 18:57:21 +00:00
ddb Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
dev Rename acpi_cpu to cpu. Change the probe routine to early on reject 2004-05-06 17:25:23 +00:00
fs Make vm_page's PG_ZERO flag immutable between the time of the page's 2004-05-06 05:03:23 +00:00
geom Close some small wakeup<->msleep races. 2004-05-05 12:30:41 +00:00
gnu Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
i4b Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
i386 Move the CPU newbus attachment to i386 legacy. The acpi_cpu device will 2004-05-06 15:54:02 +00:00
ia64 Make unnecessary globals static and remove unused includes. 2004-05-06 02:18:58 +00:00
isa - The i8254 uses IRQ 0, not IRQ 8. Correct i8254_intsrc to reference the 2004-04-27 20:03:26 +00:00
isofs/cd9660 Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
kern Move the CPU newbus attachment to i386 legacy. The acpi_cpu device will 2004-05-06 15:54:02 +00:00
libkern Fixed some style bugs (unsorting of prototypes in previous commit, and 2004-05-05 15:12:55 +00:00
modules Add support for Cronyx Tau-PCI adapters. 2004-05-05 16:14:00 +00:00
net Add route.h to pick up the rt_ifmsg() declaration. 2004-05-04 02:39:41 +00:00
net80211 Link state change notification of ethernet media to the routing socket. 2004-05-05 15:48:06 +00:00
netatalk Remove redundant call to soisdisconnected() from ddp_abort(), as it 2004-05-05 03:34:37 +00:00
netatm These are changes to allow to use the Intel C/C++ compiler (lang/icc) 2004-03-12 21:45:33 +00:00
netgraph Fix a memory leak in ng_get_string_token. A dynamically-allocated 2004-04-29 01:37:11 +00:00
netinet Provide the sysctl net.inet.ip.process_options to control the processing 2004-05-06 18:46:03 +00:00
netinet6 fix the change of interface in nd6_storelladdr for multicast 2004-04-26 20:31:46 +00:00
netipsec use correct address for SADB_EXT_ADDRESS_DST in key_do_allocsa_policy 2004-05-03 05:15:53 +00:00
netipx Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
netkey avoid duplicate free. 2004-01-25 17:18:12 +00:00
netnatm Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
netncp Make the process_exit eventhandler run without Giant. Add Giant hooks 2004-03-14 02:06:28 +00:00
netsmb Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
nfs Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs4client Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
nfsclient Make vm_page's PG_ZERO flag immutable between the time of the page's 2004-05-06 05:03:23 +00:00
nfsserver Don't send the available space as is in the FSSTAT call. Under 2004-04-12 13:02:21 +00:00
opencrypto kthread_exit() no longer requires Giant, so don't force callers to acquire 2004-03-05 22:42:17 +00:00
pc98 Mereged from sys/dev/sio/sio.c revision 1.429. 2004-05-06 13:16:45 +00:00
pccard Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pci Remove old cy driver files. They have been repo-copied to sys/dev/cy and 2004-05-02 05:38:49 +00:00
posix4 The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
powerpc Add option GEOM_GPT. This brings the ability to have a large number of 2004-05-02 20:40:19 +00:00
rpc Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
security If the mbuf pointer passed to mac_mbuf_to_label() is NULL, or the tag 2004-05-03 23:37:48 +00:00
sparc64 Fix bug introduced in revision 1.9; in nexus_probe_nomatch() get device name 2004-05-04 22:31:16 +00:00
sys Name the pri argument to cv_broadcastpri() to match the existing style of 2004-05-05 21:57:44 +00:00
tools Correct $FreeBSD$ style. 2004-04-16 05:22:11 +00:00
ufs Revert previous change to this file because it breaks some 2004-04-29 15:10:42 +00:00
vm Properly remove MAP_FUTUREWIRE when a vm_map_entry gets torn down. 2004-05-07 00:17:07 +00:00
Makefile Replaced outdated comment. 2004-01-17 03:28:27 +00:00