svn commit: r357644 - head/sys/sys

2020-02-06 Thread Ryan Libby
Author: rlibby Date: Fri Feb 7 00:47:58 2020 New Revision: 357644 URL: https://svnweb.freebsd.org/changeset/base/357644 Log: smr.h: fix build after r357641 r357641 missed committing the change to sys/sys/smr.h. Reported by: jkim Submitted by: jeff Reviewed by: rlibby

Re: svn commit: r357641 - head/sys/kern

2020-02-06 Thread Jung-uk Kim
On 2/6/20, Michael Tuexen wrote: > > >> On 6. Feb 2020, at 21:51, Jeff Roberson wrote: >> >> Author: jeff >> Date: Thu Feb 6 20:51:46 2020 >> New Revision: 357641 >> URL: https://svnweb.freebsd.org/changeset/base/357641 >> >> Log: >> Fix a race in smr_advance() that could result in

Re: svn commit: r357641 - head/sys/kern

2020-02-06 Thread Michael Tuexen
> On 6. Feb 2020, at 21:51, Jeff Roberson wrote: > > Author: jeff > Date: Thu Feb 6 20:51:46 2020 > New Revision: 357641 > URL: https://svnweb.freebsd.org/changeset/base/357641 > > Log: > Fix a race in smr_advance() that could result in unnecessary poll calls. > > This was relatively

svn commit: r357643 - head/lib/libc/riscv/gen

2020-02-06 Thread John Baldwin
Author: jhb Date: Thu Feb 6 21:46:15 2020 New Revision: 357643 URL: https://svnweb.freebsd.org/changeset/base/357643 Log: Tidy the _set_tp function for RISC-V. - Use a constant for the offset instead of a magic number. - Use an addi instruction that writes to tp directly instead of a mv

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

2020-02-06 Thread Konstantin Belousov
On Thu, Feb 06, 2020 at 05:41:52PM +0100, Hans Petter Selasky wrote: > On 2020-02-06 13:45, Pawel Biernacki wrote: > > +#ifdef notyet > > +#defineSYSCTL_ENFORCE_FLAGS(x) > > \ > > +_Static_assert(((CTLFLAG_MPSAFE ^ CTLFLAG_NEEDGIANT) & (x)), \ > >

svn commit: r357642 - in head/sys/modules: ix ixv lio oce vmm

2020-02-06 Thread Mark Johnston
Author: markj Date: Thu Feb 6 21:01:19 2020 New Revision: 357642 URL: https://svnweb.freebsd.org/changeset/base/357642 Log: Remove more manual additions of -DSMP. Since r357598 this should no longer be necessary. Modified: head/sys/modules/ix/Makefile head/sys/modules/ixv/Makefile

svn commit: r357641 - head/sys/kern

2020-02-06 Thread Jeff Roberson
Author: jeff Date: Thu Feb 6 20:51:46 2020 New Revision: 357641 URL: https://svnweb.freebsd.org/changeset/base/357641 Log: Fix a race in smr_advance() that could result in unnecessary poll calls. This was relatively harmless but surprising to see in counters. The race occurred when

svn commit: r357640 - head/sys/net

2020-02-06 Thread Jeff Roberson
Author: jeff Date: Thu Feb 6 20:47:50 2020 New Revision: 357640 URL: https://svnweb.freebsd.org/changeset/base/357640 Log: Temporarily force IFF_NEEDSEPOCH until drivers have been resolved. Recent network epoch changes have left some drivers unexpectedly broken and there is not yet a

svn commit: r357639 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2020-02-06 Thread Alexander Motin
Author: mav Date: Thu Feb 6 20:32:53 2020 New Revision: 357639 URL: https://svnweb.freebsd.org/changeset/base/357639 Log: Reduce number of atomic_add() calls in aggsum. Previous code used 4 atomics to do aggsum_flush_bucket() and 2 more to re-borrow after the flush. But since

svn commit: r357638 - head/usr.sbin/bsdinstall

