svn commit: r356676 - in head: contrib/unbound lib/libunbound usr.sbin/unbound usr.sbin/unbound/anchor usr.sbin/unbound/checkconf usr.sbin/unbound/control usr.sbin/unbound/daemon

2020-01-12 Thread Cy Schubert
Author: cy Date: Mon Jan 13 06:55:31 2020 New Revision: 356676 URL: https://svnweb.freebsd.org/changeset/base/356676 Log: Unbound's config.h is manually maintained, using a ./configure produced config.h as a guide. In practice contributed software maintains a copy of config.h within its buil

svn commit: r356678 - head/usr.bin/systat

2020-01-12 Thread Cy Schubert
Author: cy Date: Mon Jan 13 06:55:38 2020 New Revision: 356678 URL: https://svnweb.freebsd.org/changeset/base/356678 Log: Sync with r356645. desiredvnodes is now maxvnodes. Modified: head/usr.bin/systat/vmstat.c Modified: head/usr.bin/systat/vmstat.c =

svn commit: r356677 - head/usr.bin/systat

2020-01-12 Thread Cy Schubert
Author: cy Date: Mon Jan 13 06:55:35 2020 New Revision: 356677 URL: https://svnweb.freebsd.org/changeset/base/356677 Log: As of r356642 desiredvnodes is u_long. Modified: head/usr.bin/systat/vmstat.c Modified: head/usr.bin/systat/vmstat.c =

svn commit: r356675 - head/sys/riscv/riscv

2020-01-12 Thread Mitchell Horne
Author: mhorne Date: Mon Jan 13 03:39:02 2020 New Revision: 356675 URL: https://svnweb.freebsd.org/changeset/base/356675 Log: RISC-V: fix global symbol lookups for mpentry with lld This is a follow up to r356481. In locore.S, before virtual memory is set up, we should avoid using indirect

Re: svn commit: r356673 - in head/sys: kern sys

2020-01-12 Thread Mateusz Guzik
On 1/13/20, Mateusz Guzik wrote: > Author: mjg > Date: Mon Jan 13 02:39:41 2020 > New Revision: 356673 > URL: https://svnweb.freebsd.org/changeset/base/356673 > > Log: > vfs: per-cpu batched requeuing of free vnodes > > Constant requeuing adds significant lock contention in certain > workloa

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

2020-01-12 Thread Mateusz Guzik
Author: mjg Date: Mon Jan 13 02:39:41 2020 New Revision: 356673 URL: https://svnweb.freebsd.org/changeset/base/356673 Log: vfs: per-cpu batched requeuing of free vnodes Constant requeuing adds significant lock contention in certain workloads. Lessen the problem by batching it. Per-cp

svn commit: r356672 - in head/sys: fs/msdosfs fs/nfsserver fs/tmpfs fs/unionfs kern sys ufs/ufs

2020-01-12 Thread Mateusz Guzik
Author: mjg Date: Mon Jan 13 02:37:25 2020 New Revision: 356672 URL: https://svnweb.freebsd.org/changeset/base/356672 Log: vfs: rework vnode list management The current notion of an active vnode is eliminated. Vnodes transition between 0<->1 hold counts all the time and the associate

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

2020-01-12 Thread Mateusz Guzik
Author: mjg Date: Mon Jan 13 02:35:15 2020 New Revision: 356671 URL: https://svnweb.freebsd.org/changeset/base/356671 Log: ufs: use lazy list instead of active list for syncer Quota code is temporarily regressed to do a full vnode scan. Reviewed by: jeff Tested by:pho (in a larg

svn commit: r356670 - in head/sys: fs/nfsserver kern sys

2020-01-12 Thread Mateusz Guzik
Author: mjg Date: Mon Jan 13 02:34:02 2020 New Revision: 356670 URL: https://svnweb.freebsd.org/changeset/base/356670 Log: vfs: add per-mount vnode lazy list and use it for deferred inactive + msync This obviates the need to scan the entire active list looking for vnodes of interest.

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

2020-01-12 Thread Mateusz Guzik
Author: mjg Date: Mon Jan 13 02:31:51 2020 New Revision: 356669 URL: https://svnweb.freebsd.org/changeset/base/356669 Log: ufs: add a setter for inode i_flag field This will be used later to add vnodes to the lazy list. Reviewed by: kib (previous version), jeff Tested by:pho (in

svn commit: r356668 - head/sys/kern

