svn commit: r352434 - in head/sys/mips: include mips

2019-09-16 Thread Jason A. Harmening
Author: jah Date: Tue Sep 17 03:39:31 2019 New Revision: 352434 URL: https://svnweb.freebsd.org/changeset/base/352434 Log: mips: move support for temporary mappings above KSEG0 to per-CPU data This is derived from similar work done in r310481 for i386 and r312610 for armv6/armv7. Addition

svn commit: r352433 - head/sys/vm

2019-09-16 Thread Doug Moore
Author: dougm Date: Tue Sep 17 02:53:59 2019 New Revision: 352433 URL: https://svnweb.freebsd.org/changeset/base/352433 Log: Remove dead code from vm_map_unlink_entry made dead by r351476, and also a no-longer-used enumerant. Reviewed by: alc Approved by: markj (mentor, implicit) Test

svn commit: r352432 - head/share/misc

2019-09-16 Thread Dmitri Goutnik
Author: dmgk (ports committer) Date: Tue Sep 17 00:22:20 2019 New Revision: 352432 URL: https://svnweb.freebsd.org/changeset/base/352432 Log: Amend r352422, add missing 'n' Reported by: yuripv Approved by: araujo (mentor) Differential Revision:https://reviews.freebsd.org/D2167

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

2019-09-16 Thread John-Mark Gurney
Author: jmg Date: Mon Sep 16 22:48:40 2019 New Revision: 352431 URL: https://svnweb.freebsd.org/changeset/base/352431 Log: fix the article to be correct... Modified: head/libexec/rc/rc.d/growfs Modified: head/libexec/rc/rc.d/growfs

svn commit: r352430 - in head/sys/riscv: conf riscv

2019-09-16 Thread Mitchell Horne
Author: mhorne Date: Mon Sep 16 22:17:16 2019 New Revision: 352430 URL: https://svnweb.freebsd.org/changeset/base/352430 Log: RISC-V: Support EARLY_AP_STARTUP The EARLY_AP_STARTUP option initializes non-boot processors much sooner during startup. This adds support for this option on RIS

svn commit: r352427 - in head/sys: fs/tmpfs kern sys ufs/ffs

2019-09-16 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 16 21:37:47 2019 New Revision: 352427 URL: https://svnweb.freebsd.org/changeset/base/352427 Log: vfs: convert struct mount counters to per-cpu There are 3 counters modified all the time in this structure - one for keeping the structure alive, one for preventing u

svn commit: r352426 - in head/sys: kern ufs/ffs

2019-09-16 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 16 21:33:16 2019 New Revision: 352426 URL: https://svnweb.freebsd.org/changeset/base/352426 Log: vfs: manage mnt_writeopcount with atomics See r352424. Reviewed by: kib, jeff Tested by:pho Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r352425 - head/sys/kern

2019-09-16 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 16 21:32:21 2019 New Revision: 352425 URL: https://svnweb.freebsd.org/changeset/base/352425 Log: vfs: manage mnt_lockref with atomics See r352424. Reviewed by: kib, jeff Tested by:pho Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r352424 - in head/sys: cddl/compat/opensolaris/kern kern sys vm

2019-09-16 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 16 21:31:02 2019 New Revision: 352424 URL: https://svnweb.freebsd.org/changeset/base/352424 Log: vfs: manage mnt_ref with atomics New primitive is introduced to denote sections can operate locklessly on aspects of struct mount, but which can also be disabled if n

svn commit: r352423 - head/usr.bin/calendar/calendars

2019-09-16 Thread Dmitri Goutnik
Author: dmgk (ports committer) Date: Mon Sep 16 20:43:20 2019 New Revision: 352423 URL: https://svnweb.freebsd.org/changeset/base/352423 Log: Add myself (dmgk) to calendar.freebsd Approved by: tz (mentor) Differential Revision:https://reviews.freebsd.org/D21675 Modified: head/

svn commit: r352422 - head/share/misc

2019-09-16 Thread Dmitri Goutnik
Author: dmgk (ports committer) Date: Mon Sep 16 20:41:37 2019 New Revision: 352422 URL: https://svnweb.freebsd.org/changeset/base/352422 Log: Add myself (dmgk) as a ports committer Approved by: tz (mentor) Differential Revision:https://reviews.freebsd.org/D21672 Modified: head

