Re: svn commit: r351831 - in head: . stand/efi/boot1 stand/efi/gptboot tools/build/mk

2019-09-04 Thread Dimitry Andric
On 4 Sep 2019, at 22:55, Rebecca Cran wrote: > > Author: bcran > Date: Wed Sep 4 20:55:48 2019 > New Revision: 351831 > URL: https://svnweb.freebsd.org/changeset/base/351831 > > Log: > The efifat files are no longer used: remove the code to build them > > Reviewed by: imp, tsoome, emaste >

svn commit: r351836 - in head: etc/mtree usr.bin/patch usr.bin/patch/tests

2019-09-04 Thread Kyle Evans
Author: kevans Date: Thu Sep 5 03:16:14 2019 New Revision: 351836 URL: https://svnweb.freebsd.org/changeset/base/351836 Log: patch(1): add some basic tests Summary: - basic: test application of patches created by diff -u at the beginning/middle/end of file, which have differing

svn commit: r351835 - head/sys/sys

2019-09-04 Thread Conrad Meyer
Author: cem Date: Thu Sep 5 00:56:37 2019 New Revision: 351835 URL: https://svnweb.freebsd.org/changeset/base/351835 Log: sys/mount.h: Comment on distinction between vfs_{c,}mount Hope to save someone else a little future effort in ugly duplicated code. No functional change.

svn commit: r351834 - in head/sys/fs: nfs nfsserver

2019-09-04 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 4 22:37:28 2019 New Revision: 351834 URL: https://svnweb.freebsd.org/changeset/base/351834 Log: Delete the unused "nd" argument for nfsrv_checkdsattr(). The "nd" argument for nfsrv_checkdsattr() is no longer used by the function. This patch deletes it.

Re: svn commit: r351827 - stable/12/sys/vm

2019-09-04 Thread Konstantin Belousov
On Wed, Sep 04, 2019 at 07:32:50PM +, Aleksandr Rybalko wrote: > Author: ray > Date: Wed Sep 4 19:32:50 2019 > New Revision: 351827 > URL: https://svnweb.freebsd.org/changeset/base/351827 > > Log: > MFC r351213: assert that td_lk_slocks is not leaked upon return from kernel Rather, it was

svn commit: r351831 - in head: . stand/efi/boot1 stand/efi/gptboot tools/build/mk

2019-09-04 Thread Rebecca Cran
/ObsoleteFiles.inc Wed Sep 4 20:55:48 2019(r351831) @@ -37,7 +37,9 @@ # -V OLD_FILES -V OLD_LIBS -V OLD_DIRS check-old | \ # xargs -n1 | sort | uniq -d; # done - + +# 20190904: Remove boot1.efifat +OLD_FILES+=boot/boot1.efifat # 20190903: pc-sysinstall(8) removed OLD_FILES+=usr

svn commit: r351830 - head/sys/vm

2019-09-04 Thread Konstantin Belousov
Author: kib Date: Wed Sep 4 20:28:16 2019 New Revision: 351830 URL: https://svnweb.freebsd.org/changeset/base/351830 Log: madvise(MADV_FREE): Quick fix to time rewind. Don't free pages in a shadowing object. While this degrades MADV_FREE to a no-op (and we could, instead, choose to

svn commit: r351829 - stable/12/usr.bin/nfsstat

2019-09-04 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 4 20:14:21 2019 New Revision: 351829 URL: https://svnweb.freebsd.org/changeset/base/351829 Log: MFC: r350395 Fix printing of Server Re-Failed and Server Faults. nfsstat -s prints bogus large numbers for the Server Re-Failed and Server Faults fields. This

svn commit: r351828 - head/sys/dev/nvme

2019-09-04 Thread Warner Losh
Author: imp Date: Wed Sep 4 20:08:36 2019 New Revision: 351828 URL: https://svnweb.freebsd.org/changeset/base/351828 Log: Support doorbell strides != 0. The NVMe standard (1.4) states >>> 8.6 Doorbell Stride for Software Emulation >>> The doorbell stride,...is useful in software

