svn commit: r364140 - in head/sys: kern sys

2020-08-11 Thread Mateusz Guzik
Author: mjg Date: Wed Aug 12 04:53:02 2020 New Revision: 364140 URL: https://svnweb.freebsd.org/changeset/base/364140 Log: vfs: garbage collect vrefactn Modified: head/sys/kern/vfs_subr.c head/sys/sys/vnode.h Modified: head/sys/kern/vfs_subr.c

svn commit: r364141 - in head/sys: kern sys

2020-08-11 Thread Mateusz Guzik
Author: mjg Date: Wed Aug 12 04:53:20 2020 New Revision: 364141 URL: https://svnweb.freebsd.org/changeset/base/364141 Log: vfs: inline vrefcnt Modified: head/sys/kern/vfs_subr.c head/sys/sys/vnode.h Modified: head/sys/kern/vfs_subr.c

svn commit: r364139 - head/sys/kern

2020-08-11 Thread Mateusz Guzik
Author: mjg Date: Wed Aug 12 04:52:35 2020 New Revision: 364139 URL: https://svnweb.freebsd.org/changeset/base/364139 Log: vfs: reimplement vref on top of vget No change in generated assembly. Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

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

2020-08-11 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 12 04:35:49 2020 New Revision: 364138 URL: https://svnweb.freebsd.org/changeset/base/364138 Log: Fix a bug introduced by r363001 for the ext_pgs case. r363001 added support for ext_pgs mbufs to nfsm_uiombuf(). By inspection, I noticed that "mlen" was not

svn commit: r364136 - stable/12/sys/dev/acpica

2020-08-11 Thread Alexander Motin
Author: mav Date: Wed Aug 12 02:05:33 2020 New Revision: 364136 URL: https://svnweb.freebsd.org/changeset/base/364136 Log: MFC r364037: Add some more checks to make APEI driver more robust. Modified: stable/12/sys/dev/acpica/acpi_apei.c Directory Properties: stable/12/ (props changed)

svn commit: r364135 - in head/sys: fs/devfs kern

2020-08-11 Thread Conrad Meyer
Author: cem Date: Wed Aug 12 00:32:31 2020 New Revision: 364135 URL: https://svnweb.freebsd.org/changeset/base/364135 Log: devfs: Abstract locking assertions The conversion was largely mechanical: sed(1) with: -e 's|mtx_assert(, MA_OWNED)|dev_lock_assert_locked()|g' -e

Re: svn commit: r364129 - head/sys/vm

2020-08-11 Thread Conrad Meyer
Done in r364134. On Tue, Aug 11, 2020 at 3:31 PM Mark Johnston wrote: > > On Tue, Aug 11, 2020 at 03:21:31PM -0700, Conrad Meyer wrote: > > Hi Konstantin, Mark (raised the same question), > > > > On Tue, Aug 11, 2020 at 2:32 PM Konstantin Belousov > > wrote: > > > > > > On Tue, Aug 11, 2020 at

svn commit: r364134 - head/sys/vm

2020-08-11 Thread Conrad Meyer
Author: cem Date: Wed Aug 12 00:21:30 2020 New Revision: 364134 URL: https://svnweb.freebsd.org/changeset/base/364134 Log: Back out unrelated change Reported by: kib, markj X-MFC-With: r364129 Modified: head/sys/vm/vm_page.c Modified: head/sys/vm/vm_page.c

svn commit: r364133 - head/libexec/rc/rc.d

2020-08-11 Thread Cy Schubert
Author: cy Date: Tue Aug 11 23:36:38 2020 New Revision: 364133 URL: https://svnweb.freebsd.org/changeset/base/364133 Log: When booting a system with WITHOUT_IPFILTER the following errors are encountered at boot time: rcorder: requirement `ipfs' in file `/etc/rc.d/netif' has no providers.

svn commit: r364132 - head/tools/debugscripts

2020-08-11 Thread John-Mark Gurney
Author: jmg Date: Tue Aug 11 22:33:56 2020 New Revision: 364132 URL: https://svnweb.freebsd.org/changeset/base/364132 Log: since kld_deb.py was removed a while back, this script isn't useful anymore... Deleted: head/tools/debugscripts/kgdb ___

Re: svn commit: r364129 - head/sys/vm

