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

2018-02-07 Thread Andriy Gapon
On 08/02/2018 00:41, Steven Hartland wrote: > What would be the expected behavior if this was triggered, app crash or kernel > panic...? To be honest, I haven't analyzed it much. I would expect either a crash when trying to unbusy a page that is not busy or hanging while forever waiting for a

svn commit: r329013 - head/usr.bin/vmstat

2018-02-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Feb 8 05:18:30 2018 New Revision: 329013 URL: https://svnweb.freebsd.org/changeset/base/329013 Log: Temporarily widen count for interrupt rate calculations on 32-bit archs If the interrupt count is very high (greater than ~42M), notably on one-shot execution

svn commit: r329009 - head/usr.sbin/mountd

2018-02-07 Thread Conrad Meyer
Author: cem Date: Thu Feb 8 01:34:35 2018 New Revision: 329009 URL: https://svnweb.freebsd.org/changeset/base/329009 Log: mountd(8): Produce vaguely meaningful error messages Sponsored by: Dell EMC Isilon Modified: head/usr.sbin/mountd/mountd.c Modified: head/usr.sbin/mountd/mountd.c

svn commit: r329007 - head/sys/sys

2018-02-07 Thread Brooks Davis
Author: brooks Date: Thu Feb 8 00:42:28 2018 New Revision: 329007 URL: https://svnweb.freebsd.org/changeset/base/329007 Log: style(9): use a type for each member in struct defintions. Shorten a comment to fit in 80 columns. Modified: head/sys/sys/msg.h head/sys/sys/sem.h Modified:

svn commit: r329004 - head/share/misc

2018-02-07 Thread Jeb Cramer
Author: jeb Date: Thu Feb 8 00:14:20 2018 New Revision: 329004 URL: https://svnweb.freebsd.org/changeset/base/329004 Log: Add myself to committers-src.dot Reviewed by: erj (mentor) Approved by: erj (mentor) Modified: head/share/misc/committers-src.dot Modified:

svn commit: r329003 - head/usr.bin/clang/lld

2018-02-07 Thread Ed Maste
Author: emaste Date: Thu Feb 8 00:09:17 2018 New Revision: 329003 URL: https://svnweb.freebsd.org/changeset/base/329003 Log: ld.lld.1: explain long options may use one or two dashes Modified: head/usr.bin/clang/lld/ld.lld.1 Modified: head/usr.bin/clang/lld/ld.lld.1

svn commit: r329002 - head/usr.bin/clang/lld

2018-02-07 Thread Ed Maste
Author: emaste Date: Wed Feb 7 23:58:00 2018 New Revision: 329002 URL: https://svnweb.freebsd.org/changeset/base/329002 Log: Update ld.lld.1 based on the version committed upstream Modified: head/usr.bin/clang/lld/ld.lld.1 Modified: head/usr.bin/clang/lld/ld.lld.1

svn commit: r329001 - head/sys/sys

2018-02-07 Thread Brooks Davis
Author: brooks Date: Wed Feb 7 23:45:13 2018 New Revision: 329001 URL: https://svnweb.freebsd.org/changeset/base/329001 Log: Remove part of a comment reverting to nonexistant struct members. Modified: head/sys/sys/msg.h Modified: head/sys/sys/msg.h

svn commit: r329000 - head/stand/common

2018-02-07 Thread Warner Losh
Author: imp Date: Wed Feb 7 23:27:38 2018 New Revision: 329000 URL: https://svnweb.freebsd.org/changeset/base/329000 Log: Move simple interpreter 'perform' into interp.c and call it interp_builtin_cmd(). Modified: head/stand/common/bootstrap.h head/stand/common/interp.c

svn commit: r328999 - head/stand/common

2018-02-07 Thread Warner Losh
Author: imp Date: Wed Feb 7 23:27:25 2018 New Revision: 328999 URL: https://svnweb.freebsd.org/changeset/base/328999 Log: Fix indentation to FreeBSD standard for interp files Modified: head/stand/common/interp.c head/stand/common/interp_forth.c head/stand/common/interp_simple.c

