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

2017-11-16 Thread Cy Schubert
In message <201711170225.vah2p4jy046...@repo.freebsd.org>, Mateusz Guzik writes : > Author: mjg > Date: Fri Nov 17 02:25:04 2017 > New Revision: 325920 > URL: https://svnweb.freebsd.org/changeset/base/325920 > > Log: > mtx: unlock before traversing threads to wake up > > This shortens the

svn commit: r325927 - head/sys/dev/dpaa

2017-11-16 Thread Justin Hibbits
Author: jhibbits Date: Fri Nov 17 04:29:32 2017 New Revision: 325927 URL: https://svnweb.freebsd.org/changeset/base/325927 Log: Add jumbo frame support to dtsec(4) MFC after:2 weeks Modified: head/sys/dev/dpaa/if_dtsec.c Modified: head/sys/dev/dpaa/if_dtsec.c ===

svn commit: r325926 - head/sys/powerpc/ofw

2017-11-16 Thread Justin Hibbits
Author: jhibbits Date: Fri Nov 17 04:10:52 2017 New Revision: 325926 URL: https://svnweb.freebsd.org/changeset/base/325926 Log: Stop special casing 32-bit AIM in memory parsing There's no need to special case 32-bit AIM to short circuit processing. Some AIM CPUs can handle 36 bit addresse

svn commit: r325925 - head/sys/kern

2017-11-16 Thread Mateusz Guzik
Author: mjg Date: Fri Nov 17 02:59:28 2017 New Revision: 325925 URL: https://svnweb.freebsd.org/changeset/base/325925 Log: mtx: add missing parts of the diff in r325920 Fixes build breakage. Modified: head/sys/kern/kern_mutex.c Modified: head/sys/kern/kern_mutex.c ==

svn commit: r325924 - head/sys/kern

2017-11-16 Thread Mateusz Guzik
Author: mjg Date: Fri Nov 17 02:45:38 2017 New Revision: 325924 URL: https://svnweb.freebsd.org/changeset/base/325924 Log: sched: move panic handling code out of choosethread This avoids jumps in the common case of the kernel not being panicked. Modified: head/sys/kern/kern_switch.c Mod

svn commit: r325923 - head/sys/kern

2017-11-16 Thread Mateusz Guzik
Author: mjg Date: Fri Nov 17 02:29:06 2017 New Revision: 325923 URL: https://svnweb.freebsd.org/changeset/base/325923 Log: Check for PRS_NEW without locking the proc in sysctl_kern_proc Modified: head/sys/kern/kern_proc.c Modified: head/sys/kern/kern_proc.c ==

svn commit: r325922 - head/sys/kern

2017-11-16 Thread Mateusz Guzik
Author: mjg Date: Fri Nov 17 02:27:04 2017 New Revision: 325922 URL: https://svnweb.freebsd.org/changeset/base/325922 Log: sx: perform a minor cleanup of the unlock slowpath No functional changes. Modified: head/sys/kern/kern_sx.c Modified: head/sys/kern/kern_sx.c ==

svn commit: r325921 - head/sys/kern

2017-11-16 Thread Mateusz Guzik
Author: mjg Date: Fri Nov 17 02:26:15 2017 New Revision: 325921 URL: https://svnweb.freebsd.org/changeset/base/325921 Log: rwlock: unlock before traversing threads to wake up While here perform a minor cleanup of the unlock path. Modified: head/sys/kern/kern_rwlock.c Modified: head/sys/

svn commit: r325920 - head/sys/kern

2017-11-16 Thread Mateusz Guzik
Author: mjg Date: Fri Nov 17 02:25:04 2017 New Revision: 325920 URL: https://svnweb.freebsd.org/changeset/base/325920 Log: mtx: unlock before traversing threads to wake up This shortens the lock hold time while not affecting corretness. All the woken up threads end up competing can lose t

svn commit: r325919 - head/sys/kern

2017-11-16 Thread Mateusz Guzik
Author: mjg Date: Fri Nov 17 02:22:51 2017 New Revision: 325919 URL: https://svnweb.freebsd.org/changeset/base/325919 Log: locks: pull up PMC_SOFT_CALLs out of slow path loops Modified: head/sys/kern/kern_rwlock.c head/sys/kern/kern_sx.c Modified: head/sys/kern/kern_rwlock.c ==

svn commit: r325918 - head/sys/kern

2017-11-16 Thread Mateusz Guzik
Author: mjg Date: Fri Nov 17 02:21:24 2017 New Revision: 325918 URL: https://svnweb.freebsd.org/changeset/base/325918 Log: rwlock: avoid branches in the slow path if lockstat is disabled Modified: head/sys/kern/kern_rwlock.c Modified: head/sys/kern/kern_rwlock.c =

svn commit: r325917 - head/sys/kern

2017-11-16 Thread Mateusz Guzik
Author: mjg Date: Fri Nov 17 02:21:07 2017 New Revision: 325917 URL: https://svnweb.freebsd.org/changeset/base/325917 Log: sx: avoid branches if in the slow path if lockstat is disabled Modified: head/sys/kern/kern_sx.c Modified: head/sys/kern/kern_sx.c ==

Re: svn commit: r325903 - in head: sbin/fsck_ffs sbin/newfs sys/sys

2017-11-16 Thread Warner Losh
On Nov 16, 2017 4:24 PM, "Rodney W. Grimes" wrote: [ Charset UTF-8 unsupported, converting... ] > Author: imp > Date: Thu Nov 16 21:28:14 2017 > New Revision: 325903 > URL: https://svnweb.freebsd.org/changeset/base/325903 > > Log: > Only try to enable CK_CLYGRP if we're running on kernel newer

Re: svn commit: r325903 - in head: sbin/fsck_ffs sbin/newfs sys/sys

2017-11-16 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: imp > Date: Thu Nov 16 21:28:14 2017 > New Revision: 325903 > URL: https://svnweb.freebsd.org/changeset/base/325903 > > Log: > Only try to enable CK_CLYGRP if we're running on kernel newer than > 1200046, the first version that supports th

svn commit: r325906 - head/usr.bin/procstat

2017-11-16 Thread Andriy Gapon
Author: avg Date: Thu Nov 16 22:14:49 2017 New Revision: 325906 URL: https://svnweb.freebsd.org/changeset/base/325906 Log: procstat: fix a crash with -k -a options The traditional / legacy usage should still be supported. This fixes a regression in r324619 that introduced a nicer, verb ba

svn commit: r325903 - in head: sbin/fsck_ffs sbin/newfs sys/sys

2017-11-16 Thread Warner Losh
Author: imp Date: Thu Nov 16 21:28:14 2017 New Revision: 325903 URL: https://svnweb.freebsd.org/changeset/base/325903 Log: Only try to enable CK_CLYGRP if we're running on kernel newer than 1200046, the first version that supports this feature. If we set it, then use an old kernel, we'll bre

svn commit: r325901 - head/sys/net

2017-11-16 Thread Stephen Hurd
Author: shurd Date: Thu Nov 16 18:52:58 2017 New Revision: 325901 URL: https://svnweb.freebsd.org/changeset/base/325901 Log: Fix default numbers of iflib queue sets The intent appears to be having one RX/TX queue set per core, but since scctx->isc_n[tr]xqsets is set to max before calling

Re: svn commit: r325893 - in head: . etc/mtree share/man/man7 share/man/man9 targets/pseudo/hosttools targets/pseudo/userland usr.bin usr.bin/xlint

2017-11-16 Thread Rodney W. Grimes
teFiles.incThu Nov 16 14:37:18 2017(r325893) > @@ -38,6 +38,15 @@ > # xargs -n1 | sort | uniq -d; > # done > > +# 20171116: lint(1) removal > +OLD_FILES+=usr/bin/lint > +OLD_FILES+=usr/libexec/lint1 > +OLD_FILES+=usr/libexec/lint2 > +OLD_FILES+=usr/libda

Re: svn commit: r316980 - head/contrib/zstd/programs

2017-11-16 Thread Allan Jude
On 2017-11-16 04:04, Baptiste Daroussin wrote: > On Wed, Nov 15, 2017 at 07:38:13PM -0800, Conrad Meyer wrote: >> Please revert this change. >> >> First, it introduces the POLA-violating behavior that zstdcat deletes >> its source files. This is not how zcat/bzcat behaves. > > This is not a POLA-

Re: svn commit: r325860 - head/sbin/newfs

2017-11-16 Thread Warner Losh
On Wed, Nov 15, 2017 at 11:29 PM, John Baldwin wrote: > On Wednesday, November 15, 2017 10:17:27 PM Warner Losh wrote: > > On Wed, Nov 15, 2017 at 6:46 PM, Ed Maste wrote: > > > > > On 15 November 2017 at 19:36, Warner Losh wrote: > > > > > > > > On Wed, Nov 15, 2017 at 5:05 PM, Ed Maste > wro

svn commit: r325897 - head/tools

2017-11-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 16 15:26:39 2017 New Revision: 325897 URL: https://svnweb.freebsd.org/changeset/base/325897 Log: Improve the library dependencies helper script in src/tools. Implement double pass of the relevant Makefiles. First make a list of library names and directories

svn commit: r325893 - in head: . etc/mtree share/man/man7 share/man/man9 targets/pseudo/hosttools targets/pseudo/userland usr.bin usr.bin/xlint

2017-11-16 Thread Konstantin Belousov
:27:02 2017(r325892) +++ head/ObsoleteFiles.inc Thu Nov 16 14:37:18 2017(r325893) @@ -38,6 +38,15 @@ # xargs -n1 | sort | uniq -d; # done +# 20171116: lint(1) removal +OLD_FILES+=usr/bin/lint +OLD_FILES+=usr/libexec/lint1 +OLD_FILES+=usr/libexec/lint2 +OLD_FILES+=usr

svn commit: r325892 - in head/sys: conf i386/conf i386/i386 i386/include i386/pci i386/xbox isa x86/x86

2017-11-16 Thread Konstantin Belousov
Author: kib Date: Thu Nov 16 14:27:02 2017 New Revision: 325892 URL: https://svnweb.freebsd.org/changeset/base/325892 Log: Remove i386 XBOX support. It is for console presented at 2001 and featuring Pentium III processor. Even if any of them are still alive and run FreeBSD, we do not h

svn commit: r325888 - in head/sys/cam: ata scsi

2017-11-16 Thread Baptiste Daroussin
Author: bapt Date: Thu Nov 16 10:15:17 2017 New Revision: 325888 URL: https://svnweb.freebsd.org/changeset/base/325888 Log: Add some 4k quirks for Samsung pm863a SSDs Submitted by: Nikita Kozlov MFC after:3 days Sponsored by: blade Differential Revision:https://reviews.fr

Re: svn commit: r325765 - head/lib/libc/string

2017-11-16 Thread Mark Millard
On 2017-Nov-15, at 11:15 PM, Bruce Evans wrote: > On Wed, 15 Nov 2017, Mark Millard wrote: > >> Bruce Evans brde at optusnet.com.au wrote on >> Tue Nov 14 12:41:50 UTC 2017 : >> >>> . . . > >> head/sys/arm/arm/support.S ( -r283366 ) has >> >> 394 ENTRY(bcopy) >> 395 /* switch the s

Re: svn commit: r316980 - head/contrib/zstd/programs

2017-11-16 Thread Baptiste Daroussin
On Wed, Nov 15, 2017 at 07:38:13PM -0800, Conrad Meyer wrote: > Please revert this change. > > First, it introduces the POLA-violating behavior that zstdcat deletes > its source files. This is not how zcat/bzcat behaves. This is not a POLA-violating behavior, this is a bug! that I introduced. >