svn commit: r362883 - head/stand/libsa/zfs

2020-07-02 Thread Toomas Soome
Author: tsoome Date: Thu Jul 2 07:03:15 2020 New Revision: 362883 URL: https://svnweb.freebsd.org/changeset/base/362883 Log: loader: potential memory leak and check return values Need to free nvlist before return from vdev_from_nvlist(). Sponsored by: Netflix, Klara Inc. Modified:

svn commit: r362884 - head/stand/libsa/zfs

2020-07-02 Thread Toomas Soome
Author: tsoome Date: Thu Jul 2 07:15:48 2020 New Revision: 362884 URL: https://svnweb.freebsd.org/changeset/base/362884 Log: loader: zfs reader does not need BOOT2 bits After switching zfsloader to use full libsa, we do not need spa_get_primary() and spa_get_primary_vdev() any more.

svn commit: r362885 - head/sys/kern

2020-07-02 Thread Konstantin Belousov
Author: kib Date: Thu Jul 2 10:40:47 2020 New Revision: 362885 URL: https://svnweb.freebsd.org/changeset/base/362885 Log: Use tdfind() in pget(). Reviewed by: jhb, hselasky Sponsored by: Mellanox Technologies MFC after:1 week Differential revision:https://reviews.freebsd

svn commit: r362886 - head/sys/compat/linuxkpi/common/src

2020-07-02 Thread Konstantin Belousov
Author: kib Date: Thu Jul 2 10:42:58 2020 New Revision: 362886 URL: https://svnweb.freebsd.org/changeset/base/362886 Log: linuxkpi: improvements for linux_pid_task() and linux_get_pid_task(). Unify functions bodies. Do not call tdfind() if pid is passed, and do not call pfind() if tid

svn commit: r362887 - head/sys/dev/mlx5/mlx5_core

2020-07-02 Thread Konstantin Belousov
Author: kib Date: Thu Jul 2 10:44:45 2020 New Revision: 362887 URL: https://svnweb.freebsd.org/changeset/base/362887 Log: mlx5_core: remove unneccessary LFENCE instruction. Use fence instead of barrier, which is optimized to take advantage of the x86 TSO memory model. Reviewed by:

svn commit: r362888 - head/sys/kern

2020-07-02 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 2 12:54:50 2020 New Revision: 362888 URL: https://svnweb.freebsd.org/changeset/base/362888 Log: cache: fix misplaced fence in cache_ncp_invalidate The intent was to mark the entry as invalid before cache_zap starts messing with it. While here add some comme

svn commit: r362889 - head/sys/kern

2020-07-02 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 2 12:56:20 2020 New Revision: 362889 URL: https://svnweb.freebsd.org/changeset/base/362889 Log: cache: add missing call to cache_ncp_invalid for negative hits Note the dtrace probe can fire even the entry is gone, but I don't think that's worth fixing. Modifie

svn commit: r362890 - head/sys/kern

2020-07-02 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 2 12:58:07 2020 New Revision: 362890 URL: https://svnweb.freebsd.org/changeset/base/362890 Log: cred: add a prediction to crfree for td->td_realucred == cr This matches crhold and eliminates an assembly maze in the common case. Modified: head/sys/kern/kern_prot

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

2020-07-02 Thread Alan Somers
Author: asomers Date: Thu Jul 2 13:17:31 2020 New Revision: 362891 URL: https://svnweb.freebsd.org/changeset/base/362891 Log: Fix page fault in zfsctl_snapdir_getattr Must acquire the z_teardown_lock before accessing the zfsvfs_t object. I can't reproduce this panic on demand, but this l

Re: svn commit: r362769 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2020-07-02 Thread Edward Tomasz Napierała
On 0629T1242, Kyle Evans wrote: > On Mon, Jun 29, 2020 at 10:27 AM Shawn Webb > wrote: > > > > Hey Kyle, > > > > On Mon, Jun 29, 2020 at 03:09:14AM +, Kyle Evans wrote: > > > Author: kevans > > > Date: Mon Jun 29 03:09:14 2020 > > > New Revision: 362769 > > > URL: https://svnweb.freebsd.org/c