2020-02-06 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Thu Feb 6 20:18:45 2020 New Revision: 357638 URL: https://svnweb.freebsd.org/changeset/base/357638 Log: Improve documentation of bootconfig and PARTITIONS - Mention bootconfig target in TARGETS section. - Document PARTITIONS variable, which is

svn commit: r357637 - head/sys/kern

2020-02-06 Thread Jeff Roberson
Author: jeff Date: Thu Feb 6 20:10:21 2020 New Revision: 357637 URL: https://svnweb.freebsd.org/changeset/base/357637 Log: Add some global counters for SMR. These may eventually become per-smr counters. In my stress test there is only one poll for every 15,000 frees. This means we are

svn commit: r357636 - head/contrib/netbsd-tests/lib/libc/c063

2020-02-06 Thread Kyle Evans
Author: kevans Date: Thu Feb 6 18:51:36 2020 New Revision: 357636 URL: https://svnweb.freebsd.org/changeset/base/357636 Log: MFV r357635: imnport v1.9 of the O_SEARCH tests The RCSID data was wrong, so this is effectively a record-only merge with correction of said data. No further

svn commit: r357635 - vendor/NetBSD/tests/dist/lib/libc/c063

2020-02-06 Thread Kyle Evans
Author: kevans Date: Thu Feb 6 18:48:12 2020 New Revision: 357635 URL: https://svnweb.freebsd.org/changeset/base/357635 Log: NetBSD-tests: import v1.9 of the O_SEARCH tests This completes the rest of our local changes going upstream. Modified:

svn commit: r357634 - in stable: 11/contrib/netbsd-tests/lib/libc/c063 12/contrib/netbsd-tests/lib/libc/c063

2020-02-06 Thread Kyle Evans
Author: kevans Date: Thu Feb 6 18:40:37 2020 New Revision: 357634 URL: https://svnweb.freebsd.org/changeset/base/357634 Log: MFC r357195, r357556: O_SEARCH test fixes r357195: netbsd-tests: libc: use correct modes in O_SEARCH tests The current code clearly intended for these to be

svn commit: r357634 - in stable: 11/contrib/netbsd-tests/lib/libc/c063 12/contrib/netbsd-tests/lib/libc/c063

2020-02-06 Thread Kyle Evans
Author: kevans Date: Thu Feb 6 18:40:37 2020 New Revision: 357634 URL: https://svnweb.freebsd.org/changeset/base/357634 Log: MFC r357195, r357556: O_SEARCH test fixes r357195: netbsd-tests: libc: use correct modes in O_SEARCH tests The current code clearly intended for these to be

svn commit: r357633 - in stable: 11/secure/caroot/blacklisted 12/secure/caroot/blacklisted

2020-02-06 Thread Kyle Evans
Author: kevans Date: Thu Feb 6 18:37:38 2020 New Revision: 357633 URL: https://svnweb.freebsd.org/changeset/base/357633 Log: MFC r357193: caroot: blacklisted: automatically pick up *.pem in the tree This kind of automagica got picked up in trusted/ prior to the initial commit, but never

svn commit: r357633 - in stable: 11/secure/caroot/blacklisted 12/secure/caroot/blacklisted

2020-02-06 Thread Kyle Evans
Author: kevans Date: Thu Feb 6 18:37:38 2020 New Revision: 357633 URL: https://svnweb.freebsd.org/changeset/base/357633 Log: MFC r357193: caroot: blacklisted: automatically pick up *.pem in the tree This kind of automagica got picked up in trusted/ prior to the initial commit, but never

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

2020-02-06 Thread Paweł Biernacki
Thanks, will be fixed before enabling it. > On 6 Feb 2020, at 17:41, Hans Petter Selasky wrote: > > On 2020-02-06 13:45, Pawel Biernacki wrote: >> +#ifdef notyet >> +#define SYSCTL_ENFORCE_FLAGS(x) >> \ >> +_Static_assert(((CTLFLAG_MPSAFE ^

