svn commit: r356682 - in head/sys: compat/linuxkpi/common/src kern

2020-01-13 Thread Konstantin Belousov
Author: kib Date: Mon Jan 13 14:30:19 2020 New Revision: 356682 URL: https://svnweb.freebsd.org/changeset/base/356682 Log: Code must not unlock a mutex while owning the thread lock. Reviewed by: hselasky, markj Sponsored by: Mellanox Technologies MFC after:1 week Differential rev

svn commit: r356683 - in head/sys/ufs: ffs ufs

2020-01-13 Thread Mateusz Guzik
Author: mjg Date: Mon Jan 13 14:33:51 2020 New Revision: 356683 URL: https://svnweb.freebsd.org/changeset/base/356683 Log: ufs: relax an overzealous assert added in r356671 Part of i_flag can persist across a drop to hold count of 0, at which point the vnode is taken off the lazy list. Th

Re: svn commit: r356682 - in head/sys: compat/linuxkpi/common/src kern

2020-01-13 Thread Hans Petter Selasky
On 2020-01-13 15:30, Konstantin Belousov wrote: Author: kib Date: Mon Jan 13 14:30:19 2020 New Revision: 356682 URL:https://svnweb.freebsd.org/changeset/base/356682 Log: Code must not unlock a mutex while owning the thread lock. Because the thread lock is not recursive. --HPS _

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

2020-01-13 Thread Ed Maste
Author: emaste Date: Mon Jan 13 14:50:22 2020 New Revision: 356684 URL: https://svnweb.freebsd.org/changeset/base/356684 Log: src.conf.5: regen after r356615, KERBEROS_SUPPORT dep on KERBEROS Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ==

svn commit: r356685 - head/release

2020-01-13 Thread Glen Barber
Author: gjb Date: Mon Jan 13 16:31:00 2020 New Revision: 356685 URL: https://svnweb.freebsd.org/changeset/base/356685 Log: Ensure the TYPE, BRANCH, and REVISION variables are set in cloudware targets when OSRELEASE is overridden. Submitted by: Trond Endrestol PR: 243287 MFC

svn commit: r356686 - head/release

2020-01-13 Thread Glen Barber
Author: gjb Date: Mon Jan 13 16:31:58 2020 New Revision: 356686 URL: https://svnweb.freebsd.org/changeset/base/356686 Log: Fix a typo. MFC after:3 days Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: head/release/Makefile Modified: head/release/Makefile =

svn commit: r356687 - in head/usr.bin: . gprof

2020-01-13 Thread Kristof Provost
Author: kp Date: Mon Jan 13 16:52:26 2020 New Revision: 356687 URL: https://svnweb.freebsd.org/changeset/base/356687 Log: gprof: Enable riscv Add a missing riscv.h header file, and fix the check for riscv (must test MACHINE_CPUARCH, not MACHINE_ARCH, if we want to use 'riscv'). Spons

svn commit: r356688 - head/share/man/man4

2020-01-13 Thread Kyle Evans
Author: kevans Date: Mon Jan 13 17:02:42 2020 New Revision: 356688 URL: https://svnweb.freebsd.org/changeset/base/356688 Log: Install tap(4) manpage as vmnet(4) as well If one comes across a vmnet interface, this is a useful pointer to have towards what it actually is if they're otherwise

svn commit: r356693 - in head/stand: efi/libefi i386/libi386 libofw uboot/lib

2020-01-13 Thread Toomas Soome
Author: tsoome Date: Mon Jan 13 18:22:54 2020 New Revision: 356693 URL: https://svnweb.freebsd.org/changeset/base/356693 Log: loader: allocate properly aligned buffer for network packet Use memalign(4, size) to ensure we have properly aligned buffer. MFC after:2 weeks Modified:

svn commit: r356694 - head/share/man/man4

2020-01-13 Thread Kyle Evans
Author: kevans Date: Mon Jan 13 18:26:27 2020 New Revision: 356694 URL: https://svnweb.freebsd.org/changeset/base/356694 Log: tap(4): also note that we drop configured addresses This provides a specific pointer for users of tap(4) to understand why their interfaces are losing their addres

svn commit: r356695 - head/usr.bin/diff

2020-01-13 Thread Mark Johnston
Author: markj Date: Mon Jan 13 18:29:47 2020 New Revision: 356695 URL: https://svnweb.freebsd.org/changeset/base/356695 Log: Optimize diff -q. Once we know whether the files differ, we don't need to do any further work. PR: 242828 Submitted by: fehmi noyan isi (original

Re: svn commit: r356693 - in head/stand: efi/libefi i386/libi386 libofw uboot/lib

2020-01-13 Thread Ian Lepore
On Mon, 2020-01-13 at 18:22 +, Toomas Soome wrote: > Author: tsoome > Date: Mon Jan 13 18:22:54 2020 > New Revision: 356693 > URL: https://svnweb.freebsd.org/changeset/base/356693 > > Log: > loader: allocate properly aligned buffer for network packet > > Use memalign(4, size) to ensure