2020-08-11 Thread Mark Johnston
On Tue, Aug 11, 2020 at 03:21:31PM -0700, Conrad Meyer wrote: > Hi Konstantin, Mark (raised the same question), > > On Tue, Aug 11, 2020 at 2:32 PM Konstantin Belousov > wrote: > > > > On Tue, Aug 11, 2020 at 08:37:45PM +, Conrad Meyer wrote: > > > Author: cem > > > Date: Tue Aug 11

Re: svn commit: r364129 - head/sys/vm

2020-08-11 Thread Conrad Meyer
Hi Konstantin, Mark (raised the same question), On Tue, Aug 11, 2020 at 2:32 PM Konstantin Belousov wrote: > > On Tue, Aug 11, 2020 at 08:37:45PM +, Conrad Meyer wrote: > > Author: cem > > Date: Tue Aug 11 20:37:45 2020 > > New Revision: 364129 > > URL:

Re: svn commit: r364129 - head/sys/vm

2020-08-11 Thread Mark Johnston
On Tue, Aug 11, 2020 at 08:37:45PM +, Conrad Meyer wrote: > Author: cem > Date: Tue Aug 11 20:37:45 2020 > New Revision: 364129 > URL: https://svnweb.freebsd.org/changeset/base/364129 > > Log: > Add support for multithreading the inactive queue pageout within a domain. > > In very high

svn commit: r364131 - head/usr.bin/tput

2020-08-11 Thread Gordon Bergling
Author: gbe (doc committer) Date: Tue Aug 11 21:44:43 2020 New Revision: 364131 URL: https://svnweb.freebsd.org/changeset/base/364131 Log: tput(1): Several enhancements for the manual page - a couple of descriptions are incomplete - synopsis doesn't show that all arguments are optional

Re: svn commit: r364129 - head/sys/vm

2020-08-11 Thread Konstantin Belousov
On Tue, Aug 11, 2020 at 08:37:45PM +, Conrad Meyer wrote: > Author: cem > Date: Tue Aug 11 20:37:45 2020 > New Revision: 364129 > URL: https://svnweb.freebsd.org/changeset/base/364129 > > Log: > Add support for multithreading the inactive queue pageout within a domain. > > In very high

svn commit: r364130 - head/sys/sys

2020-08-11 Thread Conrad Meyer
Author: cem Date: Tue Aug 11 20:42:21 2020 New Revision: 364130 URL: https://svnweb.freebsd.org/changeset/base/364130 Log: smp.h: Reconcile definition and declaration of smp_ncpus The variable is defined unconditionally; declare it unconditionally as well. It is already initialized to

svn commit: r364129 - head/sys/vm

2020-08-11 Thread Conrad Meyer
Author: cem Date: Tue Aug 11 20:37:45 2020 New Revision: 364129 URL: https://svnweb.freebsd.org/changeset/base/364129 Log: Add support for multithreading the inactive queue pageout within a domain. In very high throughput workloads, the inactive scan can become overwhelmed as you have

svn commit: r364128 - stable/12/sys/dev/rtwn/pci

2020-08-11 Thread Mark Johnston
Author: markj Date: Tue Aug 11 17:54:10 2020 New Revision: 364128 URL: https://svnweb.freebsd.org/changeset/base/364128 Log: MFC r350885 (by avos): rtwn_pci: add device ID for RTL8192CE. PR: 239795 Modified: stable/12/sys/dev/rtwn/pci/rtwn_pci_attach.h Directory Properties:

svn commit: r364127 - stable/11/share/examples/etc

2020-08-11 Thread Gregory Neil Shapiro
Author: gshapiro Date: Tue Aug 11 17:53:21 2020 New Revision: 364127 URL: https://svnweb.freebsd.org/changeset/base/364127 Log: MFC: Mirror recommendation from Handbook to avoid linking conflicts when pulling in SASL libraries. (r363750) Modified:

svn commit: r364126 - stable/12/share/examples/etc

2020-08-11 Thread Gregory Neil Shapiro
Author: gshapiro Date: Tue Aug 11 17:51:31 2020 New Revision: 364126 URL: https://svnweb.freebsd.org/changeset/base/364126 Log: MFC: Mirror recommendation from Handbook to avoid linking conflicts when pulling in SASL libraries. (r363750) Modified:

Re: svn commit: r364124 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2020-08-11 Thread Jessica Clarke
On 11 Aug 2020, at 17:46, Alex Richardson wrote: > > Author: arichardson > Date: Tue Aug 11 16:46:54 2020 > New Revision: 364124 > URL: https://svnweb.freebsd.org/changeset/base/364124 > > Log: > Fix libdtrace build with zsh as /bin/sh > > When zsh runs in POSIX sh mode it does not support

