svn commit: r329885 - head/sys/vm

2018-02-23 Thread Mark Johnston
Author: markj Date: Fri Feb 23 23:25:22 2018 New Revision: 329885 URL: https://svnweb.freebsd.org/changeset/base/329885 Log: Remove a bogus assertion from vm_page_launder(). After r328977, a wired page m may have m->queue != PQ_NONE. Reviewed by: kib X-MFC with: r328977

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

2018-02-23 Thread Rick Macklem
Konstantin Belousov wrote: >Author: kib >Date: Fri Feb 23 18:26:31 2018 >New Revision: 329875 >URL: https://svnweb.freebsd.org/changeset/base/329875 > >Log: > Restore UP build. > > Reviewed by: truckman > Sponsored by: The FreeBSD Foundation > >Modified: > head/sys/kern/sched_ule.c >

svn commit: r329887 - stable/11/sys/opencrypto

2018-02-23 Thread John Baldwin
Author: jhb Date: Fri Feb 23 23:56:33 2018 New Revision: 329887 URL: https://svnweb.freebsd.org/changeset/base/329887 Log: MFC 327803: Flesh out static dtrace probes for /dev/crypto ioctl errors. In particular, no probes were present for AEAD requests, but also for some other error cases

svn commit: r329882 - in head/sys: conf kern sys vm

2018-02-23 Thread Jeff Roberson
Author: jeff Date: Fri Feb 23 22:51:51 2018 New Revision: 329882 URL: https://svnweb.freebsd.org/changeset/base/329882 Log: Add a generic Proportional Integral Derivative (PID) controller algorithm and use it to regulate page daemon output. This provides much smoother and more responsive

svn commit: r329881 - stable/11/sbin/fsck_ffs

2018-02-23 Thread Kirk McKusick
Author: mckusick Date: Fri Feb 23 22:23:28 2018 New Revision: 329881 URL: https://svnweb.freebsd.org/changeset/base/329881 Log: MFC of 329749. Fix a read past the end of a buffer in fsck. Modified: stable/11/sbin/fsck_ffs/inode.c Directory Properties: stable/11/ (props changed)

svn commit: r329886 - head/sys/vm

2018-02-23 Thread Mark Johnston
Author: markj Date: Fri Feb 23 23:27:53 2018 New Revision: 329886 URL: https://svnweb.freebsd.org/changeset/base/329886 Log: Correct some comments after r328954. Reviewed by: kib Differential Revision:https://reviews.freebsd.org/D14486 Modified: head/sys/vm/vm_reserv.c

svn commit: r329880 - head/sys/kern

2018-02-23 Thread Kirk McKusick
Author: mckusick Date: Fri Feb 23 21:57:10 2018 New Revision: 329880 URL: https://svnweb.freebsd.org/changeset/base/329880 Log: Include error number in the "fsync: giving up on dirty" message (in case it ever starts happening again in spite of 328444). Submitted by: Andreas Longwitz

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

2018-02-23 Thread Don Lewis
On 23 Feb, Rick Macklem wrote: > Konstantin Belousov wrote: >>Author: kib >>Date: Fri Feb 23 18:26:31 2018 >>New Revision: 329875 >>URL: https://svnweb.freebsd.org/changeset/base/329875 >> >>Log: >> Restore UP build. >> >> Reviewed by: truckman >> Sponsored by: The FreeBSD Foundation >>

svn commit: r329883 - stable/10/sbin/fsck_ffs

2018-02-23 Thread Kirk McKusick
Author: mckusick Date: Fri Feb 23 23:07:41 2018 New Revision: 329883 URL: https://svnweb.freebsd.org/changeset/base/329883 Log: MFC of 329749. Fix a read past the end of a buffer in fsck. Modified: stable/10/sbin/fsck_ffs/inode.c Directory Properties: stable/10/ (props changed)

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

2018-02-23 Thread Konstantin Belousov
On Fri, Feb 23, 2018 at 02:59:11PM -0800, Don Lewis wrote: > On 23 Feb, Rick Macklem wrote: > > Konstantin Belousov wrote: > >>Author: kib > >>Date: Fri Feb 23 18:26:31 2018 > >>New Revision: 329875 > >>URL: https://svnweb.freebsd.org/changeset/base/329875 > >> > >>Log: > >> Restore UP build. >

svn commit: r329899 - head/stand/lua

2018-02-23 Thread Kyle Evans
Author: kevans Date: Sat Feb 24 03:43:10 2018 New Revision: 329899 URL: https://svnweb.freebsd.org/changeset/base/329899 Log: lualoader: Correct test and name The functionality was correct, but our style guidelines tend to request that we shy away from using boolean operations in place

