Re: svn commit: r353292 - in head/sys: contrib/ipfilter/netinet dev/firewire dev/iicbus dev/usb/net kern net netgraph netinet netinet6 netipsec netpfil/ipfw netpfil/pf ofed/drivers/infiniband/ulp/ipoi

2019-10-07 Thread Peter Holm
On Mon, Oct 07, 2019 at 10:40:06PM +, Gleb Smirnoff wrote: > Author: glebius > Date: Mon Oct 7 22:40:05 2019 > New Revision: 353292 > URL: https://svnweb.freebsd.org/changeset/base/353292 > > Log: > Widen NET_EPOCH coverage. > This seems to trigger this: Autoloading module: uhid.ko Aut

Re: svn commit: r353149 - head/sys/amd64/amd64

2019-10-07 Thread Cy Schubert
Still no joy. I still think drm-current-kmod is involved because these are produced just prior to the panic whereas the dmesg buffer is clean of them without r353149. Unread portion of the kernel message buffer: WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/local/sys/modules/drm-

svn commit: r353296 - head/sys/powerpc/include

2019-10-07 Thread Justin Hibbits
Author: jhibbits Date: Tue Oct 8 01:36:34 2019 New Revision: 353296 URL: https://svnweb.freebsd.org/changeset/base/353296 Log: powerpc: Implement atomic_(f)cmpset_ for short and char | This adds two implementations for each atomic_fcmpset_ and atomic_cmpset_ short and char functions, sele

svn commit: r353297 - head/stand/powerpc/ofw

2019-10-07 Thread Justin Hibbits
Author: jhibbits Date: Tue Oct 8 02:36:53 2019 New Revision: 353297 URL: https://svnweb.freebsd.org/changeset/base/353297 Log: loader/powerpc64: Include generic PVR values in CAS architecture list Add generic PVR values for PowerISA 2.07 and 3.00. This allows booting pseries in QEMU wi

svn commit: r353295 - head/sys/netinet6

2019-10-07 Thread Mark Johnston
Author: markj Date: Mon Oct 7 23:35:23 2019 New Revision: 353295 URL: https://svnweb.freebsd.org/changeset/base/353295 Log: Improve locking in the IPV6_V6ONLY socket option handler. Acquire the inp lock before checking whether the socket is already bound, and around updates to the inp_vf

svn commit: r353294 - head/sys/vm

2019-10-07 Thread Mark Johnston
Author: markj Date: Mon Oct 7 23:31:17 2019 New Revision: 353294 URL: https://svnweb.freebsd.org/changeset/base/353294 Log: Assert that the PGA_{WRITEABLE,EXECUTABLE} flags do not leak. Reviewed by: alc, kib MFC after:1 week Differential Revision:https://reviews.freebsd.or

svn commit: r353293 - head/sys/vm

2019-10-07 Thread Mateusz Guzik
Author: mjg Date: Mon Oct 7 23:19:09 2019 New Revision: 353293 URL: https://svnweb.freebsd.org/changeset/base/353293 Log: vm: stop trylocking page queues in vm_page_pqbatch_submit About 11 minutes of poudriere -s -j 104 and probing on return value of trylocks reveals that over 10% of att

svn commit: r353292 - in head/sys: contrib/ipfilter/netinet dev/firewire dev/iicbus dev/usb/net kern net netgraph netinet netinet6 netipsec netpfil/ipfw netpfil/pf ofed/drivers/infiniband/ulp/ipoib

2019-10-07 Thread Gleb Smirnoff
Author: glebius Date: Mon Oct 7 22:40:05 2019 New Revision: 353292 URL: https://svnweb.freebsd.org/changeset/base/353292 Log: Widen NET_EPOCH coverage. When epoch(9) was introduced to network stack, it was basically dropped in place of existing locking, which was mutexes and rwlocks. F

Re: svn commit: r353283 - in head: lib lib/libstats share/man/man3 share/mk sys/amd64/conf sys/conf sys/kern sys/sys tools/build/options

