Re: svn commit: r336953 - in stable: 10/usr.bin/mail 11/usr.bin/mail

2018-07-30 Thread Eitan Adler
On Mon, 30 Jul 2018 at 17:37, Mark Johnston wrote: > > Author: markj > Date: Tue Jul 31 00:37:25 2018 > New Revision: 336953 > URL: https://svnweb.freebsd.org/changeset/base/336953 > > Log: > Revert r335693, r335694, r335695 by eadler. > > They cause mail(1) to crash in certain scenarios.

Re: svn commit: r336805 - in stable/11: share/man/man4 sys/dev/vt/hw/vga

2018-07-30 Thread Eitan Adler
On Mon, 30 Jul 2018 at 15:38, John Baldwin wrote: > > On 7/28/18 10:12 PM, Eitan Adler wrote: > > On Sat, 28 Jul 2018 at 16:34, Konstantin Belousov > > wrote: > >> > >> On Sat, Jul 28, 2018 at 07:37:01AM +, Eitan Adler wrote: > >>> Author: eadler > >>> Date: Sat Jul 28 07:37:01 2018 > >>>

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

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 01:02:22 2018 New Revision: 336961 URL: https://svnweb.freebsd.org/changeset/base/336961 Log: MFV r336960: 9256 zfs send space estimation off by > 10% on some datasets illumos/illummos-gate@df477c0afa111b5205c872dab36dbfde391656de Reviewed by: Matt Ahrens

svn commit: r336960 - vendor-sys/illumos/dist/uts/common/fs/zfs

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 01:00:46 2018 New Revision: 336960 URL: https://svnweb.freebsd.org/changeset/base/336960 Log: 9256 zfs send space estimation off by > 10% on some datasets illumos/illummos-gate@df477c0afa111b5205c872dab36dbfde391656de Reviewed by: Matt Ahrens Reviewed

svn commit: r336959 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 00:58:21 2018 New Revision: 336959 URL: https://svnweb.freebsd.org/changeset/base/336959 Log: MFV r336958: 9337 zfs get all is slow due to uncached metadata This project's goal is to make read-heavy channel programs and zfs(1m) administrative commands faster

svn commit: r336958 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 00:56:41 2018 New Revision: 336958 URL: https://svnweb.freebsd.org/changeset/base/336958 Log: 9337 zfs get all is slow due to uncached metadata This project's goal is to make read-heavy channel programs and zfs(1m) administrative commands faster by caching

svn commit: r336957 - head/tests/sys/kern

2018-07-30 Thread Mark Johnston
Author: markj Date: Tue Jul 31 00:48:08 2018 New Revision: 336957 URL: https://svnweb.freebsd.org/changeset/base/336957 Log: Add a regression test related to PR 131876. If an error occurs while copying a SCM_RIGHTS message to userspace, we free the mbuf containing externalized rights,

svn commit: r336956 - in head: cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 00:47:27 2018 New Revision: 336956 URL: https://svnweb.freebsd.org/changeset/base/336956 Log: MFV r336955: 9236 nuke spa_dbgmsg We should use zfs_dbgmsg instead of spa_dbgmsg. Or at least, metaslab_condense() should call zfs_dbgmsg because it's important and

svn commit: r336955 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/cmd/ztest

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 00:42:31 2018 New Revision: 336955 URL: https://svnweb.freebsd.org/changeset/base/336955 Log: 9236 nuke spa_dbgmsg We should use zfs_dbgmsg instead of spa_dbgmsg. Or at least, metaslab_condense() should call zfs_dbgmsg because it's important and rare

svn commit: r336955 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/cmd/ztest

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 00:42:31 2018 New Revision: 336955 URL: https://svnweb.freebsd.org/changeset/base/336955 Log: 9236 nuke spa_dbgmsg We should use zfs_dbgmsg instead of spa_dbgmsg. Or at least, metaslab_condense() should call zfs_dbgmsg because it's important and rare

svn commit: r336953 - in stable: 10/usr.bin/mail 11/usr.bin/mail

2018-07-30 Thread Mark Johnston
Author: markj Date: Tue Jul 31 00:37:25 2018 New Revision: 336953 URL: https://svnweb.freebsd.org/changeset/base/336953 Log: Revert r335693, r335694, r335695 by eadler. They cause mail(1) to crash in certain scenarios. PR: 230196 Reported by: Pete French Modified:

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

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 00:37:45 2018 New Revision: 336954 URL: https://svnweb.freebsd.org/changeset/base/336954 Log: MFV r336952: 9192 explicitly pass good_writes to vdev_uberblock/label_sync Currently vdev_label_sync and vdev_uberblock_sync take a zio_t and assume that its

svn commit: r336953 - in stable: 10/usr.bin/mail 11/usr.bin/mail