Re: svn commit: r328985 - head/sys/dev/usb/template

2018-02-07 Thread Hans Petter Selasky
On 02/07/18 23:25, John Baldwin wrote: On Wednesday, February 07, 2018 06:46:08 PM Hans Petter Selasky wrote: Author: hselasky Date: Wed Feb 7 18:46:08 2018 New Revision: 328985 URL: https://svnweb.freebsd.org/changeset/base/328985 Log: Give USB template SYSUNINIT()'s a uniq name to avoid

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

2018-02-07 Thread Steven Hartland
What would be the expected behavior if this was triggered, app crash or kernel panic...? On 07/02/2018 21:52, Andriy Gapon wrote: Author: avg Date: Wed Feb 7 21:51:59 2018 New Revision: 328996 URL: https://svnweb.freebsd.org/changeset/base/328996 Log: exec_map_first_page: fix an inverse

Re: svn commit: r328985 - head/sys/dev/usb/template

2018-02-07 Thread John Baldwin
On Wednesday, February 07, 2018 06:46:08 PM Hans Petter Selasky wrote: > Author: hselasky > Date: Wed Feb 7 18:46:08 2018 > New Revision: 328985 > URL: https://svnweb.freebsd.org/changeset/base/328985 > > Log: > Give USB template SYSUNINIT()'s a uniq name to avoid symbol name collision >

svn commit: r328996 - head/sys/kern

2018-02-07 Thread Andriy Gapon
Author: avg Date: Wed Feb 7 21:51:59 2018 New Revision: 328996 URL: https://svnweb.freebsd.org/changeset/base/328996 Log: exec_map_first_page: fix an inverse condition introduced in r254138 While the bug itself was serious, as we could either pass a non-busied page to

svn commit: r328995 - head/usr.bin/sort

2018-02-07 Thread Mark Johnston
Author: markj Date: Wed Feb 7 20:36:37 2018 New Revision: 328995 URL: https://svnweb.freebsd.org/changeset/base/328995 Log: Fix the WITH_SORT_THREADS build. PR: 201664 MFC after:1 week Modified: head/usr.bin/sort/radixsort.c Modified: head/usr.bin/sort/radixsort.c

svn commit: r328994 - head/sys/dev/cxgbe/iw_cxgbe

2018-02-07 Thread Navdeep Parhar
Author: np Date: Wed Feb 7 20:13:08 2018 New Revision: 328994 URL: https://svnweb.freebsd.org/changeset/base/328994 Log: iw_cxgbe: Remove declaration of a function that no longer exists. Modified: head/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h Modified: head/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h

svn commit: r328990 - in head/stand/usb: . test

2018-02-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 7 19:20:59 2018 New Revision: 328990 URL: https://svnweb.freebsd.org/changeset/base/328990 Log: Move the stand/usb test loader into its own directory. Fix its Makefile to build correctly. MFC after:1 week Sponsored by: Mellanox Technologies Added:

svn commit: r328989 - head/sys/netpfil/ipfw

2018-02-07 Thread Andrey V. Elsukov
Author: ae Date: Wed Feb 7 19:12:05 2018 New Revision: 328989 URL: https://svnweb.freebsd.org/changeset/base/328989 Log: Remove duplicate #include . Modified: head/sys/netpfil/ipfw/ip_fw_dynamic.c Modified: head/sys/netpfil/ipfw/ip_fw_dynamic.c

svn commit: r328988 - in head/sys: conf modules/ipfw netinet netpfil/ipfw

2018-02-07 Thread Andrey V. Elsukov
Author: ae Date: Wed Feb 7 18:59:54 2018 New Revision: 328988 URL: https://svnweb.freebsd.org/changeset/base/328988 Log: Rework ipfw dynamic states implementation to be lockless on fast path. o added struct ipfw_dyn_info that keeps all needed for ipfw_chk and for dynamic states

svn commit: r328987 - head/stand/kshim

2018-02-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 7 18:50:36 2018 New Revision: 328987 URL: https://svnweb.freebsd.org/changeset/base/328987 Log: A more definitions to kernel emulation shim in order to build stand/usb. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r328986 - head/stand/usb