svn commit: r362900 - in head/sys: net netinet netinet6 netpfil/ipfw netpfil/ipfw/nat64

2020-07-02 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Jul 2 21:04:08 2020 New Revision: 362900 URL: https://svnweb.freebsd.org/changeset/base/362900 Log: Complete conversions from fib<4|6>_lookup_nh_ to fib<4|6>_lookup(). fib[46]_lookup_nh_ represents pre-epoch generation of fib api, providing less guarantees ov

svn commit: r362901 - head/usr.bin/calendar/calendars/de_DE.ISO8859-1

2020-07-02 Thread Greg Lehey
Author: grog Date: Thu Jul 2 22:59:05 2020 New Revision: 362901 URL: https://svnweb.freebsd.org/changeset/base/362901 Log: Use canonical description for Schlacht bei Königgrätz, add year. Modified: head/usr.bin/calendar/calendars/de_DE.ISO8859-1/calendar.geschichte Modified: head/usr.bin/ca

svn commit: r362902 - in head/lib/csu: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv

2020-07-02 Thread John Baldwin
Author: jhb Date: Fri Jul 3 00:09:41 2020 New Revision: 362902 URL: https://svnweb.freebsd.org/changeset/base/362902 Log: Consolidate duplicated logic in csu Makefiles to lib/csu/Makefile.inc. Reviewed by: kib Sponsored by: DARPA Differential Revision:https://reviews.freebsd.o

Re: svn commit: r362736 - head/sys/arm64/rockchip

2020-07-02 Thread Oleksandr Tymoshenko
Peter Jeremy (pe...@rulingia.com) wrote: > On 2020-Jul-01 18:57:47 +1000, Peter Jeremy wrote: > >On 2020-Jun-28 21:11:10 +, Oleksandr Tymoshenko > >wrote: > >>Log: > >> Configure rx_delay/tx_delay values for RK3399/RK3328 GMAC > >> > >> For 1000Mb mode to work reliably TX/RX delays need

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

2020-07-02 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 3 01:19:29 2020 New Revision: 362903 URL: https://svnweb.freebsd.org/changeset/base/362903 Log: Add support for ext_pgs mbufs to nfsm_build(). This is the first of a series of commits that add support to the NFS client and server for building RPC messages i

Re: svn commit: r362900 - in head/sys: net netinet netinet6 netpfil/ipfw netpfil/ipfw/nat64

2020-07-02 Thread Li-Wen Hsu
On Fri, Jul 3, 2020 at 5:04 AM Alexander V. Chernikov wrote: > > Author: melifaro > Date: Thu Jul 2 21:04:08 2020 > New Revision: 362900 > URL: https://svnweb.freebsd.org/changeset/base/362900 > > Log: > Complete conversions from fib<4|6>_lookup_nh_ to > fib<4|6>_lookup(). > > fib[46]_lookup

svn commit: r362904 - head/tests/sys/netinet6

2020-07-02 Thread Li-Wen Hsu
Author: lwhsu Date: Fri Jul 3 02:02:34 2020 New Revision: 362904 URL: https://svnweb.freebsd.org/changeset/base/362904 Log: Temporarily skip sys.netinet6.redirect.valid_redirect in CI PR: 247729 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/netinet6/redirect.

svn commit: r362905 - in head/sys/dev/cxgbe: . common

2020-07-02 Thread Navdeep Parhar
Author: np Date: Fri Jul 3 04:44:23 2020 New Revision: 362905 URL: https://svnweb.freebsd.org/changeset/base/362905 Log: cxgbe(4): changes in the Tx path to help increase tx coalescing. - Ask the firmware for the number of frames that can be stuffed in one work request. - Modify m

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

2020-07-02 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 3 05:21:05 2020 New Revision: 362906 URL: https://svnweb.freebsd.org/changeset/base/362906 Log: Fix build breakage caused by r362903. Only pmap.h is needed now, but vm_page.h and vm_pageout.h is needed later, so put them in now. Pointy hat goes on me. Modi