svn commit: r352421 - head/stand/libsa

2019-09-16 Thread Toomas Soome
Author: tsoome Date: Mon Sep 16 20:28:08 2019 New Revision: 352421 URL: https://svnweb.freebsd.org/changeset/base/352421 Log: loader: Malloc(0) should return NULL. We really should not allocate anything with size 0. Modified: head/stand/libsa/zalloc_malloc.c Modified: head/stand/libsa/z

svn commit: r352420 - head/stand/forth

2019-09-16 Thread Toomas Soome
Author: tsoome Date: Mon Sep 16 20:26:53 2019 New Revision: 352420 URL: https://svnweb.freebsd.org/changeset/base/352420 Log: loader_4th: scan_buffer can leave empty string on stack When the file processing is done, we will have string with lenght 0 in stack and we will attempt to alloca

svn commit: r352417 - head/sys/fs/fuse

2019-09-16 Thread Alan Somers
Author: asomers Date: Mon Sep 16 16:41:01 2019 New Revision: 352417 URL: https://svnweb.freebsd.org/changeset/base/352417 Log: Fix an off-by-one error from r351961 That revision addressed a Coverity CID that could lead to a buffer overflow, but it had an off-by-one error in the buffer siz

svn commit: r352414 - head/tests/sys/fs/fusefs

2019-09-16 Thread Alan Somers
Author: asomers Date: Mon Sep 16 15:56:21 2019 New Revision: 352414 URL: https://svnweb.freebsd.org/changeset/base/352414 Log: fusefs: initialize C++ classes the Coverity way Coverity complained that I wasn't initializing some class members until the SetUp method. Do it in the constructo

svn commit: r352413 - head/tests/sys/fs/fusefs

2019-09-16 Thread Alan Somers
Author: asomers Date: Mon Sep 16 15:44:59 2019 New Revision: 352413 URL: https://svnweb.freebsd.org/changeset/base/352413 Log: fusefs: fix some minor Coverity CIDs in the tests Where open(2) is expected to fail, the tests should assert or expect that its return value is -1. These tests a

svn commit: r352411 - head/sys/vm

2019-09-16 Thread Mark Johnston
Author: markj Date: Mon Sep 16 15:16:48 2019 New Revision: 352411 URL: https://svnweb.freebsd.org/changeset/base/352411 Log: Assert that the refcount value is not VPRC_BLOCKED in vm_page_drop(). VPRC_BLOCKED is a refcount flag used to indicate that a thread is tearing down mappings of a p

svn commit: r352410 - head/sys/vm

2019-09-16 Thread Mark Johnston
Author: markj Date: Mon Sep 16 15:12:49 2019 New Revision: 352410 URL: https://svnweb.freebsd.org/changeset/base/352410 Log: Fix a race in vm_page_dequeue_deferred_free() after r352110. This function loaded the page's queue index before setting PGA_DEQUEUE. In this window the page daemon

svn commit: r352409 - head/sys/vm

2019-09-16 Thread Mark Johnston
Author: markj Date: Mon Sep 16 15:09:31 2019 New Revision: 352409 URL: https://svnweb.freebsd.org/changeset/base/352409 Log: Fix a page leak in vm_page_reclaim_run(). After r352110 the attempt to remove mappings of the page being replaced may fail if the page is wired. In this case we mu

svn commit: r352408 - in head: share/man/man9 sys/amd64/amd64

2019-09-16 Thread Mark Johnston
Author: markj Date: Mon Sep 16 15:06:19 2019 New Revision: 352408 URL: https://svnweb.freebsd.org/changeset/base/352408 Log: Fix a couple of nits in r352110. - Remove a dead variable from the amd64 pmap_extract_and_hold(). - Fix grammar in the vm_page_wire man page. Reported by: alc

svn commit: r352407 - in head: share/man/man9 sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm64/arm64 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/dev/virtio/balloon sys/i386/i386 sys/m...