2018-07-30 Thread Mark Johnston
Author: markj Date: Tue Jul 31 00:37:25 2018 New Revision: 336953 URL: https://svnweb.freebsd.org/changeset/base/336953 Log: Revert r335693, r335694, r335695 by eadler. They cause mail(1) to crash in certain scenarios. PR: 230196 Reported by: Pete French Modified:

svn commit: r336952 - vendor-sys/illumos/dist/uts/common/fs/zfs

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 00:34:39 2018 New Revision: 336952 URL: https://svnweb.freebsd.org/changeset/base/336952 Log: 9192 explicitly pass good_writes to vdev_uberblock/label_sync Currently vdev_label_sync and vdev_uberblock_sync take a zio_t and assume that its io_private is a

svn commit: r336951 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl...

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 00:25:39 2018 New Revision: 336951 URL: https://svnweb.freebsd.org/changeset/base/336951 Log: MFV r336950: 9290 device removal reduces redundancy of mirrors Mirrors are supposed to provide redundancy in the face of whole-disk failure and silent damage (e.g.

svn commit: r336950 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/cmd/zdb vendor/illumos/dist/cmd/ztest vendor/illumos/dist/lib/libzf...

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 00:13:04 2018 New Revision: 336950 URL: https://svnweb.freebsd.org/changeset/base/336950 Log: 9290 device removal reduces redundancy of mirrors Mirrors are supposed to provide redundancy in the face of whole-disk failure and silent damage (e.g. some data on

svn commit: r336950 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/cmd/zdb vendor/illumos/dist/cmd/ztest vendor/illumos/dist/lib/libzf...

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 00:13:04 2018 New Revision: 336950 URL: https://svnweb.freebsd.org/changeset/base/336950 Log: 9290 device removal reduces redundancy of mirrors Mirrors are supposed to provide redundancy in the face of whole-disk failure and silent damage (e.g. some data on

svn commit: r336949 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2018-07-30 Thread Alexander Motin
Author: mav Date: Tue Jul 31 00:02:42 2018 New Revision: 336949 URL: https://svnweb.freebsd.org/changeset/base/336949 Log: MFV r336948: 9112 Improve allocation performance on high-end systems On high-end systems running async sequential write workloads, especially NUMA systems with flash

svn commit: r336948 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2018-07-30 Thread Alexander Motin
Author: mav Date: Mon Jul 30 23:53:25 2018 New Revision: 336948 URL: https://svnweb.freebsd.org/changeset/base/336948 Log: 9112 Improve allocation performance on high-end systems On high-end systems running async sequential write workloads, especially NUMA systems with flash or NVMe

svn commit: r336947 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/openso...

2018-07-30 Thread Alexander Motin
Author: mav Date: Mon Jul 30 23:47:38 2018 New Revision: 336947 URL: https://svnweb.freebsd.org/changeset/base/336947 Log: MFV r336946: 9238 ZFS Spacemap Encoding V2 The current space map encoding has the following disadvantages: [1] Assuming 512 sector size each entry can represent at

svn commit: r336946 - vendor-sys/illumos/dist/common/zfs vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/cmd/zdb vendor/illumos/dist/cmd/...

2018-07-30 Thread Alexander Motin
Author: mav Date: Mon Jul 30 22:56:24 2018 New Revision: 336946 URL: https://svnweb.freebsd.org/changeset/base/336946 Log: 9238 ZFS Spacemap Encoding V2 The current space map encoding has the following disadvantages: [1] Assuming 512 sector size each entry can represent at most 16MB for

svn commit: r336946 - vendor-sys/illumos/dist/common/zfs vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/cmd/zdb vendor/illumos/dist/cmd/...

2018-07-30 Thread Alexander Motin
Author: mav Date: Mon Jul 30 22:56:24 2018 New Revision: 336946 URL: https://svnweb.freebsd.org/changeset/base/336946 Log: 9238 ZFS Spacemap Encoding V2 The current space map encoding has the following disadvantages: [1] Assuming 512 sector size each entry can represent at most 16MB for

svn commit: r336945 - in head/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2018-07-30 Thread Alexander Motin
Author: mav Date: Mon Jul 30 22:39:30 2018 New Revision: 336945 URL: https://svnweb.freebsd.org/changeset/base/336945 Log: MFV r336944: 9286 want refreservation=auto When a ZFS volume is created with zfs create -V (but without -s), the refreservation property is set to a value that is

Re: svn commit: r336805 - in stable/11: share/man/man4 sys/dev/vt/hw/vga

2018-07-30 Thread John Baldwin
On 7/28/18 10:12 PM, Eitan Adler wrote: > On Sat, 28 Jul 2018 at 16:34, Konstantin Belousov wrote: >> >> On Sat, Jul 28, 2018 at 07:37:01AM +, Eitan Adler wrote: >>> Author: eadler >>> Date: Sat Jul 28 07:37:01 2018 >>> New Revision: 336805 >>> URL:

svn commit: r336944 - in vendor/illumos/dist: lib/libzfs/common man/man1m

2018-07-30 Thread Alexander Motin
Author: mav Date: Mon Jul 30 22:10:15 2018 New Revision: 336944 URL: https://svnweb.freebsd.org/changeset/base/336944 Log: 9286 want refreservation=auto When a ZFS volume is created with zfs create -V (but without -s), the refreservation property is set to a value that is volsize plus

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

2018-07-30 Thread Alexander Motin
Author: mav Date: Mon Jul 30 22:03:29 2018 New Revision: 336943 URL: https://svnweb.freebsd.org/changeset/base/336943 Log: MFV r336942: 9189 Add debug to vdev_label_read_config when txg check fails illumos/illumos-gate@b6bf6e1540f30bd97b8d6e2c21d95e17841e0f23 Reviewed by: George

svn commit: r336942 - vendor-sys/illumos/dist/uts/common/fs/zfs

2018-07-30 Thread Alexander Motin
Author: mav Date: Mon Jul 30 21:59:44 2018 New Revision: 336942 URL: https://svnweb.freebsd.org/changeset/base/336942 Log: 9189 Add debug to vdev_label_read_config when txg check fails illumos/illumos-gate@b6bf6e1540f30bd97b8d6e2c21d95e17841e0f23 Reviewed by: George Wilson Reviewed

svn commit: r336941 - stable/11/usr.sbin/config

2018-07-30 Thread Kyle Evans
Author: kevans Date: Mon Jul 30 21:29:26 2018 New Revision: 336941 URL: https://svnweb.freebsd.org/changeset/base/336941 Log: MFC r335526: Let -s actually work. Modified: stable/11/usr.sbin/config/main.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r336940 - in head/sys: netinet netinet6

2018-07-30 Thread Michael Tuexen
Author: tuexen Date: Mon Jul 30 21:27:26 2018 New Revision: 336940 URL: https://svnweb.freebsd.org/changeset/base/336940 Log: Allow implicit TCP connection setup for TCP/IPv6. TCP/IPv4 allows an implicit connection setup using sendto(), which is used for TTCP and TCP fast open. This

svn commit: r336939 - stable/11

2018-07-30 Thread Kyle Evans
Author: kevans Date: Mon Jul 30 21:25:45 2018 New Revision: 336939 URL: https://svnweb.freebsd.org/changeset/base/336939 Log: MFC r336353, r336358-r336359, r336414: One big config(8) no-op r336353: config(8): Bump major version after r335998 config-generated hints.c/env.c from

svn commit: r336938 - stable/11/usr.sbin/config

2018-07-30 Thread Kyle Evans
Author: kevans Date: Mon Jul 30 21:24:27 2018 New Revision: 336938 URL: https://svnweb.freebsd.org/changeset/base/336938 Log: MFC r307967,324082,325955: config(8) fixes r307967: Allow config to be compiled from another source directory, such as one for building tools. This boils down to

svn commit: r336937 - head/sys/netinet

2018-07-30 Thread Michael Tuexen
Author: tuexen Date: Mon Jul 30 21:13:42 2018 New Revision: 336937 URL: https://svnweb.freebsd.org/changeset/base/336937 Log: Send consistent SEG.WIN when using timewait codepath for TCP. When sending TCP segments from the timewait code path, a stored value of the last sent window is

Re: svn commit: r336640 - head/share/mk

2018-07-30 Thread Alan Somers
On Mon, Jul 23, 2018 at 10:11 AM, Brad Davis wrote: > Author: brd > Date: Mon Jul 23 16:11:03 2018 > New Revision: 336640 > URL: https://svnweb.freebsd.org/changeset/base/336640 > > Log: > Add the initial DIRS infrastructure for creating directories with the > necessary owner, group, mode

svn commit: r336936 - stable/11/release/tools

2018-07-30 Thread Glen Barber
Author: gjb Date: Mon Jul 30 20:59:58 2018 New Revision: 336936 URL: https://svnweb.freebsd.org/changeset/base/336936 Log: As part of r336741, BOOTFILES needs special handling when cross building on stable/11, where the path should be: /usr/obj/TARGET.TARGET_ARCH/[...] The change

svn commit: r336935 - head/sys/fs/msdosfs

2018-07-30 Thread Ed Maste
Author: emaste Date: Mon Jul 30 20:36:51 2018 New Revision: 336935 URL: https://svnweb.freebsd.org/changeset/base/336935 Log: msdosfs: use same max filesize #define as NetBSD and move to header For use by makefs msdosfs support. Obtained from:NetBSD denode.h 1.6 Sponsored

svn commit: r336934 - head/sys/netinet