svn commit: r364125 - in head: share/mk sys/conf

2020-08-11 Thread Alex Richardson
Author: arichardson Date: Tue Aug 11 16:47:00 2020 New Revision: 364125 URL: https://svnweb.freebsd.org/changeset/base/364125 Log: Allow linking the kernel with a linker that doesn't support -z ifunc-noplt This can happen when linking with upstream LLD < 9.0. Reviewed By: markj

svn commit: r364124 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2020-08-11 Thread Alex Richardson
Author: arichardson Date: Tue Aug 11 16:46:54 2020 New Revision: 364124 URL: https://svnweb.freebsd.org/changeset/base/364124 Log: Fix libdtrace build with zsh as /bin/sh When zsh runs in POSIX sh mode it does not support the -e flag to echo. Use printf instead of echo to avoid the "-e"

svn commit: r364122 - head/share/mk

2020-08-11 Thread Alex Richardson
Author: arichardson Date: Tue Aug 11 16:46:43 2020 New Revision: 364122 URL: https://svnweb.freebsd.org/changeset/base/364122 Log: Add CLANG/LLD/LLD to BROKEN_OPTIONS when building on non-FreeBSD These tools require a bootstrap llvm-tblgen/clang-tblgen and that cannot be built with the

svn commit: r364123 - in head: . cddl/contrib/opensolaris/lib/libdtrace/common

2020-08-11 Thread Alex Richardson
Author: arichardson Date: Tue Aug 11 16:46:48 2020 New Revision: 364123 URL: https://svnweb.freebsd.org/changeset/base/364123 Log: Fix -DBUILD_WITH_STRICT_TMPPATH dtrace builds Some of the scripts used for libdtrace invoke nawk instead of awk (for example

svn commit: r364121 - head/usr.sbin/pwd_mkdb/bootstrap

2020-08-11 Thread Alex Richardson
Author: arichardson Date: Tue Aug 11 16:46:38 2020 New Revision: 364121 URL: https://svnweb.freebsd.org/changeset/base/364121 Log: Fix bootstrapping of pwd_mkdb after r364049 I moved the bootstrap pwd.h to a subdirectory in r364049 but forgot to adjust the #include path. Modified:

svn commit: r364120 - head/tools/build

2020-08-11 Thread Alex Richardson
Author: arichardson Date: Tue Aug 11 16:46:33 2020 New Revision: 364120 URL: https://svnweb.freebsd.org/changeset/base/364120 Log: Fix bootstrapping ldd after r362152 r362152 started using DF_1_PIE, which is not present in older versions of sys/elf_common.h. To fix this include the ELF

svn commit: r364119 - in head: . share/mk stand/i386/loader sys/modules/linux sys/modules/linux64

2020-08-11 Thread Alex Richardson
Author: arichardson Date: Tue Aug 11 16:46:27 2020 New Revision: 364119 URL: https://svnweb.freebsd.org/changeset/base/364119 Log: Allow overriding the tool used for stripping binaries Since the make variable STRIP is already used for other purposes, this uses STRIPBIN (which is also

svn commit: r364118 - head/sys/compat/netbsd

2020-08-11 Thread Mark Johnston
Author: markj Date: Tue Aug 11 16:40:09 2020 New Revision: 364118 URL: https://svnweb.freebsd.org/changeset/base/364118 Log: Remove sys/compat/netbsd. It contained only a header used by ncv(4), which was mainly used on pc98 systems. Both ncv(4) and pc98 support have long been removed.

svn commit: r364117 - in head: sbin/ipfw sys/netpfil/ipfw

2020-08-11 Thread Gleb Smirnoff
Author: glebius Date: Tue Aug 11 15:46:22 2020 New Revision: 364117 URL: https://svnweb.freebsd.org/changeset/base/364117 Log: ipfw: make the "frag" keyword accept additional options "mf", "df", "rf" and "offset". This allows to match on specific bits of ip_off field. For

svn commit: r364116 - stable/12/usr.sbin/sesutil

2020-08-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 11 15:08:32 2020 New Revision: 364116 URL: https://svnweb.freebsd.org/changeset/base/364116 Log: MFC r362807: Fix misplaced voltages/temperatures labels in 'sesutil show'. PR: bin/247384 Reported by: brd Modified:

svn commit: r364115 - stable/12/usr.sbin/sesutil

