svn commit: r339941 - in head/sbin: fsck_ffs fsdb

2018-10-30 Thread Kirk McKusick
Author: mckusick Date: Wed Oct 31 05:17:53 2018 New Revision: 339941 URL: https://svnweb.freebsd.org/changeset/base/339941 Log: In preparation for adding inode check-hashes, change the fsck_ffs inodirty() function to have a pointer to the inode being dirtied. No functional change (as for now

svn commit: r339936 - head/sys/amd64/vmm/amd

2018-10-30 Thread Marcelo Araujo
Author: araujo Date: Wed Oct 31 01:27:44 2018 New Revision: 339936 URL: https://svnweb.freebsd.org/changeset/base/339936 Log: Merge cases with upper block. This is a cosmetic change only to simplify code. Reported by: anish Sponsored by: iXsystems Inc. Modified: head/sys/amd64/vmm/a

svn commit: r339934 - head/sys/vm

2018-10-30 Thread Mark Johnston
Author: markj Date: Tue Oct 30 22:40:40 2018 New Revision: 339934 URL: https://svnweb.freebsd.org/changeset/base/339934 Log: Revert r336984. It appears to be responsible for random segfaults observed when lots of paging activity is taking place, but the root cause is not yet understood.

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Alexander Richardson
On Tue, 30 Oct 2018 at 22:16, Mark Millard wrote: > > On 2018-Oct-30, at 2:40 PM, Alexander Richardson > wrote: > > > On Tue, 30 Oct 2018 at 21:32, Mark Millard > > wrote: > >> > >> > >> > >> On 2018-Oct-30, at 2:23 PM, Alexander Richardson >> freebsd.org> wrote: > >> > >>> On Tue, 30 Oct 201

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Mark Millard via svn-src-head
On 2018-Oct-30, at 2:40 PM, Alexander Richardson wrote: > On Tue, 30 Oct 2018 at 21:32, Mark Millard > wrote: >> >> >> >> On 2018-Oct-30, at 2:23 PM, Alexander Richardson > freebsd.org> wrote: >> >>> On Tue, 30 Oct 2018 at 18:19, Mark Millard >>> wrote: Alexander Richardson ar

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Alexander Richardson
On Tue, 30 Oct 2018 at 21:32, Mark Millard wrote: > > > > On 2018-Oct-30, at 2:23 PM, Alexander Richardson > wrote: > > > On Tue, 30 Oct 2018 at 18:19, Mark Millard > > wrote: > >> > >> Alexander Richardson arichardson at freebsd.org wrote on > >> Tue Oct 30 15:33:00 UTC 2018 : > >> > >>> On T

svn commit: r339933 - head/sys/kern

2018-10-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Oct 30 21:35:56 2018 New Revision: 339933 URL: https://svnweb.freebsd.org/changeset/base/339933 Log: Fix mips build after r339931. I erroneously thought that it was two 64bit platforms which use link_elf_obj.c. PR: 228854 Reported by: ci.f.o. MFC after

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Mark Millard via svn-src-head
On 2018-Oct-30, at 2:23 PM, Alexander Richardson wrote: > On Tue, 30 Oct 2018 at 18:19, Mark Millard > wrote: >> >> Alexander Richardson arichardson at freebsd.org wrote on >> Tue Oct 30 15:33:00 UTC 2018 : >> >>> On Tue, 30 Oct 2018 at 10:17, Michael Tuexen >>> wrote: > On 29.

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Alexander Richardson
On Tue, 30 Oct 2018 at 18:19, Mark Millard wrote: > > Alexander Richardson arichardson at freebsd.org wrote on > Tue Oct 30 15:33:00 UTC 2018 : > > > On Tue, 30 Oct 2018 at 10:17, Michael Tuexen > > wrote: > > > > > > > On 29. Oct 2018, at 22:08, Alex Richardson > > > > wrote: > > > > > > > > A

svn commit: r339931 - head/sys/kern

2018-10-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Oct 30 20:51:03 2018 New Revision: 339931 URL: https://svnweb.freebsd.org/changeset/base/339931 Log: As a follow-up to r339930 and various reports implement logging in case we fail during module load because the pcpu or vnet module sections are full. We did return a pro

