svn commit: r328880 - head/sys/vm

2018-02-05 Thread Konstantin Belousov
Author: kib Date: Mon Feb 5 12:49:20 2018 New Revision: 328880 URL: https://svnweb.freebsd.org/changeset/base/328880 Log: On munlock(), unwire correct page. It is possible, for complex fork()/collapse situations, to have sibling address spaces to partially share shadow chains. If one

svn commit: r328881 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-02-05 Thread Andriy Gapon
Author: avg Date: Mon Feb 5 14:19:36 2018 New Revision: 328881 URL: https://svnweb.freebsd.org/changeset/base/328881 Log: zfs: move a utility function, ioflags, closer to its consumers No functional change. MFC after:1 week Modified:

svn commit: r328882 - head/sys/fs/ext2fs

2018-02-05 Thread Pedro F. Giffuni
Author: pfg Date: Mon Feb 5 14:30:27 2018 New Revision: 328882 URL: https://svnweb.freebsd.org/changeset/base/328882 Log: ext2fs: Cleanup variable assignments for extents. Delay the initialization of variables until the are needed. In the case of ext4_ext_rm_leaf(), make sure 'error'

svn commit: r328883 - in head/sys/modules: linux linux64

2018-02-05 Thread Ed Maste
Author: emaste Date: Mon Feb 5 14:53:18 2018 New Revision: 328883 URL: https://svnweb.freebsd.org/changeset/base/328883 Log: Move assym.s to DPSRCS in linux modules assym.s exists only to be included by other .s files, and should not actually be assembled by itself. Sponsored by:

svn commit: r328885 - head/sys/fs/ext2fs

2018-02-05 Thread Pedro F. Giffuni
Author: pfg Date: Mon Feb 5 15:14:01 2018 New Revision: 328885 URL: https://svnweb.freebsd.org/changeset/base/328885 Log: ext2fs: remove EXT4F_RO_INCOMPAT_SUPP This was a hack to be able to mount ext4 filesystems read-only while not supporting all the features. We now support all those

svn commit: r328876 - head/sys/netinet6

2018-02-05 Thread Andrey V. Elsukov
Author: ae Date: Mon Feb 5 09:22:07 2018 New Revision: 328876 URL: https://svnweb.freebsd.org/changeset/base/328876 Log: Modify ip6_get_prevhdr() to be able use it safely. Instead of returning pointer to the previous header, return its offset. In frag6_input() use m_copyback() and

svn commit: r328910 - head/share/man/man7

2018-02-05 Thread John Baldwin
Author: jhb Date: Mon Feb 5 23:29:50 2018 New Revision: 328910 URL: https://svnweb.freebsd.org/changeset/base/328910 Log: Fix a typo. Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arch.7 == ---

svn commit: r328911 - in head: stand/common sys/kern

2018-02-05 Thread John Baldwin
Author: jhb Date: Mon Feb 5 23:35:33 2018 New Revision: 328911 URL: https://svnweb.freebsd.org/changeset/base/328911 Log: Ignore relocation tables for non-memory-resident sections. As a followup to r328101, ignore relocation tables for ELF object sections that are not memory resident.

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

2018-02-05 Thread Kirk McKusick
Author: mckusick Date: Tue Feb 6 00:19:46 2018 New Revision: 328914 URL: https://svnweb.freebsd.org/changeset/base/328914 Log: Occasional cylinder-group check-hash errors were being reported on systems running with a heavy filesystem load. Tracking down this bug was elusive because there

svn commit: r328909 - head/sys/kern

2018-02-05 Thread John Baldwin
Author: jhb Date: Mon Feb 5 23:27:42 2018 New Revision: 328909 URL: https://svnweb.freebsd.org/changeset/base/328909 Log: Always give ELF brands a chance to veto a match. If a brand provides a header_supported hook, check it when trying to find a brand based on a matching interpreter as

svn commit: r328912 - in head: share/man/man4 sys/conf sys/dev/bhnd sys/dev/bwn sys/dev/siba sys/gnu/dev/bwn/phy_n sys/modules sys/modules/bwn sys/modules/bwn_pci sys/modules/siba_bwn