Re: svn commit: r356693 - in head/stand: efi/libefi i386/libi386 libofw uboot/lib

2020-01-13 Thread Toomas Soome via svn-src-head
> On 13. Jan 2020, at 20:31, Ian Lepore wrote: > > On Mon, 2020-01-13 at 18:22 +, Toomas Soome wrote: >> Author: tsoome >> Date: Mon Jan 13 18:22:54 2020 >> New Revision: 356693 >> URL: https://svnweb.freebsd.org/changeset/base/356693 >> >> Log: >> loader: allocate properly aligned buffe

Re: svn commit: r356693 - in head/stand: efi/libefi i386/libi386 libofw uboot/lib

2020-01-13 Thread Ian Lepore
On Mon, 2020-01-13 at 20:43 +0200, Toomas Soome wrote: > > On 13. Jan 2020, at 20:31, Ian Lepore wrote: > > > > On Mon, 2020-01-13 at 18:22 +, Toomas Soome wrote: > > > Author: tsoome > > > Date: Mon Jan 13 18:22:54 2020 > > > New Revision: 356693 > > > URL: https://svnweb.freebsd.org/changes

Re: svn commit: r356693 - in head/stand: efi/libefi i386/libi386 libofw uboot/lib

2020-01-13 Thread Toomas Soome via svn-src-head
> On 13. Jan 2020, at 20:45, Ian Lepore wrote: > > On Mon, 2020-01-13 at 20:43 +0200, Toomas Soome wrote: >>> On 13. Jan 2020, at 20:31, Ian Lepore wrote: >>> >>> On Mon, 2020-01-13 at 18:22 +, Toomas Soome wrote: Author: tsoome Date: Mon Jan 13 18:22:54 2020 New Revision:

svn commit: r356700 - in head/stand: efi/libefi i386/libi386 libofw uboot/lib

2020-01-13 Thread Toomas Soome
Author: tsoome Date: Mon Jan 13 20:02:27 2020 New Revision: 356700 URL: https://svnweb.freebsd.org/changeset/base/356700 Log: Backout 356693. The libsa malloc does provide necessary alignment and memalign by 4 will reduce alignment for some platforms. Thanks for Ian for pointing this out. M

svn commit: r356701 - head/contrib/llvm-project/llvm/lib/Target/Mips

2020-01-13 Thread Dimitry Andric
Author: dim Date: Mon Jan 13 20:31:10 2020 New Revision: 356701 URL: https://svnweb.freebsd.org/changeset/base/356701 Log: Merge commit f46ba4f07 from llvm git (by Simon Atanasyan): [mips] Use less registers to load address of TargetExternalSymbol There is no pattern matched `add h

svn commit: r356702 - head/sys/netinet

2020-01-13 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 13 21:12:10 2020 New Revision: 356702 URL: https://svnweb.freebsd.org/changeset/base/356702 Log: Fix yet another regression from r354484. Error code from cr_cansee() aliases with hard error from other operations. Reported by: flo Modified: head/sys/netine

svn commit: r356703 - head/sys/dev/vmware/vmxnet3

2020-01-13 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Jan 13 21:26:17 2020 New Revision: 356703 URL: https://svnweb.freebsd.org/changeset/base/356703 Log: vmx: fix initialization of TSO related descriptor fields Fix a mistake introduced by r343291, which ported the vmx(4) driver to iflib. In case of TSO, the hle

svn commit: r356704 - in head/sys: dev/netmap net

2020-01-13 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Jan 13 21:47:23 2020 New Revision: 356704 URL: https://svnweb.freebsd.org/changeset/base/356704 Log: netmap: disable passthrough with no hypervisor support The netmap passthrough subsystem requires proper support in the hypervisor. In particular, two PCI device

svn commit: r356705 - head/sys/fs/nfs

2020-01-13 Thread Eric van Gyzen
Author: vangyzen Date: Mon Jan 13 21:49:27 2020 New Revision: 356705 URL: https://svnweb.freebsd.org/changeset/base/356705 Log: Add missing comma in nfsv4_errstr Reported by: Coverity CID: 1412243 Sponsored by: Dell EMC Isilon Modified: head/sys/fs/nfs/nfsv4_errstr.h Modif

svn commit: r356706 - head/sbin/savecore

2020-01-13 Thread Eric van Gyzen
Author: vangyzen Date: Mon Jan 13 22:01:37 2020 New Revision: 356706 URL: https://svnweb.freebsd.org/changeset/base/356706 Log: savecore: include time zone in info.N file This helps with event correlation when machines are distributed across multiple time zones. Format the time with

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