svn commit: r351827 - stable/12/sys/vm

2019-09-04 Thread Aleksandr Rybalko
Author: ray Date: Wed Sep 4 19:32:50 2019 New Revision: 351827 URL: https://svnweb.freebsd.org/changeset/base/351827 Log: MFC r351213: assert that td_lk_slocks is not leaked upon return from kernel Modified: stable/12/sys/vm/vm_reserv.c Directory Properties: stable/12/ (props changed)

svn commit: r351826 - stable/11/sys/vm

2019-09-04 Thread Aleksandr Rybalko
Author: ray Date: Wed Sep 4 19:31:37 2019 New Revision: 351826 URL: https://svnweb.freebsd.org/changeset/base/351826 Log: MFC r351213: assert that td_lk_slocks is not leaked upon return from kernel Modified: stable/11/sys/vm/vm_reserv.c Directory Properties: stable/11/ (props changed)

svn commit: r351825 - head/sys/kern

2019-09-04 Thread Mateusz Guzik
Author: mjg Date: Wed Sep 4 19:23:18 2019 New Revision: 351825 URL: https://svnweb.freebsd.org/changeset/base/351825 Log: vfs: fully hold vnodes in vnlru_free_locked Currently the code only bumps holdcnt and clears the VI_FREE flag, not performing actual vhold. Since the vnode is still

svn commit: r351824 - head/sbin/nvmecontrol

2019-09-04 Thread Warner Losh
Author: imp Date: Wed Sep 4 19:19:23 2019 New Revision: 351824 URL: https://svnweb.freebsd.org/changeset/base/351824 Log: Report the Host Buffer Memory minimum and preferred sizes. The Host Buffer feature (NVMe 1.4 section 89) allows for the NVMe card request the host provide it buffer

svn commit: r351823 - head/share/mk

2019-09-04 Thread Bryan Drewery
Author: bdrewery Date: Wed Sep 4 18:32:11 2019 New Revision: 351823 URL: https://svnweb.freebsd.org/changeset/base/351823 Log: PROGS: Build common sources before recursed PROGS_TARGETS as well when building. MFC after:2 weeks Sponsored by: DellEMC Modified:

svn commit: r351822 - head/sys/compat/linprocfs

2019-09-04 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Sep 4 18:00:54 2019 New Revision: 351822 URL: https://svnweb.freebsd.org/changeset/base/351822 Log: Fix /proc/mounts for autofs(5) mounts. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/compat/linprocfs/linprocfs.c Modified:

svn commit: r351821 - head/sys/amd64/linux

2019-09-04 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Sep 4 18:00:03 2019 New Revision: 351821 URL: https://svnweb.freebsd.org/changeset/base/351821 Log: Improve debugging output. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/linux/linux_ptrace.c Modified:

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

2019-09-04 Thread Jason Helfman
Author: jgh (doc,ports committer) Date: Wed Sep 4 17:52:30 2019 New Revision: 351820 URL: https://svnweb.freebsd.org/changeset/base/351820 Log: - correct HISTORY section - while here clarify wording PR: 240260 (based on) Submitted by: gbergl...@gmail.com MFC after:

Re: svn commit: r351818 - in head/sys: arm/conf arm64/conf conf

2019-09-04 Thread Ian Lepore
On Wed, 2019-09-04 at 15:55 +, Ruslan Bukin wrote: > Author: br > Date: Wed Sep 4 15:55:44 2019 > New Revision: 351818 > URL: https://svnweb.freebsd.org/changeset/base/351818 > > Log: > Include dwgpio to the build. > > Sponsored by: DARPA, AFRL > > Modified: >

svn commit: r351819 - head/usr.bin/procstat/tests