Re: svn commit: r357624 - in head/sbin: . sunlabel

2020-02-06 Thread Rodney W. Grimes
> On Thu, Feb 6, 2020 at 10:57 AM Rodney W. Grimes > wrote: > > > > Author: imp > > > Date: Thu Feb 6 17:52:02 2020 > > > New Revision: 357624 > > > URL: https://svnweb.freebsd.org/changeset/base/357624 > > > > > > Log: > > > No need to make sunlabel anymore > > > > > > It was only built on

Re: svn commit: r357624 - in head/sbin: . sunlabel

2020-02-06 Thread Warner Losh
On Thu, Feb 6, 2020 at 10:57 AM Rodney W. Grimes wrote: > > Author: imp > > Date: Thu Feb 6 17:52:02 2020 > > New Revision: 357624 > > URL: https://svnweb.freebsd.org/changeset/base/357624 > > > > Log: > > No need to make sunlabel anymore > > > > It was only built on sparc64. Since it

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

2020-02-06 Thread John Baldwin
Author: jhb Date: Thu Feb 6 18:04:45 2020 New Revision: 357632 URL: https://svnweb.freebsd.org/changeset/base/357632 Log: Use the context created in makectx() for stack traces. Always use the kdb_thr_ctx() for db_trace_thread() as on other architectures. Initialize pcb_ra to be the

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

2020-02-06 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 6 18:04:15 2020 New Revision: 357631 URL: https://svnweb.freebsd.org/changeset/base/357631 Log: fstyp: sync HAMMER1/2 detection support with DragonFly BSD. Submitted by: Tomohiro Kusumi PR: 243929 Modified: head/usr.sbin/fstyp/hammer.c

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

2020-02-06 Thread John Baldwin
Author: jhb Date: Thu Feb 6 18:02:38 2020 New Revision: 357630 URL: https://svnweb.freebsd.org/changeset/base/357630 Log: Fix DDB to unwind across exception frames. While here, add an extra line of information for exceptions and interrupts and compress the per-frame line down to one

svn commit: r357629 - head

2020-02-06 Thread Warner Losh
Author: imp Date: Thu Feb 6 18:00:50 2020 New Revision: 357629 URL: https://svnweb.freebsd.org/changeset/base/357629 Log: Add elf2aout removal After committing, I noticed elf2aout commit missed the relnotes yes. It's unlikely to be interesting, since it's just part of sparc64 removal

svn commit: r357628 - head

2020-02-06 Thread Warner Losh
Author: imp Date: Thu Feb 6 18:00:46 2020 New Revision: 357628 URL: https://svnweb.freebsd.org/changeset/base/357628 Log: Add relnotes entries for armv5 and sparc64 being removed. These commits lacked the proper relnotes entries in the commit message. Modified: head/RELNOTES

Re: svn commit: r357624 - in head/sbin: . sunlabel

2020-02-06 Thread Rodney W. Grimes
> Author: imp > Date: Thu Feb 6 17:52:02 2020 > New Revision: 357624 > URL: https://svnweb.freebsd.org/changeset/base/357624 > > Log: > No need to make sunlabel anymore > > It was only built on sparc64. Since it wasn't a general tool on other > architectures, no need to keep it around

svn commit: r357626 - head/usr.bin/elf2aout

2020-02-06 Thread Warner Losh
Author: imp Date: Thu Feb 6 17:52:11 2020 New Revision: 357626 URL: https://svnweb.freebsd.org/changeset/base/357626 Log: Mark elf2aout as deprecated. Only sparc64 used this, so we will be removing it from FreeBSD 13. Add the usual deprecation notice in a MFC-able way. Reviewed by:

svn commit: r357627 - in head: . usr.bin usr.bin/elf2aout