2020-01-13 Thread Alexander Motin
Author: mav Date: Mon Jan 13 22:06:16 2020 New Revision: 356707 URL: https://svnweb.freebsd.org/changeset/base/356707 Log: Map ECKSUM and EFRAGS from ZFS onto real errnos. Make it less confusing when, for example, stat sets errno to 122 because a checksum failed in ZFS: Before: getfa

Re: svn commit: r356706 - head/sbin/savecore

2020-01-13 Thread Gleb Smirnoff
Eric, looks like this changes content format of info.X, whatever libxo output you choose, thus this change at minimum needs to be documented in UPDATING and in release notes for next release. On Mon, Jan 13, 2020 at 10:01:38PM +, Eric van Gyzen wrote: E> Author: vangyzen E> Date: Mon Jan 13

svn commit: r356708 - head/usr.sbin/fstyp

2020-01-13 Thread Eric van Gyzen
Author: vangyzen Date: Mon Jan 13 22:33:48 2020 New Revision: 356708 URL: https://svnweb.freebsd.org/changeset/base/356708 Log: fstyp hammer: use strlcpy Use strlcpy to guarantee NUL termination. Due to this, there is no need for strncmp; simply use strcmp. Reported by: Coverity

svn commit: r356709 - head/usr.sbin/fstyp

2020-01-13 Thread Eric van Gyzen
Author: vangyzen Date: Mon Jan 13 22:36:29 2020 New Revision: 356709 URL: https://svnweb.freebsd.org/changeset/base/356709 Log: fstyp hammer2: remove dead code best_i will always be >= 0, so remove code to test otherwise. Reported by: Coverity CID: 1412244 MFC after:2

svn commit: r356710 - head/sys/powerpc/mpc85xx

2020-01-13 Thread Justin Hibbits
Author: jhibbits Date: Mon Jan 13 23:09:00 2020 New Revision: 356710 URL: https://svnweb.freebsd.org/changeset/base/356710 Log: powerpc/mpc85xx: Partially revert r356640 The count block was correct before. r356640 caused a read past the end of the tuple. Modified: head/sys/powerpc/mpc

svn commit: r356713 - head/sys/dev/cxgbe/iw_cxgbe

2020-01-13 Thread Navdeep Parhar
Author: np Date: Tue Jan 14 01:43:04 2020 New Revision: 356713 URL: https://svnweb.freebsd.org/changeset/base/356713 Log: cxgbe/iw_cxgbe: Do not allow memory registrations with page size greater than 128MB, which is the maximum supported by the hardware in RDMA mode. Obtained from:

svn commit: r356714 - head/sys/ufs/ffs

2020-01-13 Thread Jeff Roberson
Author: jeff Date: Tue Jan 14 02:00:24 2020 New Revision: 356714 URL: https://svnweb.freebsd.org/changeset/base/356714 Log: Fix a long standing bug in journaled soft-updates. The dirrem structure needs to handle file removal, directory removal, file move, directory move, etc. The code in h

svn commit: r356715 - head/sys/vm

2020-01-13 Thread Ryan Libby
Author: rlibby Date: Tue Jan 14 02:13:46 2020 New Revision: 356715 URL: https://svnweb.freebsd.org/changeset/base/356715 Log: uma: fixup some ktr messages Reviewed by: markj Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd.org/D23148 Modified: head

svn commit: r356717 - head/sys/vm

2020-01-13 Thread Ryan Libby
Author: rlibby Date: Tue Jan 14 02:14:15 2020 New Revision: 356717 URL: https://svnweb.freebsd.org/changeset/base/356717 Log: uma: split slabzone into two sizes By allowing more items per slab, we can improve memory efficiency for small allocs. If we were just to increase the bitmap size

svn commit: r356716 - head/sys/kern

2020-01-13 Thread Ryan Libby
Author: rlibby Date: Tue Jan 14 02:14:02 2020 New Revision: 356716 URL: https://svnweb.freebsd.org/changeset/base/356716 Log: malloc: remove assumptions about MINALLOCSIZE Remove assumptions about the minimum MINALLOCSIZE, in order to allow testing of smaller MINALLOCSIZE. A following pa

svn commit: r356720 - head/sys/vm

2020-01-13 Thread Alexander Motin
Author: mav Date: Tue Jan 14 03:27:57 2020 New Revision: 356720 URL: https://svnweb.freebsd.org/changeset/base/356720 Log: Restore loop break in vm_pageout_lowmem(). r355004 removed return statement from this loop with intention to also call uma_reclaim_wakeup(). But in case of vm.lowmem

Re: svn commit: r356714 - head/sys/ufs/ffs

2020-01-13 Thread Pedro Giffuni
On 13/01/2020 21:00, Jeff Roberson wrote: Author: jeff Date: Tue Jan 14 02:00:24 2020 New Revision: 356714 URL: https://svnweb.freebsd.org/changeset/base/356714 Log: Fix a long standing bug in journaled soft-updates. The dirrem structure needs to handle file removal, directory removal,