svn commit: r329896 - head/sys/ufs/ffs

2018-02-23 Thread Kirk McKusick
Author: mckusick Date: Sat Feb 24 03:33:46 2018 New Revision: 329896 URL: https://svnweb.freebsd.org/changeset/base/329896 Log: Relax the location restraints when validating one of the backup superblocks. Modified: head/sys/ufs/ffs/ffs_subr.c Modified: head/sys/ufs/ffs/ffs_subr.c

svn commit: r329903 - head/stand/lua

2018-02-23 Thread Kyle Evans
Author: kevans Date: Sat Feb 24 04:02:06 2018 New Revision: 329903 URL: https://svnweb.freebsd.org/changeset/base/329903 Log: lualoader: Explain nextboot stuff a little bit more Modified: head/stand/lua/config.lua Modified: head/stand/lua/config.lua

svn commit: r329890 - head/share/mk

2018-02-23 Thread Bryan Drewery
Author: bdrewery Date: Sat Feb 24 01:33:17 2018 New Revision: 329890 URL: https://svnweb.freebsd.org/changeset/base/329890 Log: Fix installation with read-only OBJDIR. Reported by: npn Sponsored by: Dell EMC Modified: head/share/mk/src.sys.obj.mk Modified:

svn commit: r329891 - in head/sys/powerpc: include mpc85xx powerpc

2018-02-23 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 24 01:46:56 2018 New Revision: 329891 URL: https://svnweb.freebsd.org/changeset/base/329891 Log: Remove platform_cpu_idle() and platform_cpu_idle_wakeup() interfaces These interfaces were put in place to let QorIQ SoCs dictate CPU idling semantics, in order

svn commit: r329892 - head/stand/libsa

2018-02-23 Thread Conrad Meyer
Author: cem Date: Sat Feb 24 01:58:53 2018 New Revision: 329892 URL: https://svnweb.freebsd.org/changeset/base/329892 Log: libsa: Change write(2)-alike prototype to match definition Broken in r329879. Apparently old GCC detects this, but modern GCC didn't. Mea culpa. Reported

Re: svn commit: r329874 - in head: etc/mtree tests/sys/net

2018-02-23 Thread Kubilay Kocak
On 2/24/18 5:18 AM, Alan Somers wrote: > Unfortunately, most of the tests are disabled because they fairly frequently > trigger panics. Do the atf_skip annotations/reasons show up in the output even though they're not run? Somewhat related, do the test machines use debug bits and produce

Re: svn commit: r329874 - in head: etc/mtree tests/sys/net

2018-02-23 Thread Alan Somers
On Fri, Feb 23, 2018 at 7:05 PM, Kubilay Kocak wrote: > On 2/24/18 5:18 AM, Alan Somers wrote: > > Unfortunately, most of the tests are disabled because they fairly > frequently > > trigger panics. > > Do the atf_skip annotations/reasons show up in the output even though >

svn commit: r329888 - head/sys/kern

2018-02-23 Thread Conrad Meyer
Author: cem Date: Sat Feb 24 01:15:33 2018 New Revision: 329888 URL: https://svnweb.freebsd.org/changeset/base/329888 Log: kern/sys_generic.c: style(9) return(foo) -> return (foo) No functional change. Sponsored by: Dell EMC Isilon Modified: head/sys/kern/sys_generic.c Modified:

svn commit: r329889 - head/sys/amd64/acpica

2018-02-23 Thread Jung-uk Kim
Author: jkim Date: Sat Feb 24 01:24:57 2018 New Revision: 329889 URL: https://svnweb.freebsd.org/changeset/base/329889 Log: Partially revert r197863 to reduce diff against i386. When I wrote the patch, I wanted to remove SYSINIT() usage from amd64 code. There is no reason to keep the

svn commit: r329895 - in head/stand: liblua libsa

2018-02-23 Thread Kyle Evans
Author: kevans Date: Sat Feb 24 02:57:24 2018 New Revision: 329895 URL: https://svnweb.freebsd.org/changeset/base/329895 Log: liblua: Implement write support Write support (even if it only works on UFS) will be needed for nextboot functionality. Reviewed by: cem, imp Differential

svn commit: r329897 - head/stand/lua

2018-02-23 Thread Kyle Evans
Author: kevans Date: Sat Feb 24 03:35:35 2018 New Revision: 329897 URL: https://svnweb.freebsd.org/changeset/base/329897 Log: lualoader: Add nextboot support config.parse now takes an extra callback that is invoked on the full text of the config file. This callback dictates where we