2019-09-16 Thread Mark Johnston
Author: markj Date: Mon Sep 16 15:04:45 2019 New Revision: 352407 URL: https://svnweb.freebsd.org/changeset/base/352407 Log: Revert r352406, which contained changes I didn't intend to commit. Modified: head/share/man/man9/vm_page_wire.9 head/sys/amd64/amd64/pmap.c head/sys/amd64/include/p

svn commit: r352406 - in head: share/man/man9 sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm64/arm64 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/dev/virtio/balloon sys/i386/i386 sys/m...

2019-09-16 Thread Mark Johnston
Author: markj Date: Mon Sep 16 15:03:12 2019 New Revision: 352406 URL: https://svnweb.freebsd.org/changeset/base/352406 Log: Fix a couple of nits in r352110. - Remove a dead variable from the amd64 pmap_extract_and_hold(). - Fix grammar in the vm_page_wire man page. Reported by: alc

svn commit: r352404 - head/sys/fs/fuse

2019-09-16 Thread Alan Somers
Author: asomers Date: Mon Sep 16 14:51:49 2019 New Revision: 352404 URL: https://svnweb.freebsd.org/changeset/base/352404 Log: fusefs: fix some minor issues with fuse_vnode_setparent * When unparenting a vnode, actually clear the flag. AFAIK this is basically a no-op because we only unp

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

2019-09-16 Thread Konstantin Belousov
Author: kib Date: Mon Sep 16 13:26:27 2019 New Revision: 352393 URL: https://svnweb.freebsd.org/changeset/base/352393 Log: nfscl_loadattrcache: fix rest of the cases to not call vnode_pager_setsize() under the node mutex. r248567 moved some calls of vnode_pager_setsize() after the node lo

svn commit: r352391 - head/share/man/man9

2019-09-16 Thread Yuri Pankov
Author: yuripv Date: Mon Sep 16 13:10:03 2019 New Revision: 352391 URL: https://svnweb.freebsd.org/changeset/base/352391 Log: sbuf(9): fix sbuf_drain_func typedef markup Reviewed by: 0mp (previous version) Differential Revision:https://reviews.freebsd.org/D21569 Modified: head

svn commit: r352389 - head/release/packages

2019-09-16 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 16 12:51:30 2019 New Revision: 352389 URL: https://svnweb.freebsd.org/changeset/base/352389 Log: pkgbase: Move cap_mkdb from runtime to utilities POST-INSTALL Since login and login.conf moved to the utilities packages move also the post-install related commands.

svn commit: r352387 - head

2019-09-16 Thread Kyle Evans
Author: kevans Date: Mon Sep 16 12:44:44 2019 New Revision: 352387 URL: https://svnweb.freebsd.org/changeset/base/352387 Log: Fix 20190507 UPDATING entry The rc mechanism for loading kernel modules is actually called 'kld_list', not 'kld_load' Reported by: yuripv Modified: head/U

svn commit: r352386 - head/sys/netinet

2019-09-16 Thread Michael Tuexen
Author: tuexen Date: Mon Sep 16 08:18:05 2019 New Revision: 352386 URL: https://svnweb.freebsd.org/changeset/base/352386 Log: Don't write to memory outside of the allocated array for SACK blocks. Obtained from:rrs@ MFC after:3 days Sponsored by: Netfl

svn commit: r352385 - head/bin/sh

2019-09-16 Thread Baptiste Daroussin
Author: bapt Date: Mon Sep 16 07:31:59 2019 New Revision: 352385 URL: https://svnweb.freebsd.org/changeset/base/352385 Log: Do not use our custom completion function, it is not needed anymore Modified: head/bin/sh/histedit.c Modified: head/bin/sh/histedit.c ==

Re: svn commit: r352341 - head/contrib/libedit

2019-09-16 Thread Baptiste Daroussin
On Sat, Sep 14, 2019 at 09:49:43PM +, Dimitry Andric wrote: > Author: dim > Date: Sat Sep 14 21:49:42 2019 > New Revision: 352341 > URL: https://svnweb.freebsd.org/changeset/base/352341 > > Log: > Fix arm and aarch64 builds of libedit after r352275 > > On arm and arm64, where chars are