freebsd-skq/sys
avg 85dfaa3882 MFV r323531: 8521 nvlist memory leak in get_clones_stat() and spa_load_best()
illumos/illumos-gate@7d3000f774
7d3000f774

https://www.illumos.org/issues/8521
  Yuri reported this to the mailing list:
  doing a `reboot -d` on current illumos-gate HEAD gives the following "::
  findleaks -dv" output:
  findleaks: maximum buffers => 301061
  findleaks: actual buffers => 297587
  findleaks:
  findleaks: potential pointers => 29289774
  findleaks: dismissals => 26242305 (89.5%)
  findleaks: misses => 331153 ( 1.1%)
  findleaks: dups => 2419681 ( 8.2%)
  findleaks: follows => 296635 ( 1.0%)
  findleaks:
  findleaks: peak memory usage => 7353 kB
  findleaks: elapsed CPU time => 1.5 seconds
  findleaks: elapsed wall time => 2.0 seconds
  findleaks:
  CACHE LEAKED BUFCTL CALLER
  ffffff03d222b008 120 ffffff03ef7ceb78 nv_alloc_sys+0x1f
  ffffff03d222a448 123 ffffff03f4150cc8 nv_alloc_sys+0x1f
  ffffff03d222b448 5 ffffff03f28bd598 nv_alloc_sys+0x1f
  ffffff03d222b888 87 ffffff03f28c10f0 nv_alloc_sys+0x1f
  ffffff03d222c008 21 ffffff03f4139310 nv_alloc_sys+0x1f
  ffffff03d222b888 43 ffffff040ef3f3e8 nv_alloc_sys+0x1f
  ffffff03d222c008 120 ffffff03f4591e58 nv_alloc_sys+0x1f
  ffffff03d222b008 121 ffffff03f352c068 nv_alloc_sys+0x1f
  ffffff03d222a448 112 ffffff03f414e5f8 nv_alloc_sys+0x1f
  ffffff03d222b008 119 ffffff03ee92fdc0 nv_alloc_sys+0x1f
  ffffff03d222b888 46 ffffff03f28c1378 nv_alloc_sys+0x1f
  ffffff03d222b448 4 ffffff03f28c7708 nv_alloc_sys+0x1f
  ffffff03d222c008 20 ffffff03f2a6e7e8 nv_alloc_sys+0x1f

Reviewed by: Steve Gonczi <steve.gonczi@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author: Pavel Zakharov <pavel.zakharov@delphix.com>

MFC after:	5 weeks
X-MFC after:	r324163
2017-10-01 16:41:05 +00:00
..
amd64
arm Disable/enable CSUM_UDP and CSUM_TCP along with CSUM_IP 2017-09-30 10:35:44 +00:00
arm64
boot Compile loader as Little-Endian on PPC64/POWER8 2017-09-29 06:36:19 +00:00
bsm
cam Add sysctl/tunable for maximal request time. 2017-09-30 13:17:31 +00:00
cddl MFV r323531: 8521 nvlist memory leak in get_clones_stat() and spa_load_best() 2017-10-01 16:41:05 +00:00
compat
conf fix up r324163, MFV of r323530,r323533,r323534, 7431 ZFS Channel Programs 2017-10-01 16:25:14 +00:00
contrib Revert r324109. This commit broke a number of systems. 2017-09-30 20:28:50 +00:00
crypto aesni(4): Fix GCC build 2017-09-29 19:56:09 +00:00
ddb
dev Improve the debug parsing to allow flags to be added and subtracted 2017-10-01 15:35:21 +00:00
fs tmpfs: skip zero-sized page count updates 2017-09-30 18:23:45 +00:00
gdb
geom
gnu
i386 A different fix for the issue from r323722. 2017-09-28 09:01:28 +00:00
isa
kern revert r324166, it has an unrelated change in it 2017-10-01 16:37:54 +00:00
kgssapi
libkern
mips bhnd: Add support for supplying bus I/O callbacks when initializing an EROM 2017-09-27 19:48:34 +00:00
modules MFV r323530,r323533,r323534: 7431 ZFS Channel Programs, and followups 2017-10-01 16:11:07 +00:00
net
net80211
netgraph Correction after r323873: #include <sys/lock.h> in addition to <sys/rmlock.h> 2017-09-28 11:26:37 +00:00
netinet Some mbuf related fixes in icmp_error() 2017-09-29 06:24:45 +00:00
netinet6
netipsec
netpfil
netsmb netsmb: Fix buggy/racy smb_strdupin() 2017-09-29 15:53:26 +00:00
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc
riscv
rpc
security
sparc64
sys revert r324166, it has an unrelated change in it 2017-10-01 16:37:54 +00:00
teken
tests
tools
ufs
vm Optimize vm_object_page_remove() by eliminating pointless calls to 2017-09-28 17:55:41 +00:00
x86
xdr
xen
Makefile