svn commit: r329902 - head/stand/lua

2018-02-23 Thread Kyle Evans
Author: kevans Date: Sat Feb 24 03:48:52 2018 New Revision: 329902 URL: https://svnweb.freebsd.org/changeset/base/329902 Log: lualoader: Remove unused variable; we now use the effective line number Modified: head/stand/lua/drawer.lua Modified: head/stand/lua/drawer.lua

svn commit: r329898 - head/stand/lua

2018-02-23 Thread Kyle Evans
Author: kevans Date: Sat Feb 24 03:38:51 2018 New Revision: 329898 URL: https://svnweb.freebsd.org/changeset/base/329898 Log: lualoader: Plug file handle not properly closed Modified: head/stand/lua/config.lua Modified: head/stand/lua/config.lua

svn commit: r329901 - head/stand/lua

2018-02-23 Thread Kyle Evans
Author: kevans Date: Sat Feb 24 03:47:04 2018 New Revision: 329901 URL: https://svnweb.freebsd.org/changeset/base/329901 Log: lualoader: Add comment on trailing space, don't operate on nil Functionally, the latter error wouldn't necessarily hurt anything. io.write will just error out as

Re: svn commit: r329896 - head/sys/ufs/ffs

2018-02-23 Thread Conrad Meyer
On Fri, Feb 23, 2018 at 7:33 PM, Kirk McKusick wrote: > Author: mckusick > Date: Sat Feb 24 03:33:46 2018 > New Revision: 329896 > URL: https://svnweb.freebsd.org/changeset/base/329896 > > Log: > Relax the location restraints when validating one of the > backup

svn commit: r329866 - head/sys/cam

2018-02-23 Thread Warner Losh
Author: imp Date: Fri Feb 23 16:06:54 2018 New Revision: 329866 URL: https://svnweb.freebsd.org/changeset/base/329866 Log: Use bool instead of int for predicate functions relating to work available. Modified: head/sys/cam/cam_iosched.c Modified: head/sys/cam/cam_iosched.c

svn commit: r329872 - head/usr.sbin/mptutil

2018-02-23 Thread Alan Somers
Author: asomers Date: Fri Feb 23 17:20:53 2018 New Revision: 329872 URL: https://svnweb.freebsd.org/changeset/base/329872 Log: Delete copypasta Reported by: rpokala MFC after:20 days X-MFC-With: 329845 Sponsored by: Spectra Logic Corp Modified:

Re: svn commit: r329871 - stable/11

2018-02-23 Thread Ravi Pokala
-Original Message- From: on behalf of Ravi Pokala Date: 2018-02-23, Friday at 08:51 To: , , , Subject: svn commit:

svn commit: r329865 - svnadmin/conf

2018-02-23 Thread Alan Somers
Author: asomers Date: Fri Feb 23 16:04:44 2018 New Revision: 329865 URL: https://svnweb.freebsd.org/changeset/base/329865 Log: Add myself to sizelimits, for the ZFS test suite import Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r329870 - stable/10/usr.sbin/bsdinstall/partedit

2018-02-23 Thread Ravi Pokala
Author: rpokala Date: Fri Feb 23 16:46:49 2018 New Revision: 329870 URL: https://svnweb.freebsd.org/changeset/base/329870 Log: MFC r323508: When doing a non-interactive installation, don't display an interactive warning about a filesystem which doesn't have a mountpoint. Presumably, the

Re: svn commit: r329853 - in head: lib/libifconfig share/examples/libifconfig usr.sbin/wlandebug

2018-02-23 Thread Rodney W. Grimes
> On Fri, Feb 23, 2018 at 7:47 AM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > Author: asomers > > > Date: Fri Feb 23 03:11:43 2018 > > > New Revision: 329853 > > > URL: https://svnweb.freebsd.org/changeset/base/329853 > > > > > > Log: > > > libifconfig: multiple feature

svn commit: r329868 - svnadmin/conf

2018-02-23 Thread Alan Somers
Author: asomers Date: Fri Feb 23 16:36:55 2018 New Revision: 329868 URL: https://svnweb.freebsd.org/changeset/base/329868 Log: Drop privileges taken in r329865 Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

Re: svn commit: r329859 - in head: contrib/compiler-rt/lib/builtins include stand sys/arm/include sys/arm64/include sys/mips/include sys/powerpc/include sys/riscv/include sys/sparc64/include sys/sys s

2018-02-23 Thread Bruce Evans
On Fri, 23 Feb 2018, Warner Losh wrote: On Thu, Feb 22, 2018 at 11:12 PM, Bruce Evans wrote: On Fri, 23 Feb 2018, Warner Losh wrote: * ... Modified: head/sys/arm/include/_types.h == ---

