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

2017-11-26 Thread Peter Holm
On Sun, Nov 26, 2017 at 10:11:21PM +0100, Mateusz Guzik wrote: > On Sun, Nov 26, 2017 at 7:49 AM, Peter Holm wrote: > > > On Sat, Nov 25, 2017 at 08:49:27PM +, Mateusz Guzik wrote: > > > Author: mjg > > > Date: Sat Nov 25 20:49:27 2017 > > > New Revision: 326200 > > > URL: https://svnweb.free

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

2017-11-26 Thread Nathan Whitehorn
On 11/26/17 20:50, John Baldwin wrote: On Saturday, November 25, 2017 11:41:05 PM Nathan Whitehorn wrote: Author: nwhitehorn Date: Sat Nov 25 23:41:05 2017 New Revision: 326218 URL: https://svnweb.freebsd.org/changeset/base/326218 Log: Remove some, but not all, assumptions that the BSP is

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

2017-11-26 Thread John Baldwin
On Saturday, November 25, 2017 11:41:05 PM Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Sat Nov 25 23:41:05 2017 > New Revision: 326218 > URL: https://svnweb.freebsd.org/changeset/base/326218 > > Log: > Remove some, but not all, assumptions that the BSP is CPU 0 and that CPUs > are num

Re: svn commit: r326225 - head/sys/arm64/arm64

2017-11-26 Thread Bruce Evans
On Sun, 26 Nov 2017, Andrew Turner wrote: Log: Make the arm64 pmap_invalidate functions static inline. This fixes building with DIAGNOSTIC. This is fairly broken on x86 too. Modified: head/sys/arm64/arm64/pmap.c ==

svn commit: r326245 - head

2017-11-26 Thread Brad Davis
Author: brd (doc,ports committer) Date: Mon Nov 27 04:24:48 2017 New Revision: 326245 URL: https://svnweb.freebsd.org/changeset/base/326245 Log: Fix another typo Pointy hat to:oshogbo Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc =

svn commit: r326244 - head/usr.sbin/inetd

2017-11-26 Thread Xin LI
Author: delphij Date: Mon Nov 27 04:15:03 2017 New Revision: 326244 URL: https://svnweb.freebsd.org/changeset/base/326244 Log: Don't assign rs as we will assign it later. MFC after:2 weeks Modified: head/usr.sbin/inetd/builtins.c Modified: head/usr.sbin/inetd/builtins.c

Re: svn commit: r326125 - head/usr.sbin/kgmon

2017-11-26 Thread Bruce Evans
On Sun, 26 Nov 2017, Edward Tomasz Napierala wrote: On 1124T0138, Bruce Evans wrote: On Thu, 23 Nov 2017, Edward Tomasz Napierala wrote: Log: Mark kgmon(8) obsolete, redirecting users to pmcstat(8). It isn't obsolete. pmcstat can't do at least full (non-statistical) call graphs and high-r

svn commit: r326239 - head/tools

2017-11-26 Thread Brad Davis
Author: brd (doc,ports committer) Date: Mon Nov 27 02:28:40 2017 New Revision: 326239 URL: https://svnweb.freebsd.org/changeset/base/326239 Log: Fix handling -U. It does not take any arguments. Approved by: will Modified: head/tools/install.sh Modified: head/tools/install.sh ==

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

2017-11-26 Thread Mateusz Guzik
On Sun, Nov 26, 2017 at 10:10 PM, Mateusz Guzik wrote: > Author: mjg > Date: Sun Nov 26 21:10:47 2017 > New Revision: 326237 > URL: https://svnweb.freebsd.org/changeset/base/326237 > > Log: > rw: fix runlock_hard when new readers show up > > When waiters/writer spinner flags are set no new re

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

2017-11-26 Thread Mateusz Guzik
On Sun, Nov 26, 2017 at 7:49 AM, Peter Holm wrote: > On Sat, Nov 25, 2017 at 08:49:27PM +, Mateusz Guzik wrote: > > Author: mjg > > Date: Sat Nov 25 20:49:27 2017 > > New Revision: 326200 > > URL: https://svnweb.freebsd.org/changeset/base/326200 > > > > Log: > > Add the missing lockstat che

svn commit: r326237 - head/sys/kern

2017-11-26 Thread Mateusz Guzik
Author: mjg Date: Sun Nov 26 21:10:47 2017 New Revision: 326237 URL: https://svnweb.freebsd.org/changeset/base/326237 Log: rw: fix runlock_hard when new readers show up When waiters/writer spinner flags are set no new readers can show up unless they already have a different rw rock read l

svn commit: r326236 - head/sys/powerpc/booke

2017-11-26 Thread Justin Hibbits
Author: jhibbits Date: Sun Nov 26 20:30:02 2017 New Revision: 326236 URL: https://svnweb.freebsd.org/changeset/base/326236 Log: Synchronize TLB1 mappings when created This allows modules creating mappings to be loaded post-boot, after SMP has started. Without this, the TLB1 mappings can

Re: svn commit: r326125 - head/usr.sbin/kgmon

2017-11-26 Thread Edward Tomasz Napierala
On 1124T0138, Bruce Evans wrote: > On Thu, 23 Nov 2017, Edward Tomasz Napierala wrote: > > > Log: > > Mark kgmon(8) obsolete, redirecting users to pmcstat(8). > > It isn't obsolete. pmcstat can't do at least full (non-statistical) > call graphs and high-resolution profiling. [snip detailed exp

svn commit: r326235 - head/sys/vm

2017-11-26 Thread Mark Johnston
Author: markj Date: Sun Nov 26 19:17:55 2017 New Revision: 326235 URL: https://svnweb.freebsd.org/changeset/base/326235 Log: Move vm_phys_init_page() to vm_page.c. Suggested by: kib Reviewed by: alc, kib MFC after:1 week Differential Revision:https://reviews.freebsd.org/D

svn commit: r326234 - head/sys/vm

2017-11-26 Thread Mark Johnston
Author: markj Date: Sun Nov 26 19:16:45 2017 New Revision: 326234 URL: https://svnweb.freebsd.org/changeset/base/326234 Log: Remove unneeded initializations from vm_phys_init_page(). The page allocator always initializes the aflags and oflags fields. Reviewed by: alc, kib MFC after:

Re: svn commit: r326227 - in head/sys/arm64: arm64 include

2017-11-26 Thread Konstantin Belousov
On Sun, Nov 26, 2017 at 02:28:27PM +, Ed Schouten wrote: > Author: ed > Date: Sun Nov 26 14:28:27 2017 > New Revision: 326227 > URL: https://svnweb.freebsd.org/changeset/base/326227 > > Log: > Make 32-bit system calls end up in svc_handler(). > > The nice thing about ARM64 is that it's

svn commit: r326233 - in head: sbin/ipfw sys/netinet sys/netpfil/ipfw

2017-11-26 Thread Michael Tuexen
Author: tuexen Date: Sun Nov 26 18:19:01 2017 New Revision: 326233 URL: https://svnweb.freebsd.org/changeset/base/326233 Log: Add to ipfw support for sending an SCTP packet containing an ABORT chunk. This is similar to the TCP case. where a TCP RST segment can be sent. There is one limita

Re: svn commit: r326095 - head/usr.sbin/bsdinstall/scripts

2017-11-26 Thread Ian Lepore
On Sat, 2017-11-25 at 22:09 +1100, Bruce Evans wrote: > On Fri, 24 Nov 2017, Ian Lepore wrote: > > [...] > > Is there any use for ntp as a client if you have an atomic clock?  Just to > validate both it and ntpd? > > Bruce Ntpd treats the atomic clock as one of its peers...  the clock emits a P

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

2017-11-26 Thread Nathan Whitehorn
On 11/26/17 01:46, Andrew Turner wrote: On 25 Nov 2017, at 23:41, Nathan Whitehorn wrote: Author: nwhitehorn Date: Sat Nov 25 23:41:05 2017 New Revision: 326218 URL: https://svnweb.freebsd.org/changeset/base/326218 Log: Remove some, but not all, assumptions that the BSP is CPU 0 and that C

svn commit: r326232 - head/lib/libzstd

2017-11-26 Thread Michal Meloun
Author: mmel Date: Sun Nov 26 16:41:30 2017 New Revision: 326232 URL: https://svnweb.freebsd.org/changeset/base/326232 Log: Addd work around for LLVM bug 35023. Clang crashes when compiling zstd_compress.c with optimization for ARM targets. https://bugs.llvm.org/show_bug.cgi?id=35023 Mo

svn commit: r326231 - head/lib/libefivar

2017-11-26 Thread Warner Losh
Author: imp Date: Sun Nov 26 16:12:10 2017 New Revision: 326231 URL: https://svnweb.freebsd.org/changeset/base/326231 Log: Add efidp_format_device_path_node to format a single node in a device path, much like efidp_format_device_path will format the entire path. Sponsored by: Netflix Mod

svn commit: r326230 - in head/sys/arm64: arm64 include

2017-11-26 Thread Ed Schouten
Author: ed Date: Sun Nov 26 14:56:23 2017 New Revision: 326230 URL: https://svnweb.freebsd.org/changeset/base/326230 Log: Add a Saved Process Status Register bit for AArch32 execution mode. The documentation on the Saved Process Status Register (SPSR) is a bit weird; the M[4] bit is docum

svn commit: r326229 - in head/sys: arm/cloudabi32 arm64/cloudabi64

2017-11-26 Thread Ed Schouten
Author: ed Date: Sun Nov 26 14:53:56 2017 New Revision: 326229 URL: https://svnweb.freebsd.org/changeset/base/326229 Log: Correct some more places where TO_PTR() should be used. These were missed in r326228. MFC after:2 weeks Modified: head/sys/arm/cloudabi32/cloudabi32_sysvec.c

svn commit: r326228 - in head/sys: amd64/cloudabi32 amd64/cloudabi64 arm/cloudabi32 arm64/cloudabi64 i386/cloudabi32

2017-11-26 Thread Ed Schouten
Author: ed Date: Sun Nov 26 14:45:56 2017 New Revision: 326228 URL: https://svnweb.freebsd.org/changeset/base/326228 Log: Use TO_PTR() to convert integers to pointers. For FreeBSD/arm64's cloudabi32 support, I'm going to need a TO_PTR() in this place. Also use it for all of the other sour

svn commit: r326227 - in head/sys/arm64: arm64 include

2017-11-26 Thread Ed Schouten
Author: ed Date: Sun Nov 26 14:28:27 2017 New Revision: 326227 URL: https://svnweb.freebsd.org/changeset/base/326227 Log: Make 32-bit system calls end up in svc_handler(). The nice thing about ARM64 is that it's pretty elegant to install separate trap/exception handlers for 32-bit and 64-

Re: svn commit: r326224 - head

2017-11-26 Thread Oliver Pinter
On Sunday, November 26, 2017, Cy Schubert wrote: > Author: cy > Date: Sun Nov 26 06:31:34 2017 > New Revision: 326224 > URL: https://svnweb.freebsd.org/changeset/base/326224 > > Log: > Fix spelling error (probably typo). > > Modified: > head/ObsoleteFiles.inc > > Modified: head/ObsoleteFiles.

svn commit: r326226 - head/sbin/sysctl

2017-11-26 Thread Konstantin Belousov
Author: kib Date: Sun Nov 26 10:02:43 2017 New Revision: 326226 URL: https://svnweb.freebsd.org/changeset/base/326226 Log: Improve sysctl(8) pretty printing of some structures. S_vmtotal: Use unsigned format to print unsigned memory counters from struct vmtotal. Remove unneeded cast,

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

2017-11-26 Thread Andrew Turner
On 25 Nov 2017, at 23:41, Nathan Whitehorn wrote: > > Author: nwhitehorn > Date: Sat Nov 25 23:41:05 2017 > New Revision: 326218 > URL: https://svnweb.freebsd.org/changeset/base/326218 > > Log: > Remove some, but not all, assumptions that the BSP is CPU 0 and that CPUs > are numbered densely f

svn commit: r326225 - head/sys/arm64/arm64

2017-11-26 Thread Andrew Turner
Author: andrew Date: Sun Nov 26 09:29:34 2017 New Revision: 326225 URL: https://svnweb.freebsd.org/changeset/base/326225 Log: Make the arm64 pmap_invalidate functions static inline. This fixes building with DIAGNOSTIC. PR: 223874 Reported by: emaste MFC after:1 week Mo