2018-02-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 7 18:49:06 2018 New Revision: 328986 URL: https://svnweb.freebsd.org/changeset/base/328986 Log: Fix relative location of USB sources after recent move. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/stand/usb/usbcore.mk

svn commit: r328985 - head/sys/dev/usb/template

2018-02-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 7 18:46:08 2018 New Revision: 328985 URL: https://svnweb.freebsd.org/changeset/base/328985 Log: Give USB template SYSUNINIT()'s a uniq name to avoid symbol name collision when building stand/usb. Regression after r328194. MFC after:1 week Sponsored

svn commit: r328983 - head/sys/cam/nvme

2018-02-07 Thread Warner Losh
Author: imp Date: Wed Feb 7 18:33:46 2018 New Revision: 328983 URL: https://svnweb.freebsd.org/changeset/base/328983 Log: Fix cut and pasted comments to reflect differences in code from the original source. Sponsored by: Netflix Modified: head/sys/cam/nvme/nvme_da.c Modified:

svn commit: r328984 - head/sys/arm/conf

2018-02-07 Thread Warner Losh
Author: imp Date: Wed Feb 7 18:33:53 2018 New Revision: 328984 URL: https://svnweb.freebsd.org/changeset/base/328984 Log: Cull Atmel board configs no longer relevant. Remove most of the Atmel at91 boards. Most of them are no longer relevant or used by people. Kept ATMEL since it should

svn commit: r328982 - in head/sys: kern vm

2018-02-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 7 18:32:51 2018 New Revision: 328982 URL: https://svnweb.freebsd.org/changeset/base/328982 Log: Fix three miscalculations in amount of boot pages: o Most of startup zones have struct uma_slab embedded into the slab, so provide macro UMA_SLAB_SPACE and use

Re: svn commit: r328916 - in head/sys: kern vm

2018-02-07 Thread Peter Holm
On Wed, Feb 07, 2018 at 09:44:59AM -0800, Gleb Smirnoff wrote: > On Wed, Feb 07, 2018 at 08:46:19AM -0800, Gleb Smirnoff wrote: > T> On Wed, Feb 07, 2018 at 07:46:17AM +0100, Peter Holm wrote: > T> P> On Tue, Feb 06, 2018 at 04:45:49PM -0800, Gleb Smirnoff wrote: > T> P> > On Tue, Feb 06, 2018 at

Re: svn commit: r328916 - in head/sys: kern vm

2018-02-07 Thread Peter Holm
On Wed, Feb 07, 2018 at 08:46:19AM -0800, Gleb Smirnoff wrote: > On Wed, Feb 07, 2018 at 07:46:17AM +0100, Peter Holm wrote: > P> On Tue, Feb 06, 2018 at 04:45:49PM -0800, Gleb Smirnoff wrote: > P> > On Tue, Feb 06, 2018 at 04:42:13PM -0800, Gleb Smirnoff wrote: > P> > T> Hi Peter, > P> > T> >

Re: svn commit: r328916 - in head/sys: kern vm

2018-02-07 Thread Gleb Smirnoff
On Wed, Feb 07, 2018 at 08:46:19AM -0800, Gleb Smirnoff wrote: T> On Wed, Feb 07, 2018 at 07:46:17AM +0100, Peter Holm wrote: T> P> On Tue, Feb 06, 2018 at 04:45:49PM -0800, Gleb Smirnoff wrote: T> P> > On Tue, Feb 06, 2018 at 04:42:13PM -0800, Gleb Smirnoff wrote: T> P> > T> Hi Peter, T> P> >

svn commit: r328979 - head/usr.bin/lex

2018-02-07 Thread Alex Richardson
Author: arichardson Date: Wed Feb 7 17:09:12 2018 New Revision: 328979 URL: https://svnweb.freebsd.org/changeset/base/328979 Log: Fix broken SPDX comment in usr.bin/lex/initparse.c Approved By: jhb (mentor) Modified: head/usr.bin/lex/initparse.c Modified: head/usr.bin/lex/initparse.c