2018-07-30 Thread Michael Tuexen
Author: tuexen Date: Mon Jul 30 20:35:50 2018 New Revision: 336934 URL: https://svnweb.freebsd.org/changeset/base/336934 Log: Fix some TCP fast open issues. The following issues are fixed: * Whenever a TCP server with TCP fast open enabled, calls accept(), recv(), send(), and close()

svn commit: r336933 - head/sys/fs/nfsclient

2018-07-30 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 30 20:25:32 2018 New Revision: 336933 URL: https://svnweb.freebsd.org/changeset/base/336933 Log: Silence newer gcc warnings. Newer versions of gcc generate "set, but not used" warnings. Add __unused macros to silence these warnings. Although the variables

svn commit: r336932 - head/sys/netinet

2018-07-30 Thread Michael Tuexen
Author: tuexen Date: Mon Jul 30 20:13:38 2018 New Revision: 336932 URL: https://svnweb.freebsd.org/changeset/base/336932 Log: Add missing send/recv dtrace probes for TCP. These missing probe are mostly in the syncache and timewait code. Reviewed by: markj@, rrs@ MFC after:

svn commit: r336931 - head/sys/dev/sound/pci/hda

2018-07-30 Thread Justin Hibbits
Author: jhibbits Date: Mon Jul 30 20:00:56 2018 New Revision: 336931 URL: https://svnweb.freebsd.org/changeset/base/336931 Log: snd_hda: Make codec control path endian safe The CORB and RIRB buffers exist in DMA memory, but the device reads them as little-endian only. Read and write as

svn commit: r336930 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2018-07-30 Thread Alexander Motin
Author: mav Date: Mon Jul 30 19:44:14 2018 New Revision: 336930 URL: https://svnweb.freebsd.org/changeset/base/336930 Log: 9284 arc_reclaim_thread has 2 jobs `arc_reclaim_thread()` calls `arc_adjust()` after calling `arc_kmem_reap_now()`; `arc_adjust()` signals `arc_get_data_buf()` to

svn commit: r336929 - head/usr.bin/sed

2018-07-30 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 30 19:41:54 2018 New Revision: 336929 URL: https://svnweb.freebsd.org/changeset/base/336929 Log: sed: compile with the default WARNS level. Modified: head/usr.bin/sed/Makefile Modified: head/usr.bin/sed/Makefile

svn commit: r336928 - stable/10/sys/rpc

2018-07-30 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 30 19:29:31 2018 New Revision: 336928 URL: https://svnweb.freebsd.org/changeset/base/336928 Log: MFC: r335866 Fix the server side krpc so that the kernel nfsd threads terminate. Occationally the kernel nfsd threads would not terminate when a SIGKILL was

svn commit: r336927 - stable/11/sys/rpc

2018-07-30 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 30 19:23:52 2018 New Revision: 336927 URL: https://svnweb.freebsd.org/changeset/base/336927 Log: MFC: r335866 Fix the server side krpc so that the kernel nfsd threads terminate. Occationally the kernel nfsd threads would not terminate when a SIGKILL was

Re: svn commit: r336925 - head/sys/modules/ipmi

2018-07-30 Thread Sean Bruno
On 07/30/18 12:29, Justin Hibbits wrote: > Author: jhibbits > Date: Mon Jul 30 18:29:20 2018 > New Revision: 336925 > URL: https://svnweb.freebsd.org/changeset/base/336925 > > Log: > Add ofw_bus_if.h to the SRCS list for ipmi module on powerpc64 > > PR: 230194 > Reported by:

svn commit: r336926 - head/usr.bin/sed

2018-07-30 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 30 18:29:46 2018 New Revision: 336926 URL: https://svnweb.freebsd.org/changeset/base/336926 Log: sed: unsign some indexes to fix sign-compare warnings. Hinted by:OpenBSD (CVS 1.32) MFC after: 1 week Modified: head/usr.bin/sed/extern.h

svn commit: r336925 - head/sys/modules/ipmi

2018-07-30 Thread Justin Hibbits
Author: jhibbits Date: Mon Jul 30 18:29:20 2018 New Revision: 336925 URL: https://svnweb.freebsd.org/changeset/base/336925 Log: Add ofw_bus_if.h to the SRCS list for ipmi module on powerpc64 PR: 230194 Reported by: sbruno Modified: head/sys/modules/ipmi/Makefile Modified:

svn commit: r336924 - in head: . stand/man sys/dev/efidev

2018-07-30 Thread Kyle Evans
== --- head/UPDATING Mon Jul 30 17:59:18 2018(r336923) +++ head/UPDATING Mon Jul 30 18:13:20 2018(r336924) @@ -34,7 +34,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: 20180730: amd64/GENERIC now has EFI runtime services, EFIRT, enabled by default

Re: svn commit: r336919 - head/sys/dev/efidev