2019-09-04 Thread Jilles Tjoelker
Author: jilles Date: Wed Sep 4 16:25:41 2019 New Revision: 351819 URL: https://svnweb.freebsd.org/changeset/base/351819 Log: procstat/tests: Fix flakiness by waiting for program to start Some of the procstat tests start a program "while1" and examine the process using procstat, but did

svn commit: r351818 - in head/sys: arm/conf arm64/conf conf

2019-09-04 Thread Ruslan Bukin
Author: br Date: Wed Sep 4 15:55:44 2019 New Revision: 351818 URL: https://svnweb.freebsd.org/changeset/base/351818 Log: Include dwgpio to the build. Sponsored by: DARPA, AFRL Modified: head/sys/arm/conf/GENERIC head/sys/arm64/conf/GENERIC head/sys/conf/files Modified:

svn commit: r351817 - in head/sys: arm/altera/socfpga dev/gpio/dwgpio

2019-09-04 Thread Ruslan Bukin
Author: br Date: Wed Sep 4 15:37:24 2019 New Revision: 351817 URL: https://svnweb.freebsd.org/changeset/base/351817 Log: o Add support for multi-port instances of Synopsys DesignWare APB GPIO Controller. o Rename the driver to dwgpio. Sponsored by: DARPA, AFRL Added:

Re: svn commit: r351673 - in head: lib/libmemstat share/man/man9 sys/cddl/compat/opensolaris/kern sys/kern sys/vm

2019-09-04 Thread Slawa Olhovchenkov
On Wed, Sep 04, 2019 at 09:27:00AM +0300, Andriy Gapon wrote: > On 04/09/2019 01:01, Mark Johnston wrote: > > Some of the vm_lowmem eventhandlers probably shouldn't be called each > > time the page daemon scans the inactive queue (every 0.1s under memory > > pressure). ufsdirhash_lowmem and

Re: svn commit: r351812 - head/usr.sbin/mpsutil

2019-09-04 Thread Andriy Gapon
On 04/09/2019 16:50, Alan Somers wrote: > On Wed, Sep 4, 2019 at 7:47 AM Andriy Gapon > wrote: > > Author: avg > Date: Wed Sep  4 13:47:38 2019 > New Revision: 351812 > URL: https://svnweb.freebsd.org/changeset/base/351812 > > Log: >   mpsutil

Re: svn commit: r351673 - in head: lib/libmemstat share/man/man9 sys/cddl/compat/opensolaris/kern sys/kern sys/vm

2019-09-04 Thread Slawa Olhovchenkov
On Tue, Sep 03, 2019 at 06:01:06PM -0400, Mark Johnston wrote: > > > have you considered running UMA_RECLAIM_TRIM periodically, even without a > > > memory > > > pressure? > > > I think that with such a periodic trimming there will be less need to > > > invoke > > > vm_lowmem(). > > Slawa and

Re: svn commit: r351812 - head/usr.sbin/mpsutil

2019-09-04 Thread Andriy Gapon
On 04/09/2019 17:21, Allan Jude wrote: > mpsutil's method will work on direct-attach backplanes and enclosures, > where sesutil only works if there is an expander that provides the SES > service. I think that theoretically a controller (its firmware) can emulate a SES device for a directly

svn commit: r351816 - head/sys/conf

2019-09-04 Thread Kyle Evans
Author: kevans Date: Wed Sep 4 14:32:04 2019 New Revision: 351816 URL: https://svnweb.freebsd.org/changeset/base/351816 Log: Back out r351799 empty does not appear to work like I thought it did and it actively breaks real LOCAL_MODULES usage, of which I have none at the moment...

Re: svn commit: r351812 - head/usr.sbin/mpsutil

2019-09-04 Thread Alan Somers
On Wed, Sep 4, 2019 at 8:21 AM Allan Jude wrote: > On 2019-09-04 09:50, Alan Somers wrote: > > On Wed, Sep 4, 2019 at 7:47 AM Andriy Gapon > > wrote: > > > > Author: avg > > Date: Wed Sep 4 13:47:38 2019 > > New Revision: 351812 > > URL:

