opnsense-src/sys
Kenneth D. Merry 2077f85a63 Free UMA zones when a pass(4) instance goes away.
If the UMA zones are not freed, we get warnings about re-using the
sysctl variables associated with the UMA zones, and we're leaking
the other memory associated with the zone structures.  e.g.:

sysctl_warn_reuse: can't re-use a leaf (vm.uma.pass44.size)!
sysctl_warn_reuse: can't re-use a leaf (vm.uma.pass44.flags)!
sysctl_warn_reuse: can't re-use a leaf (vm.uma.pass44.bucket_size)!
sysctl_warn_reuse: can't re-use a leaf (vm.uma.pass44.bucket_size_max)!
sysctl_warn_reuse: can't re-use a leaf (vm.uma.pass44.keg.name)!
sysctl_warn_reuse: can't re-use a leaf (vm.uma.pass44.keg.rsize)!
sysctl_warn_reuse: can't re-use a leaf (vm.uma.pass44.keg.ppera)!
sysctl_warn_reuse: can't re-use a leaf (vm.uma.pass44.keg.ipers)!

Also, correctly clear the PASS_FLAG_ZONE_INPROG flag in
passcreatezone().  The way it was previously done, it would have
had set the flag and cleared all other flags that were set at
that point.

Sponsored by:	Spectra Logic

(cherry picked from commit ca2a7262df)
2022-01-20 14:55:04 -05:00
..
amd64 amd64 pmap: preset A and M bits for pmap_qenter() and pmap_kenter() mappings 2022-01-14 20:11:02 +02:00
arm mvebu_gpio: Fix settings of gpio pin direction. 2022-01-20 11:22:30 +01:00
arm64 tegra210: Implement new get_gate method for tegra210 clocks. 2022-01-20 11:14:53 +01:00
bsm
cam Free UMA zones when a pass(4) instance goes away. 2022-01-20 14:55:04 -05:00
cddl Allow ddb and dtrace use the DMAP region on arm64 2022-01-04 10:49:51 +00:00
compat LinuxKPI: 802.11 correct enum ieee80211_channel_flags 2022-01-20 14:05:37 +00:00
conf riscv: gdb(4) support 2022-01-19 14:30:31 -04:00
contrib ipfilter: Fixup comment 2022-01-19 06:19:24 -08:00
crypto Add assembly optimized code for OpenSSL on powerpc, powerpc64 and powerpc64le 2021-12-29 14:45:29 +01:00
ddb ddb: reliably fail with ambiguous commands 2021-07-02 14:13:24 -07:00
dev pci_dw_mv: Don't enable unhandled interrupts. 2022-01-20 11:35:51 +01:00
dts add rk3328 overlay for enabling analog sound 2021-11-21 12:04:42 +02:00
fs fusefs: implement VOP_ALLOCATE 2022-01-17 18:13:28 -07:00
gdb
geom geom label msdosfs: sanity check BPB before using it for io request 2022-01-14 20:11:01 +02:00
gnu
i386 Make CPU_SET macros compliant with other implementations 2022-01-14 18:17:30 +02:00
isa
kern intrng: remove now redundant shadow variable. 2022-01-20 11:08:45 +01:00
kgssapi
libkern Switch to an ifunc in the kernel for crc32c 2021-08-30 12:22:21 +01:00
mips mips: Implement suword16 2022-01-07 14:30:18 +01:00
modules iwlwifi: import correct firmware versions for select Intel iwlwifi/mvm 2022-01-09 02:37:01 +00:00
net Make CPU_SET macros compliant with other implementations 2022-01-14 18:17:30 +02:00
net80211 net80211: ieee80211_dump_node() cosmetics 2022-01-20 14:06:15 +00:00
netgraph Add ETHER_ALIGN support to ng_device(4). 2022-01-14 14:28:43 +01:00
netinet tcptw: count how many times a tcptw was actually useful 2022-01-13 13:19:40 -08:00
netinet6 netinet6: Fix a typo in a sysctl description 2021-12-03 16:53:41 +01:00
netipsec ipsec: fix a logic error in key_do_getnewspi 2021-12-19 14:44:52 +00:00
netpfil pfsync: fix incorrect enabling of defer mode 2021-12-13 14:49:27 +01:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-06-02 09:34:47 -04:00
nfs nfs: don't truncate directory cookies to 32-bits in the NFS server 2022-01-02 20:09:15 -07:00
nfsclient
nfsserver
nlm
ofed socket: Rename sb(un)lock() and interlock with listen(2) 2021-10-07 09:56:47 -04:00
opencrypto ktls: Split encrypt vs decrypt OCF counters. 2021-11-23 15:11:54 -08:00
powerpc Make CPU_SET macros compliant with other implementations 2022-01-14 18:17:30 +02:00
riscv riscv: gdb(4) support 2022-01-19 14:30:31 -04:00
rpc rpc: Delete AUTH_NEEDS_TLS(_MUTUAL_HOST) auth_stat values 2021-12-29 17:23:30 -08:00
security Thread creation privilege for realtime group 2021-12-19 04:42:52 +02:00
sys Add vfs_remount_ro() 2022-01-14 20:11:02 +02:00
teken
tests routing: add IPv6 fib validation procedure. 2021-09-07 21:02:58 +00:00
tools booti: Enable loading the kernel image to any address aligned to 2 MB 2022-01-20 11:10:21 +01:00
ufs When doing a read-only mount of a UFS filesystem using gjournal(8), 2022-01-18 15:13:42 -08:00
vm swap_pager: uma_zcreate() doesn't fail 2022-01-18 08:36:13 -05:00
x86 Fix variable name: freq_khz -> freq 2022-01-15 21:33:48 -08:00
xdr
xen
Makefile