svn commit: r339930 - head/sys/net

2018-10-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Oct 30 20:45:15 2018 New Revision: 339930 URL: https://svnweb.freebsd.org/changeset/base/339930 Log: With more excessive use of modules, more kernel parts working with VIMAGE, and feature richness and global state increasing the 8k of vnet module space are no longer suff

svn commit: r339929 - in head: sbin/ifconfig sys/net sys/netinet sys/netinet6 usr.sbin/ndp usr.sbin/rtadvd

2018-10-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Oct 30 20:08:48 2018 New Revision: 339929 URL: https://svnweb.freebsd.org/changeset/base/339929 Log: Initial implementation of draft-ietf-6man-ipv6only-flag. This change defines the RA "6" (IPv6-Only) flag which routers may advertise, kernel logic to check if all rout

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Mark Millard via svn-src-head
Konstantin Belousov kostikbel at gmail.com wrote on Tue Oct 30 18:04:04 UTC 2018 : > On Tue, Oct 30, 2018 at 03:32:40PM +, Alexander Richardson wrote: > > On Tue, 30 Oct 2018 at 10:17, Michael Tuexen > > wrote: > > > > > > > On 29. Oct 2018, at 22:08, Alex Richardson > > > > wrote: > > > >

svn commit: r339927 - in head: . share/man/man9 sys/dev/hwpmc sys/i386/i386 sys/kern sys/sys sys/vm sys/x86/iommu sys/x86/x86

2018-10-30 Thread Mark Johnston
== --- head/ObsoleteFiles.inc Tue Oct 30 18:20:34 2018(r339926) +++ head/ObsoleteFiles.inc Tue Oct 30 18:26:34 2018(r339927) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20181030

svn commit: r339926 - head/sys/conf

2018-10-30 Thread John Baldwin
Author: jhb Date: Tue Oct 30 18:20:34 2018 New Revision: 339926 URL: https://svnweb.freebsd.org/changeset/base/339926 Log: Only invoke 'ls' if the local modules directory exists. This avoids a spurious make warning if /usr/local/sys/modules doesn't exist. Submitted by: rgrimes Repo

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Mark Millard via svn-src-head
Alexander Richardson arichardson at freebsd.org wrote on Tue Oct 30 15:33:00 UTC 2018 : > On Tue, 30 Oct 2018 at 10:17, Michael Tuexen > wrote: > > > > > On 29. Oct 2018, at 22:08, Alex Richardson > > > wrote: > > > > > > Author: arichardson > > > Date: Mon Oct 29 21:08:02 2018 > > > New Revisi

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Konstantin Belousov
On Tue, Oct 30, 2018 at 03:32:40PM +, Alexander Richardson wrote: > On Tue, 30 Oct 2018 at 10:17, Michael Tuexen > wrote: > > > > > On 29. Oct 2018, at 22:08, Alex Richardson > > > wrote: > > > > > > Author: arichardson > > > Date: Mon Oct 29 21:08:02 2018 > > > New Revision: 339876 > > > UR

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

2018-10-30 Thread Mark Johnston
Author: markj Date: Tue Oct 30 17:57:40 2018 New Revision: 339925 URL: https://svnweb.freebsd.org/changeset/base/339925 Log: Fix some problems that manifest when NUMA domain 0 is empty. - In uma_prealloc(), we need to check for an empty domain before the first allocation attempt, not af

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

2018-10-30 Thread Ian Lepore
On Tue, 2018-10-30 at 09:40 -0700, John Baldwin wrote: > On 10/29/18 5:23 PM, John Baldwin wrote: > > > > Author: jhb > > Date: Tue Oct 30 00:23:37 2018 > > New Revision: 339901 > > URL: https://svnweb.freebsd.org/changeset/base/339901 > > > > Log: > >   Permit local kernel modules to be built as

svn commit: r339924 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src modules/linuxkpi

2018-10-30 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 30 16:42:56 2018 New Revision: 339924 URL: https://svnweb.freebsd.org/changeset/base/339924 Log: Implement the dump_stack() function in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:3 days Sponsored by: Mellanox Techn

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