2018-07-30 Thread Warner Losh
I take that back... efi.rt.disabled matches the newbus usage... Warner On Mon, Jul 30, 2018 at 12:01 PM, Warner Losh wrote: > It would be a good idea to make it like the other tuneables. > > efi.rt.enabled=0 would be the pattern. > > Warner > > On Mon, Jul 30, 2018 at 11:59 AM, Shawn Webb >

Re: svn commit: r336919 - head/sys/dev/efidev

2018-07-30 Thread Kyle Evans
On Mon, Jul 30, 2018 at 1:01 PM, Warner Losh wrote: > On Mon, Jul 30, 2018 at 11:59 AM, Shawn Webb > wrote: >> >> On Mon, Jul 30, 2018 at 05:40:27PM +, Kyle Evans wrote: >> > Author: kevans >> > Date: Mon Jul 30 17:40:27 2018 >> > New Revision: 336919 >> > URL:

Re: svn commit: r336919 - head/sys/dev/efidev

2018-07-30 Thread Warner Losh
It would be a good idea to make it like the other tuneables. efi.rt.enabled=0 would be the pattern. Warner On Mon, Jul 30, 2018 at 11:59 AM, Shawn Webb wrote: > On Mon, Jul 30, 2018 at 05:40:27PM +, Kyle Evans wrote: > > Author: kevans > > Date: Mon Jul 30 17:40:27 2018 > > New Revision:

Re: svn commit: r336919 - head/sys/dev/efidev

2018-07-30 Thread Shawn Webb
On Mon, Jul 30, 2018 at 05:40:27PM +, Kyle Evans wrote: > Author: kevans > Date: Mon Jul 30 17:40:27 2018 > New Revision: 336919 > URL: https://svnweb.freebsd.org/changeset/base/336919 > > Log: > efirt: Add tunable to allow disabling EFI Runtime Services > > Leading up to enabling

svn commit: r336923 - head

2018-07-30 Thread Kyle Evans
== --- head/UPDATING Mon Jul 30 17:58:41 2018(r336922) +++ head/UPDATING Mon Jul 30 17:59:18 2018(r336923) @@ -33,7 +33,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: 20180730: amd64/GENERIC now has EFI runtime services, EFIRT, enabled

svn commit: r336922 - head/sys/kern

2018-07-30 Thread Mark Johnston
Author: markj Date: Mon Jul 30 17:58:41 2018 New Revision: 336922 URL: https://svnweb.freebsd.org/changeset/base/336922 Log: Remove a redundant check. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/uipc_sockbuf.c Modified:

svn commit: r336921 - in head: . sys/amd64/conf

2018-07-30 Thread Kyle Evans
:47 2018(r336920) +++ head/UPDATING Mon Jul 30 17:54:18 2018(r336921) @@ -31,6 +31,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)

svn commit: r336920 - stable/11/usr.sbin/acpi/acpidump

2018-07-30 Thread Ed Maste
Author: emaste Date: Mon Jul 30 17:49:47 2018 New Revision: 336920 URL: https://svnweb.freebsd.org/changeset/base/336920 Log: MFC r335459: acpidump.8: include NFIT in the man page list of tables Was missed in r321298 [MFC'd in r322461]. Reported by: Ben Widawsky (in review D15931)

svn commit: r336919 - head/sys/dev/efidev

2018-07-30 Thread Kyle Evans
Author: kevans Date: Mon Jul 30 17:40:27 2018 New Revision: 336919 URL: https://svnweb.freebsd.org/changeset/base/336919 Log: efirt: Add tunable to allow disabling EFI Runtime Services Leading up to enabling EFIRT in GENERIC, allow runtime services to be disabled with a new tunable:

svn commit: r336918 - head/sys/powerpc/powerpc

2018-07-30 Thread Justin Hibbits
Author: jhibbits Date: Mon Jul 30 17:03:15 2018 New Revision: 336918 URL: https://svnweb.freebsd.org/changeset/base/336918 Log: powerpcspe: Unconditionally save an restore SPEFSCR on task switch The SPEFSCR is not guarded by the SPV bit in MSR, it's just another SPR. Protect processes

svn commit: r336917 - head/sys/amd64/amd64

2018-07-30 Thread Konstantin Belousov
Author: kib Date: Mon Jul 30 16:54:51 2018 New Revision: 336917 URL: https://svnweb.freebsd.org/changeset/base/336917 Log: Remove unneeded CLDs instructions in the SMAP-ed version of several functions from support.S. I believe they re-appeared due to me mis-merging my r327820 into the

svn commit: r336915 - head/sys/arm64/conf

2018-07-30 Thread Andrew Turner
Author: andrew Date: Mon Jul 30 15:57:58 2018 New Revision: 336915 URL: https://svnweb.freebsd.org/changeset/base/336915 Log: Enable VIMAGE on arm64 again. A workaround for modules with static VNET variables has been committed so these should work now. PR: 223670 Sponsored

svn commit: r336914 - in head: lib/libnetbsd/sys sbin/fsck_ffs share/man/man3 sys/compat/linux sys/compat/linuxkpi/common/include/linux sys/dev/acpica sys/dev/drm2/i915 sys/dev/efidev sys/dev/isp s...

2018-07-30 Thread Alan Somers
Author: asomers Date: Mon Jul 30 15:46:40 2018 New Revision: 336914 URL: https://svnweb.freebsd.org/changeset/base/336914 Log: Make timespecadd(3) and friends public The timespecadd(3) family of macros were imported from NetBSD back in r35029. However, they were initially guarded by

Re: svn commit: r336835 - head/lib/libc/gen

2018-07-30 Thread Brooks Davis
On Sun, Jul 29, 2018 at 12:45:23AM +0300, Konstantin Belousov wrote: > On Sat, Jul 28, 2018 at 01:59:16PM -0700, Conrad Meyer wrote: > > On Sat, Jul 28, 2018 at 1:32 PM, Konstantin Belousov > > wrote: > > > Our existing practice is to not provide an advise in the man pages > > > for the userspace

svn commit: r336913 - in head/usr.sbin/newsyslog: . tests

2018-07-30 Thread Baptiste Daroussin
Author: bapt Date: Mon Jul 30 15:46:24 2018 New Revision: 336913 URL: https://svnweb.freebsd.org/changeset/base/336913 Log: newsyslog: fix compression arglist construction Reuse of the index variable in two nested loops resulted in only the first argument in the list being used (fine for

svn commit: r336912 - head/sys/dev/sound/pci/hda

2018-07-30 Thread Justin Hibbits
Author: jhibbits Date: Mon Jul 30 15:19:59 2018 New Revision: 336912 URL: https://svnweb.freebsd.org/changeset/base/336912 Log: snd_hda: Print error codes in decimal, rather than hex It's easy to confuse the error code as naked it looks decimal (EINVAL is reported as error 16, instead of

svn commit: r336911 - head/sys/dev/sound/pci/hda

2018-07-30 Thread Justin Hibbits
Author: jhibbits Date: Mon Jul 30 15:15:33 2018 New Revision: 336911 URL: https://svnweb.freebsd.org/changeset/base/336911 Log: snd_hda: Only free streams DMA maps if the streams list has been created If hdac_attach fails prior to allocating sc->streams, cleanup in the hdac_attach_fail

svn commit: r336910 - head/share/mk

2018-07-30 Thread Ed Maste
Author: emaste Date: Mon Jul 30 15:10:06 2018 New Revision: 336910 URL: https://svnweb.freebsd.org/changeset/base/336910 Log: Revert accidental change from r336908 By default ld.lld should be the bootstrap linker (only) on i386 right now. Once the i386 exp-run with LLD_IS_LD has a good

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

2018-07-30 Thread Andrew Turner
Author: andrew Date: Mon Jul 30 15:05:07 2018 New Revision: 336909 URL: https://svnweb.freebsd.org/changeset/base/336909 Log: As with DPCPU_DEFINE_STATIC make VNET_DEFINE_STATIC non-static on arm64 in modules. It also fails in the same way, we are unable to relocate static variables as the

Re: svn commit: r336907 - head

2018-07-30 Thread Ed Maste
On 30 July 2018 at 10:32, Hans Petter Selasky wrote: > On 07/30/18 16:28, Ed Maste wrote: >> >> +_LC_LIBDIRS.yes= lib >> +_LC_LIBDIRS.yes= gnu/lib > > Should the latter line use += ? It should indeed, I somehow broke this while manually applying the change from an old

svn commit: r336908 - in head: . share/mk

2018-07-30 Thread Ed Maste
Author: emaste Date: Mon Jul 30 14:42:59 2018 New Revision: 336908 URL: https://svnweb.freebsd.org/changeset/base/336908 Log: Makefile.libcompat: correctly append to make variable Reported by: hselasky Pointy hat to:emaste Modified: head/Makefile.libcompat

Re: svn commit: r336907 - head

2018-07-30 Thread Hans Petter Selasky
On 07/30/18 16:28, Ed Maste wrote: +_LC_LIBDIRS.yes= lib +_LC_LIBDIRS.yes= gnu/lib Should the latter line use += ? --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To

svn commit: r336907 - head

2018-07-30 Thread Ed Maste
Author: emaste Date: Mon Jul 30 14:28:00 2018 New Revision: 336907 URL: https://svnweb.freebsd.org/changeset/base/336907 Log: Makefile.libcompat: use one variable assignment per line This makes it easier to carry or merge patches that remove gnu/ components. Modified:

svn commit: r336906 - in head/sys: kern net