2018-02-05 Thread Landon J. Fuller
Author: landonf Date: Mon Feb 5 23:38:15 2018 New Revision: 328912 URL: https://svnweb.freebsd.org/changeset/base/328912 Log: bwn(4): migrate bwn(4) to the native bhnd(9) interface, and drop siba_bwn. - Remove the shim interface that allowed bwn(4) to use either siba_bwn or bhnd(4),

svn commit: r328913 - in head/sys: conf i386/i386

2018-02-05 Thread Konstantin Belousov
Author: kib Date: Tue Feb 6 00:02:30 2018 New Revision: 328913 URL: https://svnweb.freebsd.org/changeset/base/328913 Log: Move signal trampolines out of locore.s into separate source file. Similar to other arches, the move makes the subject of locore.s only the kernel startup.

svn commit: r328890 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2018-02-05 Thread Ed Maste
Author: emaste Date: Mon Feb 5 17:29:12 2018 New Revision: 328890 URL: https://svnweb.freebsd.org/changeset/base/328890 Log: Linuxolator whitespace cleanup A version of each of the MD files by necessity exists for each CPU architecture supported by the Linuxolator. Clean these up so

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

2018-02-05 Thread Brooks Davis
Author: brooks Date: Mon Feb 5 18:06:54 2018 New Revision: 328892 URL: https://svnweb.freebsd.org/changeset/base/328892 Log: Garbage collect trailing whitespace. Sponsored by: DARPA, AFRL Modified: head/sys/mips/mips/busdma_machdep.c Modified: head/sys/mips/mips/busdma_machdep.c

svn commit: r328894 - in head/sys: amd64/linux i386/linux

2018-02-05 Thread Ed Maste
Author: emaste Date: Mon Feb 5 18:39:06 2018 New Revision: 328894 URL: https://svnweb.freebsd.org/changeset/base/328894 Log: Additional linuxolator whitespace cleanup, missed in r328890 Modified: head/sys/amd64/linux/syscalls.master head/sys/i386/linux/syscalls.master Modified:

svn commit: r328895 - head/etc

2018-02-05 Thread Ed Maste
Author: emaste Date: Mon Feb 5 18:45:21 2018 New Revision: 328895 URL: https://svnweb.freebsd.org/changeset/base/328895 Log: Correct Russia spelling in regdomain.xml PR: 225658 MFC after:1 week Modified: head/etc/regdomain.xml Modified: head/etc/regdomain.xml

svn commit: r328896 - in head: contrib/netbsd-tests/kernel tests/sys/kern

2018-02-05 Thread Brooks Davis
Author: brooks Date: Mon Feb 5 18:48:00 2018 New Revision: 328896 URL: https://svnweb.freebsd.org/changeset/base/328896 Log: Fix and enable SysV IPC tests. Don't declare some types that FreeBSD incorrectly declares. Fix an incorrect call to open() (missing mode). ANSIfy

svn commit: r328898 - head/sys/kern

2018-02-05 Thread Brooks Davis
Author: brooks Date: Mon Feb 5 18:58:55 2018 New Revision: 328898 URL: https://svnweb.freebsd.org/changeset/base/328898 Log: ANSIfy syscall implementations. Reviewed by: rwatson Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D14172 Modified:

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

2018-02-05 Thread Gleb Smirnoff
Author: glebius Date: Tue Feb 6 04:16:00 2018 New Revision: 328916 URL: https://svnweb.freebsd.org/changeset/base/328916 Log: Followup on r302393 by cperciva, improving calculation of boot pages required for UMA startup. o Introduce another stage of UMA startup, which is entered after

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

2018-02-05 Thread Bryan Venteicher
Author: bryanv Date: Tue Feb 6 04:28:21 2018 New Revision: 328917 URL: https://svnweb.freebsd.org/changeset/base/328917 Log: Correct structure name used in bus_map_resource(9) example Reviewed by: jhb MFC after:1 week Differential Revision:

svn commit: r328918 - in head/sys/cam: . ata ctl mmc nvme scsi