2020-08-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 11 15:07:27 2020 New Revision: 364115 URL: https://svnweb.freebsd.org/changeset/base/364115 Log: MFC r355751: Add 'sesutil show' subcommand to show enclosure and its contents in a user-friendly way. Relnotes: yes Sponsored by: Klara, Inc. Modified:

svn commit: r364114 - stable/12/usr.sbin/sesutil

2020-08-11 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 11 15:05:02 2020 New Revision: 364114 URL: https://svnweb.freebsd.org/changeset/base/364114 Log: MFC r355130: Fix typos. Sponsored by: Klara, Inc. Modified: stable/12/usr.sbin/sesutil/eltsub.c Directory Properties: stable/12/ (props changed)

svn commit: r364113 - in head/sys: fs/devfs kern sys

2020-08-11 Thread Mateusz Guzik
Author: mjg Date: Tue Aug 11 14:27:57 2020 New Revision: 364113 URL: https://svnweb.freebsd.org/changeset/base/364113 Log: devfs: rework si_usecount to track opens This removes a lot of special casing from the VFS layer. Reviewed by: kib (previous version) Tested by:pho

svn commit: r364112 - head/usr.bin/script

2020-08-11 Thread Mark Johnston
Author: markj Date: Tue Aug 11 14:19:05 2020 New Revision: 364112 URL: https://svnweb.freebsd.org/changeset/base/364112 Log: script: Minor cleanups. - Instead of using isatty() to decide whether to call tcgetattr(), just call tcgetattr() directly, since that's all that isatty() does

svn commit: r364111 - stable/12/sys/netinet6

2020-08-11 Thread Mark Johnston
Author: markj Date: Tue Aug 11 13:51:48 2020 New Revision: 364111 URL: https://svnweb.freebsd.org/changeset/base/364111 Log: MFC r363841: Remove an incorrect assertion from in6p_lookup_mcast_ifp(). Modified: stable/12/sys/netinet6/in6_mcast.c Directory Properties: stable/12/ (props

Re: svn commit: r364110 - head/sys/compat/linuxkpi/common/include/linux

2020-08-11 Thread Emmanuel Vadot
On Tue, 11 Aug 2020 12:41:40 + (UTC) Hans Petter Selasky wrote: > Author: hselasky > Date: Tue Aug 11 12:41:40 2020 > New Revision: 364110 > URL: https://svnweb.freebsd.org/changeset/base/364110 > > Log: > Use atomic_clear_rel_long() to implement clear_bit_unlock() in the LinuxKPI >

Re: svn commit: r363842 - head/sys/compat/linuxkpi/common/include/linux

2020-08-11 Thread Hans Petter Selasky
On 2020-08-11 14:34, Shawn Webb wrote: If you use git, you can easily cherry-pick the fix from HardenedBSD: Hi, There is atomic_clear_rel_long() which does the release in addition to clearing. See: https://svnweb.freebsd.org/changeset/base/364110 I used a macro, in case it is not

svn commit: r364110 - head/sys/compat/linuxkpi/common/include/linux

2020-08-11 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 11 12:41:40 2020 New Revision: 364110 URL: https://svnweb.freebsd.org/changeset/base/364110 Log: Use atomic_clear_rel_long() to implement clear_bit_unlock() in the LinuxKPI after r363842. Suggested by: alc@ MFC after:1 week Sponsored by: Mellanox

Re: svn commit: r363842 - head/sys/compat/linuxkpi/common/include/linux

2020-08-11 Thread Shawn Webb
If you use git, you can easily cherry-pick the fix from HardenedBSD: https://github.com/HardenedBSD/hardenedBSD/commit/e7ee74598b987fdc702614668b7ea85884289cf1 On Tue, Aug 11, 2020 at 02:31:26PM +0200, Mateusz Guzik wrote: > Hi. This remains unfixed. > > On 8/4/20, Emmanuel Vadot wrote: > > On

Re: svn commit: r363842 - head/sys/compat/linuxkpi/common/include/linux

2020-08-11 Thread Mateusz Guzik
Hi. This remains unfixed. On 8/4/20, Emmanuel Vadot wrote: > On Tue, 4 Aug 2020 13:11:02 -0500 > Alan Cox wrote: > >> >> On 8/4/20 10:25 AM, Emmanuel Vadot wrote: >> > Author: manu >> > Date: Tue Aug 4 15:25:22 2020 >> > New Revision: 363842 >> > URL:

svn commit: r364109 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2020-08-11 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 11 12:17:46 2020 New Revision: 364109 URL: https://svnweb.freebsd.org/changeset/base/364109 Log: Need to clone the task struct fields related to RCU aswell in the LinuxKPI after r359727. This fixes a minor regression issue. Else the priority tracking won't