2018-07-30 Thread Andrew Turner
Author: andrew Date: Mon Jul 30 14:25:17 2018 New Revision: 336906 URL: https://svnweb.freebsd.org/changeset/base/336906 Log: Ensure the DPCPU and VNET module spaces are aligned to hold a pointer. Previously they may have been aligned to a char, leading to misaligned DPCPU and VNET

svn commit: r336905 - head/tests/sys/kqueue/libkqueue

2018-07-30 Thread David Bright
Author: dab Date: Mon Jul 30 14:21:49 2018 New Revision: 336905 URL: https://svnweb.freebsd.org/changeset/base/336905 Log: Correct possible misleading error message in kqtest. ian@ pointed out that in the test_abstime() function time(NULL) is used twice; once in an "if" test and again in

svn commit: r336904 - head/share/man/man5

2018-07-30 Thread Ed Maste
Author: emaste Date: Mon Jul 30 12:58:33 2018 New Revision: 336904 URL: https://svnweb.freebsd.org/changeset/base/336904 Log: Regen src.conf.5 after r336901, WITH_LLD_BOOTSTRAP on i386 Sponsored by: The FreeBSD Foundation Modified: head/share/man/man5/src.conf.5 Modified:

svn commit: r336903 - stable/11/contrib/tcpdump

2018-07-30 Thread Slava Shwartsman
Author: slavash Date: Mon Jul 30 12:51:57 2018 New Revision: 336903 URL: https://svnweb.freebsd.org/changeset/base/336903 Log: MFC r334318: Vendor import two upstream commits: c1bb8784abd3ca978e376b0d10e324db0491237b 9c4af7213cc2543a1f5586d8f2c19f86aa0cbe72 Approved by:

svn commit: r336902 - head/sys/net

2018-07-30 Thread Andrew Turner
Author: andrew Date: Mon Jul 30 12:44:44 2018 New Revision: 336902 URL: https://svnweb.freebsd.org/changeset/base/336902 Log: As with DPCPU_DEFINE make it a compile error to use static with VNET_DEFINE. There is the VNET_DEFINE_STATIC macro for that. Modified: head/sys/net/vnet.h

svn commit: r336901 - head/share/mk

2018-07-30 Thread Ed Maste
Author: emaste Date: Mon Jul 30 12:38:08 2018 New Revision: 336901 URL: https://svnweb.freebsd.org/changeset/base/336901 Log: Enable ld.lld as bootstrap linker by default on i386 Akin to r327783 for amd64. lld has been usable for amd64 for quite some time, but a couple of issues

svn commit: r336900 - head/sys/riscv/conf

2018-07-30 Thread Ruslan Bukin
Author: br Date: Mon Jul 30 12:22:49 2018 New Revision: 336900 URL: https://svnweb.freebsd.org/changeset/base/336900 Log: Disable VIMAGE on RISC-V. Similar to r326179 ("Temporarily disable VIMAGE on arm64") creation of if_lagg or epair on RISC-V results a kernel panic. Sponsored by:

svn commit: r336899 - in stable/10/sys/fs: nfs nfsclient

2018-07-30 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 30 12:17:10 2018 New Revision: 336899 URL: https://svnweb.freebsd.org/changeset/base/336899 Log: MFC: r334966 Add a couple of safety belt checks to the NFSv4.1 client related to sessions. There were a couple of cases in newnfs_request() that it assumed that

svn commit: r336898 - in stable/11/sys/fs: nfs nfsclient

2018-07-30 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 30 12:10:23 2018 New Revision: 336898 URL: https://svnweb.freebsd.org/changeset/base/336898 Log: MFC: r334966 Add a couple of safety belt checks to the NFSv4.1 client related to sessions. There were a couple of cases in newnfs_request() that it assumed that

svn commit: r336897 - head/sys/dev/xen/grant_table

2018-07-30 Thread Roger Pau Monné
Author: royger Date: Mon Jul 30 11:41:51 2018 New Revision: 336897 URL: https://svnweb.freebsd.org/changeset/base/336897 Log: xen/grants: fix deadlocks in the free callbacks This fixes the panic caused by deadlocking when grant-table free callbacks are used. The cause of the

svn commit: r336896 - head/sys/dev/xen/blkfront

2018-07-30 Thread Roger Pau Monné
Author: royger Date: Mon Jul 30 11:27:51 2018 New Revision: 336896 URL: https://svnweb.freebsd.org/changeset/base/336896 Log: xen-blkfront: fix memory leak in xbd_connect error path If gnttab_grant_foreign_access() fails for any of the indirection pages, the code breaks out of both the

svn commit: r336895 - head/sys/dev/xen/blkfront

2018-07-30 Thread Roger Pau Monné
Author: royger Date: Mon Jul 30 11:15:20 2018 New Revision: 336895 URL: https://svnweb.freebsd.org/changeset/base/336895 Log: xen-blkfront: fix length check Length is an unsigned integer, so checking against < 0 doesn't make sense. While there also make clear that a length of 0 always

svn commit: r336894 - head/sys/arm/arm

2018-07-30 Thread Andrew Turner
Author: andrew Date: Mon Jul 30 10:55:02 2018 New Revision: 336894 URL: https://svnweb.freebsd.org/changeset/base/336894 Log: Remove teh non-INTRNG code from the ARM GIC interrupt controller driver. We don't build for the non-INTRNG case and it was makeing the code harder to read.

svn commit: r336893 - head/sys/netinet/tcp_stacks

2018-07-30 Thread Randall Stewart
Author: rrs Date: Mon Jul 30 10:23:29 2018 New Revision: 336893 URL: https://svnweb.freebsd.org/changeset/base/336893 Log: This fixes a hole where rack could end up sending an invalid segment into the reassembly queue. This would happen if you enabled the data after close option.

svn commit: r336892 - head/sys/arm/arm

2018-07-30 Thread Andrew Turner
Author: andrew Date: Mon Jul 30 09:50:26 2018 New Revision: 336892 URL: https://svnweb.freebsd.org/changeset/base/336892 Log: Require ARMv5 for arm. All current kernels are for ARMv5 or later, and it will allow us to clean out old ARMv4 (and earlier) specific assembly. Relnotes: yes

svn commit: r336891 - stable/9/sys/dev/sound/pcm

2018-07-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 30 09:29:32 2018 New Revision: 336891 URL: https://svnweb.freebsd.org/changeset/base/336891 Log: MFC r336632: Update modify counter when setting a mixer control. PR: 229969 Modified: stable/9/sys/dev/sound/pcm/mixer.c Directory Properties:

svn commit: r336890 - stable/10/sys/dev/sound/pcm

2018-07-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 30 09:28:00 2018 New Revision: 336890 URL: https://svnweb.freebsd.org/changeset/base/336890 Log: MFC r336632: Update modify counter when setting a mixer control. PR: 229969 Modified: stable/10/sys/dev/sound/pcm/mixer.c Directory Properties:

svn commit: r336889 - stable/11/sys/dev/sound/pcm

2018-07-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 30 09:25:56 2018 New Revision: 336889 URL: https://svnweb.freebsd.org/changeset/base/336889 Log: MFC r336632: Update modify counter when setting a mixer control. PR: 229969 Modified: stable/11/sys/dev/sound/pcm/mixer.c Directory Properties:

svn commit: r336887 - stable/10/sys/dev/usb

2018-07-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 30 09:21:19 2018 New Revision: 336887 URL: https://svnweb.freebsd.org/changeset/base/336887 Log: MFC r335700: Improve the kernel's USB descriptor reading function. Some USB devices does not allow a partial descriptor readout. Found by: bz@ Sponsored

svn commit: r336888 - stable/9/sys/dev/usb

2018-07-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 30 09:22:21 2018 New Revision: 336888 URL: https://svnweb.freebsd.org/changeset/base/336888 Log: MFC r335700: Improve the kernel's USB descriptor reading function. Some USB devices does not allow a partial descriptor readout. Found by: bz@ Sponsored

svn commit: r336886 - stable/11/sys/dev/usb

2018-07-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 30 09:20:17 2018 New Revision: 336886 URL: https://svnweb.freebsd.org/changeset/base/336886 Log: MFC r335700: Improve the kernel's USB descriptor reading function. Some USB devices does not allow a partial descriptor readout. Found by: bz@ Sponsored

svn commit: r336885 - stable/9/lib/libusb

2018-07-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 30 09:18:45 2018 New Revision: 336885 URL: https://svnweb.freebsd.org/changeset/base/336885 Log: MFC r335669: Improve the userspace USB string reading function in LibUSB. Some USB devices does not allow a partial descriptor readout. Found by:

svn commit: r336884 - stable/10/lib/libusb

2018-07-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 30 09:16:47 2018 New Revision: 336884 URL: https://svnweb.freebsd.org/changeset/base/336884 Log: MFC r335669: Improve the userspace USB string reading function in LibUSB. Some USB devices does not allow a partial descriptor readout. Found by:

svn commit: r336883 - stable/11/lib/libusb

2018-07-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 30 09:15:09 2018 New Revision: 336883 URL: https://svnweb.freebsd.org/changeset/base/336883 Log: MFC r335669: Improve the userspace USB string reading function in LibUSB. Some USB devices does not allow a partial descriptor readout. Found by:

svn commit: r336882 - head/sys/kern

2018-07-30 Thread David E. O'Brien
Author: obrien Date: Mon Jul 30 07:01:00 2018 New Revision: 336882 URL: https://svnweb.freebsd.org/changeset/base/336882 Log: Correct copyright dates. Modified: head/sys/kern/imgact_elf.c Modified: head/sys/kern/imgact_elf.c