2018-10-30 Thread John Baldwin
On 10/29/18 5:23 PM, John Baldwin wrote: > Author: jhb > Date: Tue Oct 30 00:23:37 2018 > New Revision: 339901 > URL: https://svnweb.freebsd.org/changeset/base/339901 > > Log: > Permit local kernel modules to be built as part of a kernel build. > > Add support for "local" modules. By defau

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

2018-10-30 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 30 16:32:52 2018 New Revision: 339923 URL: https://svnweb.freebsd.org/changeset/base/339923 Log: Implement __KERNEL_DIV_ROUND_UP() function macro in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:3 days Sponsored by: M

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

2018-10-30 Thread John Baldwin
On 10/30/18 8:55 AM, Rodney W. Grimes wrote: >> On Tue, Oct 30, 2018 at 12:23:38AM +, John Baldwin wrote: >>> Author: jhb >>> Date: Tue Oct 30 00:23:37 2018 >>> New Revision: 339901 >>> URL: https://svnweb.freebsd.org/changeset/base/339901 >>> >>> Log: >>> Permit local kernel modules to be bu

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

2018-10-30 Thread Andriy Gapon
On 30/10/2018 16:54, Eric van Gyzen wrote: > Author: vangyzen > Date: Tue Oct 30 14:54:15 2018 > New Revision: 339917 > URL: https://svnweb.freebsd.org/changeset/base/339917 > > Log: > Always stop the scheduler when entering kdb > > Set curthread->td_stopsched when entering kdb via any vect

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

2018-10-30 Thread Rodney W. Grimes
> On Tue, Oct 30, 2018 at 12:23:38AM +, John Baldwin wrote: > > Author: jhb > > Date: Tue Oct 30 00:23:37 2018 > > New Revision: 339901 > > URL: https://svnweb.freebsd.org/changeset/base/339901 > > > > Log: > > Permit local kernel modules to be built as part of a kernel build. > > > > A

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

2018-10-30 Thread Mark Johnston
On Tue, Oct 30, 2018 at 12:23:38AM +, John Baldwin wrote: > Author: jhb > Date: Tue Oct 30 00:23:37 2018 > New Revision: 339901 > URL: https://svnweb.freebsd.org/changeset/base/339901 > > Log: > Permit local kernel modules to be built as part of a kernel build. > > Add support for "loca

svn commit: r339922 - in head: share/man/man5 share/mk sys/conf tools/build/options

2018-10-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Oct 30 15:46:30 2018 New Revision: 339922 URL: https://svnweb.freebsd.org/changeset/base/339922 Log: Introduce an EXPERIMENTAL option for both src.conf(5) and the kernel. In the last decade(s) we have seen both short term or long term projects committed to the tree wh

svn commit: r339921 - head/contrib/tzcode/stdtime

2018-10-30 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 30 15:44:16 2018 New Revision: 339921 URL: https://svnweb.freebsd.org/changeset/base/339921 Log: Remove no longer relevant comment, as suggested by imp@. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/contrib/tzcode/stdtime/localtime.c Modif

svn commit: r339920 - head/contrib/tzcode/stdtime

2018-10-30 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 30 15:43:06 2018 New Revision: 339920 URL: https://svnweb.freebsd.org/changeset/base/339920 Log: Remove useless call to access(2) from tzcode. Quoting OpenBSD: > Remove doaccess variable and access(2) call since this interfers with > applications like zdump(8)

svn commit: r339919 - head/usr.sbin/nscd

2018-10-30 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 30 15:39:33 2018 New Revision: 339919 URL: https://svnweb.freebsd.org/changeset/base/339919 Log: Make "nscd -t" work. Reviewed by: des@ MFC after:2 weeks Sponsored by: Chalmers University of Technology Differential Revision:https://reviews.free

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Alexander Richardson
On Tue, 30 Oct 2018 at 10:17, Michael Tuexen wrote: > > > On 29. Oct 2018, at 22:08, Alex Richardson wrote: > > > > Author: arichardson > > Date: Mon Oct 29 21:08:02 2018 > > New Revision: 339876 > > URL: https://svnweb.freebsd.org/changeset/base/339876 > > > > Log: > > rtld: set obj->textsize c

svn commit: r339917 - head/sys/kern

2018-10-30 Thread Eric van Gyzen
Author: vangyzen Date: Tue Oct 30 14:54:15 2018 New Revision: 339917 URL: https://svnweb.freebsd.org/changeset/base/339917 Log: Always stop the scheduler when entering kdb Set curthread->td_stopsched when entering kdb via any vector. Previously, it was only set when entering via panic, so

svn commit: r339916 - in head/lib/csu: . arm mips powerpc riscv sparc64 tests

2018-10-30 Thread Andrew Turner
Author: andrew Date: Tue Oct 30 14:44:12 2018 New Revision: 339916 URL: https://svnweb.freebsd.org/changeset/base/339916 Log: Build the csu tests on all architectures. The tests haven't been run them, but this is enough to build them so I can get feedback on if the various crt.h headers a

svn commit: r339914 - head/sys/powerpc/powermac

2018-10-30 Thread Michael Tuexen
Author: tuexen Date: Tue Oct 30 11:51:09 2018 New Revision: 339914 URL: https://svnweb.freebsd.org/changeset/base/339914 Log: Bump the number of fans supported from 8 to 12. The number of fans on a PowerMac7,3 with liquid cooling is 9. Reviewed by: andreast@ MFC after:

svn commit: r339913 - head/lib/csu/tests

2018-10-30 Thread Andrew Turner
Author: andrew Date: Tue Oct 30 11:19:47 2018 New Revision: 339913 URL: https://svnweb.freebsd.org/changeset/base/339913 Log: Disable the .preinit_array test in DSOs, ld.bfd fails to link objects with the section. MFC with: r339738 Sponsored by: DARPA, AFRL Modified: head/lib/csu

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Michael Tuexen
> On 29. Oct 2018, at 22:08, Alex Richardson wrote: > > Author: arichardson > Date: Mon Oct 29 21:08:02 2018 > New Revision: 339876 > URL: https://svnweb.freebsd.org/changeset/base/339876 > > Log: > rtld: set obj->textsize correctly > > With lld-generated binaries the first PT_LOAD will usual

svn commit: r339912 - head/lib/csu/tests

2018-10-30 Thread Andrew Turner
Author: andrew Date: Tue Oct 30 10:16:21 2018 New Revision: 339912 URL: https://svnweb.freebsd.org/changeset/base/339912 Log: Fix the location of the static keyword. MFC with: r339738 Sponsored by: DARPA, AFRL Modified: head/lib/csu/tests/init_test.c Modified: head/lib/csu/tests/i

svn commit: r339911 - head/sys/amd64/vmm/amd

2018-10-30 Thread Marcelo Araujo
Author: araujo Date: Tue Oct 30 10:02:23 2018 New Revision: 339911 URL: https://svnweb.freebsd.org/changeset/base/339911 Log: Emulate machine check related MSR_EXTFEATURES to allow guest OSes to boot on AMD FX Series. PR: 224476 Submitted by: Keita Uchida Reviewed by: rgri

svn commit: r339909 - head/sys/net

2018-10-30 Thread Marcelo Araujo
Author: araujo Date: Tue Oct 30 09:53:57 2018 New Revision: 339909 URL: https://svnweb.freebsd.org/changeset/base/339909 Log: Allow changing lagg(4) MTU. Previously, changing the MTU would require destroying the lagg and creating a new one. Now it is allowed to change the MTU of the lag

svn commit: r339908 - in head: etc/mtree lib/csu/tests lib/csu/tests/dso lib/csu/tests/dynamiclib

2018-10-30 Thread Andrew Turner
Author: andrew Date: Tue Oct 30 09:43:26 2018 New Revision: 339908 URL: https://svnweb.freebsd.org/changeset/base/339908 Log: Run the csu tests on a DSO. This builds the tests into a shared library, then runs these from the base test programs. With this we can check crtbeginS.o and crtendS.o

svn commit: r339907 - head/lib/csu/tests

2018-10-30 Thread Andrew Turner
Author: andrew Date: Tue Oct 30 09:36:31 2018 New Revision: 339907 URL: https://svnweb.freebsd.org/changeset/base/339907 Log: The jcr argument to _Jv_RegisterClasses is used, stop marking it otherwise. MFC with: r339738 Sponsored by: DARPA, AFRL Modified: head/lib/csu/tests/init_te