2019-10-07 Thread John Baldwin
On 10/7/19 12:05 PM, Edward Tomasz Napierala wrote: > Author: trasz > Date: Mon Oct 7 19:05:05 2019 > New Revision: 353283 > URL: https://svnweb.freebsd.org/changeset/base/353283 > > Log: > Introduce stats(3), a flexible statistics gathering API. > > This provides a framework to define a t

Re: svn commit: r337669 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/usr.bin/ztest sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/commo

2019-10-07 Thread Xin LI
+1. org.zfsonlinux:large_dnode is the only missing feature right now from the manual page (org.open-zfs:large_block was misspelled; we didn't enabled org.illumos:edonr). On Thu, Oct 18, 2018 at 12:12 PM Mark Felder wrote: > On Sat, Aug 11, 2018, at 19:45, Matt Macy wrote: > > Author: mmacy > >

svn commit: r353290 - in head: share/man/man4 sys/netinet

2019-10-07 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 7 20:35:04 2019 New Revision: 353290 URL: https://svnweb.freebsd.org/changeset/base/353290 Log: In r343587 a simple port filter as sysctl tunable was added to siftr. The new sysctl was not added to the siftr.4 man page at the time. This updates the man page, and

svn commit: r353289 - in head/tests/sys/cddl/zfs: include tests/redundancy

2019-10-07 Thread Alan Somers
Author: asomers Date: Mon Oct 7 20:21:23 2019 New Revision: 353289 URL: https://svnweb.freebsd.org/changeset/base/353289 Log: ZFS: fix the redundancy tests * Fix force_sync_path, which ensures that a file is fully flushed to disk. Apparently "zpool history"'s performance has improved,

svn commit: r353288 - head/tests/sys/cddl/zfs/tests/hotspare

2019-10-07 Thread Alan Somers
Author: asomers Date: Mon Oct 7 20:19:05 2019 New Revision: 353288 URL: https://svnweb.freebsd.org/changeset/base/353288 Log: ZFS: mark hotspare_scrub_002_pos as an expected failure "zpool scrub" doesn't detect all errors on active spares in raidz arrays PR: 241069 MFC aft

svn commit: r353287 - head/tests/sys/cddl/zfs/tests/delegate

2019-10-07 Thread Alan Somers
Author: asomers Date: Mon Oct 7 20:13:49 2019 New Revision: 353287 URL: https://svnweb.freebsd.org/changeset/base/353287 Log: ZFS: fix the delegate tests These tests have never worked correctly * Replace runwattr with sudo * Fix a scoping bug with the "dtst" variable * Cleanup use

svn commit: r353286 - head/tests/sys/cddl/zfs/tests/zfsd

2019-10-07 Thread Alan Somers
Author: asomers Date: Mon Oct 7 19:50:22 2019 New Revision: 353286 URL: https://svnweb.freebsd.org/changeset/base/353286 Log: zfs: skip the zfsd tests if zfsd is not running MFC after:2 weeks Sponsored by: Axcient Differential Revision:https://reviews.freebsd.org/D21878 Mo

svn commit: r353285 - head/tests/sys/cddl/zfs/tests/cli_root/zdb

2019-10-07 Thread Alan Somers
Author: asomers Date: Mon Oct 7 19:48:18 2019 New Revision: 353285 URL: https://svnweb.freebsd.org/changeset/base/353285 Log: zfs: fix the zdb_001_neg test The test needed to be updated for r331701 (MFV illumos 8671400), which added a "-k" option. MFC after:2 weeks Sponsored b

svn commit: r353284 - head/tests/sys/cddl/zfs/tests/cli_root/zpool_get

2019-10-07 Thread Alan Somers
Author: asomers Date: Mon Oct 7 19:24:50 2019 New Revision: 353284 URL: https://svnweb.freebsd.org/changeset/base/353284 Log: ZFS: fix the zpool_get_002_pos test ZFS has grown some additional properties that hadn't been added to the config file yet. While I'm here, improve the error mes

svn commit: r353283 - in head: lib lib/libstats share/man/man3 share/mk sys/amd64/conf sys/conf sys/kern sys/sys tools/build/options

2019-10-07 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Oct 7 19:05:05 2019 New Revision: 353283 URL: https://svnweb.freebsd.org/changeset/base/353283 Log: Introduce stats(3), a flexible statistics gathering API. This provides a framework to define a template describing a set of "variables of interest" and the intended

svn commit: r353282 - head/tests/sys/cddl/zfs/tests/slog

2019-10-07 Thread Alan Somers
Author: asomers Date: Mon Oct 7 18:55:40 2019 New Revision: 353282 URL: https://svnweb.freebsd.org/changeset/base/353282 Log: zfs: fix the slog_012_neg test This test attempts to corrupt a file-backed vdev by deleting it and then recreating it with truncate. But that doesn't work, becau

svn commit: r353281 - head/tests/sys/cddl/zfs/tests/zvol/zvol_misc

2019-10-07 Thread Alan Somers
Author: asomers Date: Mon Oct 7 18:21:33 2019 New Revision: 353281 URL: https://svnweb.freebsd.org/changeset/base/353281 Log: ZFS: fix several zvol_misc tests * Adapt zvol_misc_001_neg to use dumpon instead of Solaris's dumpadm * Disable zvol_misc_003_neg, zvol_misc_005_neg, and zvol_mis

Re: svn commit: r353149 - head/sys/amd64/amd64

2019-10-07 Thread Julian Elischer
On 10/6/19 3:13 PM, Mateusz Guzik wrote: Author: mjg Date: Sun Oct 6 22:13:35 2019 New Revision: 353149 URL: https://svnweb.freebsd.org/changeset/base/353149 Log: amd64 pmap: implement per-superpage locks I read the diff and it seems ok and I'm glad you can turn it off if there are

Re: svn commit: r353149 - head/sys/amd64/amd64

2019-10-07 Thread Mateusz Guzik
Does this fix it for you? https://people.freebsd.org/~mjg/pmap-fict.diff On 10/7/19, Mateusz Guzik wrote: > Ok, looks ilke it does not like the sparse array for fictitious > mappings. I'll see about a patch. > > On 10/7/19, Cy Schubert wrote: >> In message >> > om> >> , Mateusz Guzik writes: >>

Re: svn commit: r353149 - head/sys/amd64/amd64

2019-10-07 Thread Mateusz Guzik
Ok, looks ilke it does not like the sparse array for fictitious mappings. I'll see about a patch. On 10/7/19, Cy Schubert wrote: > In message > om> > , Mateusz Guzik writes: >> Can you show: >> >> sysctl vm.phys_segso > > vm.phys_segs: > SEGMENT 0: > > start: 0x1 > end: 0x9d000 > d

Re: svn commit: r353149 - head/sys/amd64/amd64

2019-10-07 Thread Cy Schubert
In message , Mateusz Guzik writes: > Can you show: > > sysctl vm.phys_segso vm.phys_segs: SEGMENT 0: start: 0x1 end: 0x9d000 domain:0 free list: 0x80f31070 SEGMENT 1: start: 0x10 end: 0x100 domain:0 free list: 0x80f31070 SEGMENT 2: sta

Re: svn commit: r353149 - head/sys/amd64/amd64

2019-10-07 Thread Mateusz Guzik
Can you show: sysctl vm.phys_segs and from the crashdump: p pv_table On 10/7/19, Cy Schubert wrote: > In message <201910070406.x9746n0u009...@slippy.cwsent.com>, Cy Schubert > writes: >> In message <201910062213.x96mdzv3085...@repo.freebsd.org>, Mateusz Guzik >> writes >> : >> > Author: mjg >>

svn commit: r353275 - head/sys/net

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 14:24:59 2019 New Revision: 353275 URL: https://svnweb.freebsd.org/changeset/base/353275 Log: Compile time assert a valid subsystem for all VNET init and uninit functions. Using VNET init and uninit functions outside the given range has undefined behaviour.

svn commit: r353274 - in head/sys: net sys

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 14:15:41 2019 New Revision: 353274 URL: https://svnweb.freebsd.org/changeset/base/353274 Log: Factor out VNET shutdown check into an own vnet structure field. Remove the now obsolete vnet_state field. This greatly simplifies the detection of VNET shutdown an

svn commit: r353273 - head/sys/dev/usb/controller

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 13:40:29 2019 New Revision: 353273 URL: https://svnweb.freebsd.org/changeset/base/353273 Log: Make control endpoint quirk for xhci(4) configurable. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/dev/usb/controller/xhci.c M

svn commit: r353270 - head/sys/cddl/contrib/opensolaris/common/atomic/i386

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 12:53:27 2019 New Revision: 353270 URL: https://svnweb.freebsd.org/changeset/base/353270 Log: fix up r353168, add atomic_swap_64 to i386 version of opensolaris_atomic.S The compatibility code for the atomic operations in ZFS code is a bit messy. In some cases

Re: svn commit: r353168 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-10-07 Thread Andriy Gapon
On 07/10/2019 13:37, Hans Petter Selasky wrote: > Hi, > > Is this yours for i386? > > You maybe need to include: > > /sys/i386/include/atomic.h:atomic_swap_64(volatile uint64_t *p, uint64_t v) Yes, it's me, but the fix is different. -- Andriy Gapon

Re: svn commit: r353168 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-10-07 Thread Hans Petter Selasky
On 2019-10-07 10:00, Andriy Gapon wrote: Author: avg Date: Mon Oct 7 08:00:54 2019 New Revision: 353168 URL: https://svnweb.freebsd.org/changeset/base/353168 Log: ZFS: unconditionally use atomic_swap_64 Previously, the code used a plain store on platforms that lacked atomic_swap_6

svn commit: r353176 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zstreamdump cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/...

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 08:14:45 2019 New Revision: 353176 URL: https://svnweb.freebsd.org/changeset/base/353176 Log: MFV r350898, r351075: 8423 8199 7432 Implement large_dnode pool feature 8423 8199 7432 Implement large_dnode pool feature 7432 Large dnode pool feature 8199 mult

svn commit: r353172 - head/sys/gnu/dts/arm

2019-10-07 Thread Emmanuel Vadot
Author: manu Date: Mon Oct 7 08:11:49 2019 New Revision: 353172 URL: https://svnweb.freebsd.org/changeset/base/353172 Log: arm: dts: ti: Fix mmc3 instance by setting it to disabled DTS Import of Linux 5.3 added a patch that rework the L3 mmc instance in the AM335x SoC but removed the sta

svn commit: r353168 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 08:00:54 2019 New Revision: 353168 URL: https://svnweb.freebsd.org/changeset/base/353168 Log: ZFS: unconditionally use atomic_swap_64 Previously, the code used a plain store on platforms that lacked atomic_swap_64 and possibly some other platforms as the condi

svn commit: r353167 - in head/sys/cddl/compat/opensolaris: kern sys

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 07:54:34 2019 New Revision: 353167 URL: https://svnweb.freebsd.org/changeset/base/353167 Log: ZFS: add emulation of atomic_swap_64 and atomic_load_64 Some 32-bit platforms do not provide 64-bit atomic operations that ZFS requires, either in userland or at all.

svn commit: r353166 - head/sys/mips/include

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 07:42:26 2019 New Revision: 353166 URL: https://svnweb.freebsd.org/changeset/base/353166 Log: add atomic_load_64 for mipsn32 It's just an alias for atomic_load_acq_64 (same as on i386). MFC after:1 week Modified: head/sys/mips/include/atomic.h Modif

svn commit: r353165 - head/sys/arm/include

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 07:37:42 2019 New Revision: 353165 URL: https://svnweb.freebsd.org/changeset/base/353165 Log: align use of cp15_pmccntr_get with its availability According to ian, the only armv6 cpu we support is the 1176, so this change is effectively a no-op. The change i