2020-02-06 Thread Warner Losh
) @@ -36,6 +36,10 @@ # xargs -n1 | sort | uniq -d; # done +# 20200206: Remove elf2aout +OLD_FILES+=usr/bin/elf2aout +OLD_FILES+=usr/share/man/man1/elf2aout.1.gz + # 20200204: simple_httpd removed OLD_FILES+=usr/sbin/simple_httpd Modified: head/usr.bin/Makefile

svn commit: r357623 - head

2020-02-06 Thread Warner Losh
Author: imp Date: Thu Feb 6 17:51:48 2020 New Revision: 357623 URL: https://svnweb.freebsd.org/changeset/base/357623 Log: Restore missing comment I was overly agressive about removing the entire comment. It was still valid, except the part about being only for some architectures.

svn commit: r357624 - in head/sbin: . sunlabel

2020-02-06 Thread Warner Losh
Author: imp Date: Thu Feb 6 17:52:02 2020 New Revision: 357624 URL: https://svnweb.freebsd.org/changeset/base/357624 Log: No need to make sunlabel anymore It was only built on sparc64. Since it wasn't a general tool on other architectures, no need to keep it around for another release.

svn commit: r357625 - head/usr.bin

2020-02-06 Thread Warner Losh
Author: imp Date: Thu Feb 6 17:52:07 2020 New Revision: 357625 URL: https://svnweb.freebsd.org/changeset/base/357625 Log: No need to have a special sparc64 list here. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D23525 Deleted: head/usr.bin/Makefile.sparc64

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

2020-02-06 Thread Hans Petter Selasky
On 2020-02-06 13:45, Pawel Biernacki wrote: +#ifdef notyet +#defineSYSCTL_ENFORCE_FLAGS(x) \ +_Static_assert(((CTLFLAG_MPSAFE ^ CTLFLAG_NEEDGIANT) & (x)), \ +"Has to be either CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT") +#else +#define

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

2020-02-06 Thread Warner Losh
Author: imp Date: Thu Feb 6 16:38:02 2020 New Revision: 357621 URL: https://svnweb.freebsd.org/changeset/base/357621 Log: 'is now deprecated' -> 'is deprecated' Man pages are written in a more timeless voice than news flashes, so adopt the language to what we do elsewhere. Modified:

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

2020-02-06 Thread Warner Losh
Author: imp Date: Thu Feb 6 16:38:06 2020 New Revision: 357622 URL: https://svnweb.freebsd.org/changeset/base/357622 Log: Avoid the phrase 'now deprecated' Reword this construct to be more consistent with normal man page language. Modified: head/share/man/man5/rc.conf.5 Modified:

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

2020-02-06 Thread Conrad Meyer
Hi Pawel, I don't think the (notyet) static assertion is quite right. On Thu, Feb 6, 2020 at 4:46 AM Pawel Biernacki wrote: > > Author: kaktus > Date: Thu Feb 6 12:45:58 2020 > New Revision: 357614 > URL: https://svnweb.freebsd.org/changeset/base/357614 > > Log: > sysctl(9): add

Re: svn commit: r356818 - in head/sys/geom: . concat eli gate journal linux_lvm mirror nop part raid raid3 shsec stripe

2020-02-06 Thread Mark Johnston
On Fri, Jan 17, 2020 at 01:15:55AM +, Warner Losh wrote: > Author: imp > Date: Fri Jan 17 01:15:55 2020 > New Revision: 356818 > URL: https://svnweb.freebsd.org/changeset/base/356818 > > Log: > Pass BIO_SPEEDUP through all the geom layers > > While some geom layers pass unknown

svn commit: r357620 - in stable/12: share/man/man4 sys/dev/ppbus

2020-02-06 Thread Warner Losh
Author: imp Date: Thu Feb 6 16:22:16 2020 New Revision: 357620 URL: https://svnweb.freebsd.org/changeset/base/357620 Log: MFC r357393 However, fix the wording to match the same that we used elsewhere in the NIC deprecation efforts. It was bogus when I committed to to -current.

svn commit: r357619 - head/usr.sbin/mixer/tests