Re: svn commit: r351812 - head/usr.sbin/mpsutil

2019-09-04 Thread Allan Jude
On 2019-09-04 09:50, Alan Somers wrote: > On Wed, Sep 4, 2019 at 7:47 AM Andriy Gapon > wrote: > > Author: avg > Date: Wed Sep  4 13:47:38 2019 > New Revision: 351812 > URL: https://svnweb.freebsd.org/changeset/base/351812 > > Log: >   mpsutil

svn commit: r351815 - head/sys/fs/pseudofs

2019-09-04 Thread Kyle Evans
Author: kevans Date: Wed Sep 4 14:20:39 2019 New Revision: 351815 URL: https://svnweb.freebsd.org/changeset/base/351815 Log: pseudofs: make readdir work without a pid again Specifically, the following was broken: $ mount -t procfs procfs /proc $ ls -l /proc r351741 reworked

svn commit: r351814 - in stable: 11/sys/dev/sound/pci/hda 12/sys/dev/sound/pci/hda

2019-09-04 Thread Jung-uk Kim
Author: jkim Date: Wed Sep 4 14:05:04 2019 New Revision: 351814 URL: https://svnweb.freebsd.org/changeset/base/351814 Log: MFC: r351231, r351233 Fix sound on headset jack for Lenovo Thinkpad X1 Carbon Gen 6 (model 20KH). Modified: stable/12/sys/dev/sound/pci/hda/hdaa_patches.c

svn commit: r351814 - in stable: 11/sys/dev/sound/pci/hda 12/sys/dev/sound/pci/hda

2019-09-04 Thread Jung-uk Kim
Author: jkim Date: Wed Sep 4 14:05:04 2019 New Revision: 351814 URL: https://svnweb.freebsd.org/changeset/base/351814 Log: MFC: r351231, r351233 Fix sound on headset jack for Lenovo Thinkpad X1 Carbon Gen 6 (model 20KH). Modified: stable/11/sys/dev/sound/pci/hda/hdaa_patches.c

svn commit: r351813 - head/sbin/bectl

2019-09-04 Thread Kyle Evans
Author: kevans Date: Wed Sep 4 13:59:06 2019 New Revision: 351813 URL: https://svnweb.freebsd.org/changeset/base/351813 Log: bectl(8): implement sorting for 'bectl list' output Allow 'bectl list' to sort output by a given property name. The property name is passed in using a

Re: svn commit: r351812 - head/usr.sbin/mpsutil

2019-09-04 Thread Alan Somers
On Wed, Sep 4, 2019 at 7:47 AM Andriy Gapon wrote: > Author: avg > Date: Wed Sep 4 13:47:38 2019 > New Revision: 351812 > URL: https://svnweb.freebsd.org/changeset/base/351812 > > Log: > mpsutil slot set status > > This code has been written as a proof of concept, but I think that it >

svn commit: r351812 - head/usr.sbin/mpsutil

2019-09-04 Thread Andriy Gapon
Author: avg Date: Wed Sep 4 13:47:38 2019 New Revision: 351812 URL: https://svnweb.freebsd.org/changeset/base/351812 Log: mpsutil slot set status This code has been written as a proof of concept, but I think that it can be useful in general. It allows to set the status of an enclosure

svn commit: r351811 - in head: lib/libc/compat-43 usr.bin/dc usr.bin/sort

2019-09-04 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Wed Sep 4 13:44:46 2019 New Revision: 351811 URL: https://svnweb.freebsd.org/changeset/base/351811 Log: Adjust history, info source from v1's manuals https://www.bell-labs.com/usr/dmr/www/1stEdman.html MFC after:5 days Modified:

svn commit: r351810 - head/sys/kern

2019-09-04 Thread Andriy Gapon
Author: avg Date: Wed Sep 4 13:26:59 2019 New Revision: 351810 URL: https://svnweb.freebsd.org/changeset/base/351810 Log: shutdown_halt: make sure that watchdog timer is stopped The point of halt is to keep the machine in limbo. Reviewed by: kib MFC after:2 weeks