svn commit: r329871 - stable/11

2018-02-23 Thread Ravi Pokala
Author: rpokala Date: Fri Feb 23 16:51:20 2018 New Revision: 329871 URL: https://svnweb.freebsd.org/changeset/base/329871 Log: Somehow r329870 disn't include the mergeinfo...? Modified: Directory Properties: stable/11/ (props changed) ___

Re: svn commit: r329853 - in head: lib/libifconfig share/examples/libifconfig usr.sbin/wlandebug

2018-02-23 Thread Alan Somers
On Fri, Feb 23, 2018 at 7:47 AM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > Author: asomers > > Date: Fri Feb 23 03:11:43 2018 > > New Revision: 329853 > > URL: https://svnweb.freebsd.org/changeset/base/329853 > > > > Log: > > libifconfig: multiple feature additions > > > >

Re: svn commit: r329854 - head/stand/lua

2018-02-23 Thread Kyle Evans
On Fri, Feb 23, 2018 at 8:49 AM, Rodney W. Grimes wrote: > [ Charset UTF-8 unsupported, converting... ] >> Author: kevans >> Date: Fri Feb 23 03:18:24 2018 >> New Revision: 329854 >> URL: https://svnweb.freebsd.org/changeset/base/329854 >> >> Log: >> lualoader:

svn commit: r329869 - stable/11/usr.sbin/bsdinstall/partedit

2018-02-23 Thread Ravi Pokala
Author: rpokala Date: Fri Feb 23 16:45:59 2018 New Revision: 329869 URL: https://svnweb.freebsd.org/changeset/base/329869 Log: MFC r323508: When doing a non-interactive installation, don't display an interactive warning about a filesystem which doesn't have a mountpoint. Presumably, the

svn commit: r329873 - in head/sys: amd64/linux amd64/linux32 compat/freebsd32 dev/aic7xxx dev/drm2 dev/xen/blkback dev/xen/netback i386/ibcs2 i386/linux i386/pci kern netgraph x86/include

2018-02-23 Thread Ed Maste
Author: emaste Date: Fri Feb 23 18:15:50 2018 New Revision: 329873 URL: https://svnweb.freebsd.org/changeset/base/329873 Log: Correct pseudo misspelling in sys/ comments contrib code and #define in intel_ata.h unchanged. Modified: head/sys/amd64/linux/syscalls.master

Re: svn commit: r329865 - svnadmin/conf

2018-02-23 Thread Andriy Gapon
On 23/02/2018 18:04, Alan Somers wrote: > Author: asomers > Date: Fri Feb 23 16:04:44 2018 > New Revision: 329865 > URL: https://svnweb.freebsd.org/changeset/base/329865 > > Log: > Add myself to sizelimits, for the ZFS test suite import Hyper excited! :-) > Modified: >

svn commit: r329874 - in head: etc/mtree tests/sys/net

2018-02-23 Thread Alan Somers
Author: asomers Date: Fri Feb 23 18:18:42 2018 New Revision: 329874 URL: https://svnweb.freebsd.org/changeset/base/329874 Log: Add tests for lagg(4) and other cloned network interfaces Unfortunately, most of the tests are disabled because they fairly frequently trigger panics. MFC

svn commit: r329875 - head/sys/kern

2018-02-23 Thread Konstantin Belousov
Author: kib Date: Fri Feb 23 18:26:31 2018 New Revision: 329875 URL: https://svnweb.freebsd.org/changeset/base/329875 Log: Restore UP build. Reviewed by: truckman Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c

svn commit: r329876 - head/sys/amd64/linux

2018-02-23 Thread Ed Maste
Author: emaste Date: Fri Feb 23 19:09:27 2018 New Revision: 329876 URL: https://svnweb.freebsd.org/changeset/base/329876 Log: Use linux types for linux-specific syscalls Sponsored by: Turing Robotic Industries Inc. Differential Revision:https://reviews.freebsd.org/D14065

svn commit: r329877 - head/sys/dev/isci/scil

2018-02-23 Thread Ed Maste
Author: emaste Date: Fri Feb 23 20:01:42 2018 New Revision: 329877 URL: https://svnweb.freebsd.org/changeset/base/329877 Log: Correct typo in ATA_WRITE_UNCORRECTABLE_PSEUDO Also correct a typo in the comment for these values, noted by jimharris. Reviewed by: jimharris Sponsored by:

svn commit: r329878 - in head/sys: amd64/amd64 amd64/include arm64/arm64 arm64/include crypto/aesni crypto/armv8 crypto/via dev/efidev dev/random i386/i386 i386/include

2018-02-23 Thread Conrad Meyer
Author: cem Date: Fri Feb 23 20:15:19 2018 New Revision: 329878 URL: https://svnweb.freebsd.org/changeset/base/329878 Log: Remove unused error return from API that cannot fail No implementation of fpu_kern_enter() can fail, and it was causing needless error checking boilerplate and

svn commit: r329879 - in head/stand: libsa userboot/userboot zfs

2018-02-23 Thread Conrad Meyer
Author: cem Date: Fri Feb 23 20:18:09 2018 New Revision: 329879 URL: https://svnweb.freebsd.org/changeset/base/329879 Log: libsa: Const-ify buffer argument of write(2) analog Reported by: kevans Reviewed by: delphij, eadler, imp, kevans Sponsored by: Dell EMC Isilon Differential

Re: svn commit: r329866 - head/sys/cam

2018-02-23 Thread Ian Lepore
On Fri, 2018-02-23 at 16:06 +, Warner Losh wrote: > -static inline int > +static inline bool >  cam_iosched_has_flagged_work(struct cam_iosched_softc *isc) >  { > return !!(isc->flags & CAM_IOSCHED_FLAG_WORK_FLAGS); >  } There should be no need for the ugly !! here, conversion to bool

Re: svn commit: r329877 - head/sys/dev/isci/scil

2018-02-23 Thread Ed Maste
On 23 February 2018 at 15:01, Ed Maste wrote: > Author: emaste > Date: Fri Feb 23 20:01:42 2018 > New Revision: 329877 > URL: https://svnweb.freebsd.org/changeset/base/329877 > > Log: > Correct typo in ATA_WRITE_UNCORRECTABLE_PSEUDO > > Also correct a typo in the comment

svn commit: r329863 - stable/11/sys/x86/x86

2018-02-23 Thread Konstantin Belousov
Author: kib Date: Fri Feb 23 11:17:16 2018 New Revision: 329863 URL: https://svnweb.freebsd.org/changeset/base/329863 Log: MFC r329416: Remove unused symbols. Modified: stable/11/sys/x86/x86/mp_x86.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r329864 - head/sys/x86/x86

2018-02-23 Thread Konstantin Belousov
Author: kib Date: Fri Feb 23 11:20:59 2018 New Revision: 329864 URL: https://svnweb.freebsd.org/changeset/base/329864 Log: Do not return out of bound pointers from intr_lookup_source(). This hardens the code against driver and upper level bugs causing invalid indexes used, e.g. on msi

Re: svn commit: r329859 - in head: contrib/compiler-rt/lib/builtins include stand sys/arm/include sys/arm64/include sys/mips/include sys/powerpc/include sys/riscv/include sys/sparc64/include sys/sys s

2018-02-23 Thread Bruce Evans
On Fri, 23 Feb 2018, Bruce Evans wrote: On Fri, 23 Feb 2018, Warner Losh wrote: Log: Do not include float interfaces when using libsa. We don't support float in the boot loaders, so don't include interfaces for float or double in systems headers. In addition, take the unusual step of

Re: svn commit: r329859 - in head: contrib/compiler-rt/lib/builtins include stand sys/arm/include sys/arm64/include sys/mips/include sys/powerpc/include sys/riscv/include sys/sparc64/include sys/sys s

2018-02-23 Thread Warner Losh
On Thu, Feb 22, 2018 at 11:12 PM, Bruce Evans wrote: > On Fri, 23 Feb 2018, Warner Losh wrote: > > Log: >> Do not include float interfaces when using libsa. >> >> We don't support float in the boot loaders, so don't include >> interfaces for float or double in systems

Re: svn commit: r329853 - in head: lib/libifconfig share/examples/libifconfig usr.sbin/wlandebug

2018-02-23 Thread Rodney W. Grimes
> Author: asomers > Date: Fri Feb 23 03:11:43 2018 > New Revision: 329853 > URL: https://svnweb.freebsd.org/changeset/base/329853 > > Log: > libifconfig: multiple feature additions > > Added the ability to: > > * Create virtual interfaces > * Create vlan interfaces > * Get

Re: svn commit: r329854 - head/stand/lua

2018-02-23 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: kevans > Date: Fri Feb 23 03:18:24 2018 > New Revision: 329854 > URL: https://svnweb.freebsd.org/changeset/base/329854 > > Log: > lualoader: shallowCopyTable => deepCopyTable > > I called it a shallow copy, but it wasn't really a