svn commit: r328978 - head/sys/mips/mips

2018-02-07 Thread Alex Richardson
Author: arichardson Date: Wed Feb 7 16:58:01 2018 New Revision: 328978 URL: https://svnweb.freebsd.org/changeset/base/328978 Log: Fix compilation of mips_postboot_fixup() with a C11 compiler The _Alignas specifier must come before the declaration and not after. It works if _Alignas()

svn commit: r328977 - in head/sys: kern vm

2018-02-07 Thread Mark Johnston
Author: markj Date: Wed Feb 7 16:57:10 2018 New Revision: 328977 URL: https://svnweb.freebsd.org/changeset/base/328977 Log: Dequeue wired pages lazily. Previously, wiring a page would cause it to be removed from its page queue. In the common case, unwiring causes it to be enqueued at

Re: svn commit: r328916 - in head/sys: kern vm

2018-02-07 Thread Gleb Smirnoff
On Wed, Feb 07, 2018 at 07:46:17AM +0100, Peter Holm wrote: P> On Tue, Feb 06, 2018 at 04:45:49PM -0800, Gleb Smirnoff wrote: P> > On Tue, Feb 06, 2018 at 04:42:13PM -0800, Gleb Smirnoff wrote: P> > T> Hi Peter, P> > T> P> > T> can you please try this patch? In either case success P> > T> or

svn commit: r328975 - head

2018-02-07 Thread Warner Losh
Author: imp Date: Wed Feb 7 16:28:26 2018 New Revision: 328975 URL: https://svnweb.freebsd.org/changeset/base/328975 Log: Add a note about why we have the conditional before including bsd.compiler.mk. It's so fmake from older 9.x systems still works (still a supported build config, and

svn commit: r328972 - in head: . share/mk

2018-02-07 Thread Ed Maste
Author: emaste Date: Wed Feb 7 14:50:06 2018 New Revision: 328972 URL: https://svnweb.freebsd.org/changeset/base/328972 Log: add retpoline compiler and linker feature flags These features indicate that the compiler and linker support the retpoline speculative execution vulnerability

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

2018-02-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 7 12:12:06 2018 New Revision: 328971 URL: https://svnweb.freebsd.org/changeset/base/328971 Log: Fix implementation of ktime_add_ns() and ktime_sub_ns() in the LinuxKPI to actually return the computed result instead of the input value. This is a regression

Re: svn commit: r328934 - in head: . bin/sh

2018-02-07 Thread Warner Losh
On Feb 7, 2018 2:35 AM, "Alexander Richardson" wrote: On 6 February 2018 at 19:25, Rodney W. Grimes wrote: >> Author: arichardson >> Date: Tue Feb 6 15:41:35 2018 >> New Revision: 328934 >> URL:

svn commit: r328970 - head/sys/dev/ath

2018-02-07 Thread Adrian Chadd
Author: adrian Date: Wed Feb 7 09:37:22 2018 New Revision: 328970 URL: https://svnweb.freebsd.org/changeset/base/328970 Log: [ath] Use the BSSID address logic for STA VAPs too. For DWDS VAPs on ath(4) we need to ensure that the STA vap and hostap VAP have different MAC addresses. If

svn commit: r328969 - head/sys/mips/conf

2018-02-07 Thread Adrian Chadd
Author: adrian Date: Wed Feb 7 09:35:47 2018 New Revision: 328969 URL: https://svnweb.freebsd.org/changeset/base/328969 Log: [ar71xx] Fix the TL-wdr3600/tl-wdr4300 hints in the new world order. Tested: * tl-wdr4300 Modified: head/sys/mips/conf/TL-WDR4300.hints Modified:

Re: svn commit: r328934 - in head: . bin/sh

2018-02-07 Thread Alexander Richardson
On 6 February 2018 at 19:25, Rodney W. Grimes wrote: >> Author: arichardson >> Date: Tue Feb 6 15:41:35 2018 >> New Revision: 328934 >> URL: https://svnweb.freebsd.org/changeset/base/328934 >> >> Log: >> Don't hardcode /usr/bin as the path for mktemp in build