2020-01-12 Thread Conrad Meyer
Author: cem Date: Sun Jan 12 23:52:16 2020 New Revision: 356668 URL: https://svnweb.freebsd.org/changeset/base/356668 Log: Fix a typo in r356667 comment No functional change. Reported by: bdragon Approved by: csprng(markm), earlier version X-MFC-With: r356667 Modified: head/

svn commit: r356667 - in head: lib/libc/sys sys/kern sys/sys

2020-01-12 Thread Conrad Meyer
Author: cem Date: Sun Jan 12 20:47:38 2020 New Revision: 356667 URL: https://svnweb.freebsd.org/changeset/base/356667 Log: getrandom(2): Add Linux GRND_INSECURE API flag Treat it as a synonym for GRND_NONBLOCK. The reasoning is this: We have two choices for handling Linux's GRND_INSEC

svn commit: r356666 - in head/usr.bin: factor primes

2020-01-12 Thread Garance A Drosehn
Author: gad Date: Sun Jan 12 20:25:11 2020 New Revision: 35 URL: https://svnweb.freebsd.org/changeset/base/35 Log: Fix the way 'factor' behaves when using OpenSSL to match the description of how it works when not compiled with OpenSSL. Also, allow users to specify a hexadecimal nu

Re: svn commit: r356656 - in head/sys: kern sys

2020-01-12 Thread Konstantin Belousov
On Sun, Jan 12, 2020 at 11:08:02AM +0100, Mateusz Guzik wrote: > On 1/12/20, Konstantin Belousov wrote: > > On Sun, Jan 12, 2020 at 06:09:10AM +, Mateusz Guzik wrote: > >> Author: mjg > >> Date: Sun Jan 12 06:09:10 2020 > >> New Revision: 356656 > >> URL: https://svnweb.freebsd.org/changeset/b

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

2020-01-12 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 12 17:52:32 2020 New Revision: 356663 URL: https://svnweb.freebsd.org/changeset/base/356663 Log: Fix race when accepting TCP connections. When expanding a SYN-cache entry to a socket/inp a two step approach was taken: 1) The local address was filled in, then

svn commit: r356662 - head/sys/netinet6

2020-01-12 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jan 12 17:41:09 2020 New Revision: 356662 URL: https://svnweb.freebsd.org/changeset/base/356662 Log: nd6_rtr: constantly use __func__ for nd6log() Over time one or two hard coded function names did not match the actual function anymore. Consistently use __func__ for

svn commit: r356661 - head/sys/netinet6

2020-01-12 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jan 12 16:58:21 2020 New Revision: 356661 URL: https://svnweb.freebsd.org/changeset/base/356661 Log: nd6_rtr: make nd6_prefix_onlink() static nd6_prefix_onlink() is not used anywhere outside nd6_rtr.c. Stop exporting it and make it file local static. Modified: hea

svn commit: r356660 - head/sys/netinet

2020-01-12 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 12 15:45:27 2020 New Revision: 356660 URL: https://svnweb.freebsd.org/changeset/base/356660 Log: Fix division by zero issue. Thanks to Stas Denisov for reporting the issue for the userland stack and providing a fix. MFC after:3 days Modified:

svn commit: r356659 - in head/sys: compat/linux kern sys

2020-01-12 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Jan 12 14:25:44 2020 New Revision: 356659 URL: https://svnweb.freebsd.org/changeset/base/356659 Log: dd kern_getpriority(), make Linuxulator use it. Reviewed by: kib, emaste MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r356658 - in head/sys: compat/linux kern sys

2020-01-12 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Jan 12 13:38:51 2020 New Revision: 356658 URL: https://svnweb.freebsd.org/changeset/base/356658 Log: Add kern_setpriority(), use it in Linuxulator. Reviewed by: kib MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:https:

Re: svn commit: r356656 - in head/sys: kern sys

2020-01-12 Thread Mateusz Guzik
On 1/12/20, Konstantin Belousov wrote: > On Sun, Jan 12, 2020 at 06:09:10AM +, Mateusz Guzik wrote: >> Author: mjg >> Date: Sun Jan 12 06:09:10 2020 >> New Revision: 356656 >> URL: https://svnweb.freebsd.org/changeset/base/356656 >> >> Log: >> Add "panicked" boolean which can be tested inste

Re: svn commit: r356656 - in head/sys: kern sys

2020-01-12 Thread Konstantin Belousov
On Sun, Jan 12, 2020 at 06:09:10AM +, Mateusz Guzik wrote: > Author: mjg > Date: Sun Jan 12 06:09:10 2020 > New Revision: 356656 > URL: https://svnweb.freebsd.org/changeset/base/356656 > > Log: > Add "panicked" boolean which can be tested instead of panicstr > > The test is performed al