svn commit: r364108 - stable/11/usr.bin/xinstall

2020-08-11 Thread Eugene Grosbein
Author: eugen Date: Tue Aug 11 11:33:58 2020 New Revision: 364108 URL: https://svnweb.freebsd.org/changeset/base/364108 Log: MFC r363064,363067,363081,363136: optimize install(1) a bit. Currently, "install -s -S" behaviour is inefficient for upgrade. First it finds that destination file

svn commit: r364107 - stable/12/usr.bin/xinstall

2020-08-11 Thread Eugene Grosbein
Author: eugen Date: Tue Aug 11 11:32:44 2020 New Revision: 364107 URL: https://svnweb.freebsd.org/changeset/base/364107 Log: MFC r363064,363067,363081,363136: optimize install(1) a bit. Currently, "install -s -S" behaviour is inefficient for upgrade. First it finds that destination file

svn commit: r364106 - stable/12/lib/libc/gen

2020-08-11 Thread Gordon Bergling
Author: gbe (doc committer) Date: Tue Aug 11 10:56:44 2020 New Revision: 364106 URL: https://svnweb.freebsd.org/changeset/base/364106 Log: MFC r363829: directory(3): Add an ERRORS section - Add an ERRORS section for opendir(3) and closedir(3) - Document also the errors of readdir(3),

svn commit: r364105 - stable/12/usr.sbin/iovctl

2020-08-11 Thread Gordon Bergling
Author: gbe (doc committer) Date: Tue Aug 11 10:41:36 2020 New Revision: 364105 URL: https://svnweb.freebsd.org/changeset/base/364105 Log: MFC r363830: iovctl.conf(5): Use Lk macro for the URL of the UCL website PR: 248334 Submitted by: chuck at tuffli dot net Reviewed by:

svn commit: r364104 - in head: . release/packages

2020-08-11 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 11 10:07:59 2020 New Revision: 364104 URL: https://svnweb.freebsd.org/changeset/base/364104 Log: pkgbase: Replace / with | for PKG_WWW PKG_WWW contain / char, replace the delimiter by a '|'. Reported by: 0mp Modified: head/Makefile.inc1

svn commit: r364103 - in head: . release/packages

2020-08-11 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 11 08:42:24 2020 New Revision: 364103 URL: https://svnweb.freebsd.org/changeset/base/364103 Log: pkgbase: Add PKG_NAME_PREFIX, PKG_MAINTAINER and PKG_WWW This is useful for downstream users to customize the packages. Reviewed by: emaste Differential

Re: svn commit: r364072 - in head/sys: netinet netinet6

2020-08-11 Thread Hans Petter Selasky
On 2020-08-11 07:37, Gleb Smirnoff wrote: Hans, On Mon, Aug 10, 2020 at 10:40:20AM +, Hans Petter Selasky wrote: H> Author: hselasky H> Date: Mon Aug 10 10:40:19 2020 H> New Revision: 364072 H> URL: https://svnweb.freebsd.org/changeset/base/364072 H> H> Log: H> Use proper prototype for

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

2020-08-11 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 11 08:31:40 2020 New Revision: 364102 URL: https://svnweb.freebsd.org/changeset/base/364102 Log: Use a static initializer for the multicast free tasks. This makes the SYSINIT() function updated in r364072 superfluous. Suggested by: glebius@ MFC after:

svn commit: r364101 - head/sys/net/route

2020-08-11 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Aug 11 07:23:07 2020 New Revision: 364101 URL: https://svnweb.freebsd.org/changeset/base/364101 Log: Do not enter epoch in add_route(), as it is already called in epoch. Reviewed by: glebius Modified: head/sys/net/route/route_ctl.c Modified:

svn commit: r364100 - head/sys/net/route

2020-08-11 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Aug 11 07:21:32 2020 New Revision: 364100 URL: https://svnweb.freebsd.org/changeset/base/364100 Log: Make _route() static to finish the transition to the new kpi. Discussed with: glebius Modified: head/sys/net/route/route_ctl.c

svn commit: r364099 - in head/sys: net/route netinet6

2020-08-11 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Aug 11 07:05:30 2020 New Revision: 364099 URL: https://svnweb.freebsd.org/changeset/base/364099 Log: Fix rib_subscribe() waitok flag by performing allocation outside epoch. Make in6_inithead() use rib_subscribe with waitok to achieve reliable subscription