2020-02-06 Thread Luca Pizzamiglio
Author: pizzamig (ports committer) Date: Thu Feb 6 14:31:29 2020 New Revision: 357619 URL: https://svnweb.freebsd.org/changeset/base/357619 Log: mixer: call the cleanup function in a test The set_empty_value test has a cleanup function, but is not called. Fix it Reviewed by: 0mp

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

2020-02-06 Thread Ed Maste
Author: emaste Date: Thu Feb 6 14:18:48 2020 New Revision: 357618 URL: https://svnweb.freebsd.org/changeset/base/357618 Log: src.conf.5: regen after r357617, BINUTILS_BOOTSTRAP description update Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r357617 - head/tools/build/options

2020-02-06 Thread Ed Maste
Author: emaste Date: Thu Feb 6 14:13:33 2020 New Revision: 357617 URL: https://svnweb.freebsd.org/changeset/base/357617 Log: Update WITH_/WITHOUT_BINUTILS_BOOTSTRAP descriptions Use of binutils is being incrementally reduced. The specific binutils are listed in the WITH_BINUTILS and

svn commit: r357616 - head/sys/dev/xen/console

2020-02-06 Thread Roger Pau Monné
Author: royger Date: Thu Feb 6 14:02:47 2020 New Revision: 357616 URL: https://svnweb.freebsd.org/changeset/base/357616 Log: xen/console: fix priority of Xen console Currently the Xen console is always attached with priority CN_REMOTE (highest), which means that when booting with a

svn commit: r357615 - in head: lib/libkvm sys/sys

2020-02-06 Thread Leandro Lupori
Author: luporl Date: Thu Feb 6 13:21:59 2020 New Revision: 357615 URL: https://svnweb.freebsd.org/changeset/base/357615 Log: Implement kvm_kerndisp This change adds a new libkvm function, kvm_kerndisp(), that can be used to retrieve the kernel displacement, that is the difference

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

2020-02-06 Thread Pawel Biernacki
Author: kaktus Date: Thu Feb 6 12:45:58 2020 New Revision: 357614 URL: https://svnweb.freebsd.org/changeset/base/357614 Log: sysctl(9): add CTLFLAG_NEEDGIANT flag Add CTLFLAG_NEEDGIANT flag (modelled after D_NEEDGIANT) that will be used to mark sysctls that still require locking Giant.

svn commit: r357613 - stable/11/sys/sys

2020-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 6 10:11:41 2020 New Revision: 357613 URL: https://svnweb.freebsd.org/changeset/base/357613 Log: Bump FreeBSD version due to recent LinuxKPI changes. This is a direct commit. Sponsored by: Mellanox Technologies Modified: stable/11/sys/sys/param.h

svn commit: r357612 - stable/12/sys/sys

2020-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 6 10:10:42 2020 New Revision: 357612 URL: https://svnweb.freebsd.org/changeset/base/357612 Log: Bump FreeBSD version due to recent LinuxKPI changes. This is a direct commit. Sponsored by: Mellanox Technologies Modified: stable/12/sys/sys/param.h

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

2020-02-06 Thread Ryan Libby
Author: rlibby Date: Thu Feb 6 08:32:30 2020 New Revision: 357611 URL: https://svnweb.freebsd.org/changeset/base/357611 Log: auditd_stop: wait_for_pids instead of sleeping It's faster and more reliable to wait_for_pids than to sleep 1. cem@ suggested just to remove auditd_stop() and

svn commit: r357610 - head/sys/vm

2020-02-06 Thread Ryan Libby
Author: rlibby Date: Thu Feb 6 08:32:25 2020 New Revision: 357610 URL: https://svnweb.freebsd.org/changeset/base/357610 Log: uma: remove UMA_ZFLAG_CACHEONLY flag UMA_ZFLAG_CACHEONLY was essentially the same thing as UMA_ZONE_VM, but with a more confusing name. Remove the flag, make