svn commit: r351809 - stable/11/sys/kern

2019-09-04 Thread Andriy Gapon
Author: avg Date: Wed Sep 4 09:54:21 2019 New Revision: 351809 URL: https://svnweb.freebsd.org/changeset/base/351809 Log: MFC r351213: assert that td_lk_slocks is not leaked upon return from kernel Modified: stable/11/sys/kern/subr_trap.c Directory Properties: stable/11/ (props changed)

svn commit: r351808 - stable/12/sys/kern

2019-09-04 Thread Andriy Gapon
Author: avg Date: Wed Sep 4 09:54:05 2019 New Revision: 351808 URL: https://svnweb.freebsd.org/changeset/base/351808 Log: MFC r351213: assert that td_lk_slocks is not leaked upon return from kernel Modified: stable/12/sys/kern/subr_trap.c Directory Properties: stable/12/ (props changed)

svn commit: r351807 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-09-04 Thread Andriy Gapon
Author: avg Date: Wed Sep 4 08:48:12 2019 New Revision: 351807 URL: https://svnweb.freebsd.org/changeset/base/351807 Log: MFC r351168: zfs_vget: fix vnode reference count leak in error path Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Directory Properties:

svn commit: r351806 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-09-04 Thread Andriy Gapon
Author: avg Date: Wed Sep 4 08:47:29 2019 New Revision: 351806 URL: https://svnweb.freebsd.org/changeset/base/351806 Log: MFC r351168: zfs_vget: fix vnode reference count leak in error path Modified: stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Directory Properties:

svn commit: r351805 - in stable/11: cddl/contrib/opensolaris/cmd/zpool sys/cddl/contrib/opensolaris/common/zfs

2019-09-04 Thread Andriy Gapon
Author: avg Date: Wed Sep 4 08:44:44 2019 New Revision: 351805 URL: https://svnweb.freebsd.org/changeset/base/351805 Log: MFC r350897: MFV r350896: 6585 sha512, skein, and edonr have an unenforced dependency on extensible dataset Modified:

svn commit: r351804 - in stable/12: cddl/contrib/opensolaris/cmd/zpool sys/cddl/contrib/opensolaris/common/zfs

2019-09-04 Thread Andriy Gapon
Author: avg Date: Wed Sep 4 08:41:55 2019 New Revision: 351804 URL: https://svnweb.freebsd.org/changeset/base/351804 Log: MFC r350897: MFV r350896: 6585 sha512, skein, and edonr have an unenforced dependency on extensible dataset Modified:

svn commit: r351803 - in head: cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-09-04 Thread Andriy Gapon
Author: avg Date: Wed Sep 4 07:33:22 2019 New Revision: 351803 URL: https://svnweb.freebsd.org/changeset/base/351803 Log: ZFS: Always refuse receving non-resume stream when resume state exists This fixes a hole in the situation where the resume state is left from receiving a new dataset

Re: svn commit: r351673 - in head: lib/libmemstat share/man/man9 sys/cddl/compat/opensolaris/kern sys/kern sys/vm

2019-09-04 Thread Andriy Gapon
On 04/09/2019 01:01, Mark Johnston wrote: > Some of the vm_lowmem eventhandlers probably shouldn't be called each > time the page daemon scans the inactive queue (every 0.1s under memory > pressure). ufsdirhash_lowmem and mb_reclaim in particular don't seem > like they need to be invoked very

Re: svn commit: r351673 - in head: lib/libmemstat share/man/man9 sys/cddl/compat/opensolaris/kern sys/kern sys/vm

2019-09-04 Thread Andriy Gapon
On 04/09/2019 01:01, Mark Johnston wrote: > Slawa and I talked about this in the past. His complaint is that a > large cache can take a significant amount of time to trim, and it > manifests as a spike of CPU usage and contention on the zone lock. In > particular, keg_drain() iterates over the