2018-02-05 Thread Scott Long
Author: scottl Date: Tue Feb 6 06:42:25 2018 New Revision: 328918 URL: https://svnweb.freebsd.org/changeset/base/328918 Log: Return a C errno for cam_periph_acquire(). There's no compelling reason to return a cam_status type for this function and doing so only creates confusion with

svn commit: r328919 - head/sys/dev/mps

2018-02-05 Thread Scott Long
Author: scottl Date: Tue Feb 6 06:55:55 2018 New Revision: 328919 URL: https://svnweb.freebsd.org/changeset/base/328919 Log: Fix a case where a request frame can be composed that requires 2 or more SGList elements, but there's only enough space in the request frame for either 1 element or

svn commit: r328901 - head/sys/dev/etherswitch/arswitch

2018-02-05 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 20:37:29 2018 New Revision: 328901 URL: https://svnweb.freebsd.org/changeset/base/328901 Log: [arswitch] disable ARP copy-to-CPU port for AR9340 for now. I'll have to go double check to see if it does indeed pass ARP frames between switch ports with this

svn commit: r328891 - head/lib/libcasper/libcasper

2018-02-05 Thread Mark Johnston
Author: markj Date: Mon Feb 5 17:33:16 2018 New Revision: 328891 URL: https://svnweb.freebsd.org/changeset/base/328891 Log: Document the need for WITH_CASPER. After r325062, consumers need to define WITH_CASPER for libcasper to function as expected. Modified:

svn commit: r328899 - head/sys/kern

2018-02-05 Thread Brooks Davis
Author: brooks Date: Mon Feb 5 19:06:34 2018 New Revision: 328899 URL: https://svnweb.freebsd.org/changeset/base/328899 Log: Reduce duplication in extattr_*_(file|link) syscalls. Reviewed by: rwatson Obtained from:CheriBSD Sponsored by: DARPA, AFRL Differential Revision:

Re: svn commit: r328489 - head/sys/conf

2018-02-05 Thread O. Hartmann
Am Sun, 4 Feb 2018 10:22:31 -0800 Jason Harmening schrieb: > On 02/04/18 04:33, O. Hartmann wrote: > > Am Mon, 29 Jan 2018 05:00:22 -0800 > > David Wolfskill schrieb: > > > >> On Mon, Jan 29, 2018 at 02:10:04AM -0800, Jason Harmening wrote:

Re: svn commit: r328489 - head/sys/conf

2018-02-05 Thread Jason Harmening
On Mon, Feb 5, 2018 at 1:25 PM, O. Hartmann wrote: > Am Sun, 4 Feb 2018 10:22:31 -0800 > Jason Harmening schrieb: > > > On 02/04/18 04:33, O. Hartmann wrote: > > > Am Mon, 29 Jan 2018 05:00:22 -0800 > > > David Wolfskill

Re: svn commit: r328610 - head/sys/amd64/amd64

2018-02-05 Thread Ed Maste
On 31 January 2018 at 11:14, John Baldwin wrote: > On Wednesday, January 31, 2018 10:31:36 AM Ed Maste wrote: >> On 30 January 2018 at 21:01, John Baldwin wrote: >> > On Tuesday, January 30, 2018 11:29:27 PM John Baldwin wrote: >> >> Author: jhb >> >> Date:

svn commit: r328893 - head/lib/libc/mips/gen

2018-02-05 Thread John Baldwin
Author: jhb Date: Mon Feb 5 18:10:28 2018 New Revision: 328893 URL: https://svnweb.freebsd.org/changeset/base/328893 Log: Fix makecontext() on MIPS O32. The GP register can be clobbered by the callback, so save it in S1 while invoking the callback function. While here, add a

svn commit: r328900 - head/sys/dev/etherswitch/arswitch

2018-02-05 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 20:30:53 2018 New Revision: 328900 URL: https://svnweb.freebsd.org/changeset/base/328900 Log: [arswitch] fix build breakage. Apparently the last time I checked building this it didn't pick up that the header had changed. Modified: