Re: svn commit: r309372 - head/sys/sys

2016-12-05 Thread Oleg Bulyzhin
On Fri, Dec 02, 2016 at 04:11:32PM +0800, Sepherosa Ziehau wrote: > peek_clear_sc is added to address the issue you mentioned. IMHO, this > commit weakens the proper assertion. I would say this check: #ifdef DEBUG_BUFRING int i; for (i = br->br_cons_head; i != br->br_prod_head;

Re: svn commit: r309531 - head/sys/arm/include

2016-12-05 Thread Andrew Turner
On Sun, 4 Dec 2016 15:27:39 + (UTC) Michal Meloun wrote: > Author: mmel > Date: Sun Dec 4 15:27:39 2016 > New Revision: 309531 > URL: https://svnweb.freebsd.org/changeset/base/309531 > > Log: > Implement fake pmap_mapdev_attr() for ARMv6. > This function is referenced, but never called

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

2016-12-05 Thread Andrew Turner
Author: andrew Date: Mon Dec 5 11:40:54 2016 New Revision: 309549 URL: https://svnweb.freebsd.org/changeset/base/309549 Log: Remove an unneeded header. It was used when we had an arm64 specific GIC driver, however with INTRNG this has been merged into a common arm driver. Obtained from:

svn commit: r309550 - head/sys/x86/iommu

2016-12-05 Thread Konstantin Belousov
Author: kib Date: Mon Dec 5 11:41:09 2016 New Revision: 309550 URL: https://svnweb.freebsd.org/changeset/base/309550 Log: Rename fast taskqueues used by DMAR to avoid naming conflict of the sleepable and spin mutexes created by the queues. Reported and tested by: hps Sponsored by

svn commit: r309551 - head/sys/x86/iommu

2016-12-05 Thread Konstantin Belousov
Author: kib Date: Mon Dec 5 11:42:09 2016 New Revision: 309551 URL: https://svnweb.freebsd.org/changeset/base/309551 Log: Release DMAR table after using it. Reported and tested by: hps Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/x86/iommu/intel

svn commit: r309552 - head/usr.bin/systat

2016-12-05 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Mon Dec 5 13:23:22 2016 New Revision: 309552 URL: https://svnweb.freebsd.org/changeset/base/309552 Log: Fix error in the example section Adjust formatting highlighted by igor. PR: 214683 Submitted by: Anindya Mukherjee Reviewed by: jill

svn commit: r309553 - head/sys/arm/include

2016-12-05 Thread Michal Meloun
Author: mmel Date: Mon Dec 5 15:55:51 2016 New Revision: 309553 URL: https://svnweb.freebsd.org/changeset/base/309553 Log: Fix build breakage caused by r309531. Reported by: andrew MFC after: 2 weeks X-MFC with: r309531 Modified: head/sys/arm/include/pmap.h Modified: head/sys/arm/i

Re: svn commit: r309531 - head/sys/arm/include

2016-12-05 Thread Michal Meloun
Fixed in r309553. Sorry for breakage and thanks for report. Michal On 05.12.2016 12:25, Andrew Turner wrote: > On Sun, 4 Dec 2016 15:27:39 + (UTC) > Michal Meloun wrote: > >> Author: mmel >> Date: Sun Dec 4 15:27:39 2016 >> New Revision: 309531 >> URL: https://svnweb.freebsd.org/changeset

svn commit: r309554 - head/tools/regression/sockets/unix_cmsg

2016-12-05 Thread Maxim Sobolev
Author: sobomax Date: Mon Dec 5 17:21:04 2016 New Revision: 309554 URL: https://svnweb.freebsd.org/changeset/base/309554 Log: Refactor the regression test code by splitting huge monolithic C file into smaller pieces that are hopefully easier to understand and extend. This is to pave the gro

Re: svn commit: r309531 - head/sys/arm/include

2016-12-05 Thread John Baldwin
On Sunday, December 04, 2016 03:55:14 PM Ian Lepore wrote: > On Sun, 2016-12-04 at 13:43 -0800, John Baldwin wrote: > > On Sunday, December 04, 2016 03:27:39 PM Michal Meloun wrote: > > > > > > Author: mmel > > > Date: Sun Dec 4 15:27:39 2016 > > > New Revision: 309531 > > > URL: https://svnweb.f

svn commit: r309563 - head/sys/netpfil/pf

2016-12-05 Thread Kristof Provost
Author: kp Date: Mon Dec 5 21:52:10 2016 New Revision: 309563 URL: https://svnweb.freebsd.org/changeset/base/309563 Log: pflog: Correctly initialise subrulenr subrulenr is considered unset if it's set to -1, not if it's set to 1. See contrib/tcpdump/print-pflog.c pflog_print() for a user

svn commit: r309566 - head/sys/fs/nfsserver

2016-12-05 Thread Rick Macklem
Author: rmacklem Date: Mon Dec 5 22:36:25 2016 New Revision: 309566 URL: https://svnweb.freebsd.org/changeset/base/309566 Log: Fix the NFSv4.1 server for Open reclaim after a reboot. The NFSv4.1 server failed to update the nfs-stablerestart file for a client when the client was issued it

svn commit: r309581 - head/share/man/man4

2016-12-05 Thread John Baldwin
Author: jhb Date: Tue Dec 6 00:01:53 2016 New Revision: 309581 URL: https://svnweb.freebsd.org/changeset/base/309581 Log: Document support for Terminator 6 adapters in cxgbe(4) and cxgbev(4). Approved by: np MFC after:3 days Sponsored by: Chelsio Communications Differential Revi

svn commit: r309582 - head/share/man/man4

2016-12-05 Thread John Baldwin
Author: jhb Date: Tue Dec 6 00:05:38 2016 New Revision: 309582 URL: https://svnweb.freebsd.org/changeset/base/309582 Log: Bump Dd for addition of T6. Pointy hat to:jhb Modified: head/share/man/man4/cxgbe.4 head/share/man/man4/cxgbev.4 Modified: head/share/man/man4/cxgbe.4 ===

svn commit: r309586 - head/sys/dev/usb/wlan

2016-12-05 Thread Andriy Voskoboinyk
Author: avos Date: Tue Dec 6 00:13:49 2016 New Revision: 309586 URL: https://svnweb.freebsd.org/changeset/base/309586 Log: rsu: add hardware crypto support (WEP, TKIP and CCMP). This change includes firmware commands for key setup + some additional checking via CAMREAD / CAMWRITE registe

svn commit: r309588 - head/sys/dev/acpica

2016-12-05 Thread John Baldwin
Author: jhb Date: Tue Dec 6 00:36:02 2016 New Revision: 309588 URL: https://svnweb.freebsd.org/changeset/base/309588 Log: Don't attach to Host-PCI bridges with a bad bus number. If the bus number assigned to a Host-PCI bridge doesn't match the first bus number in the associated producer

svn commit: r309589 - head/usr.bin/truss

2016-12-05 Thread John Baldwin
Author: jhb Date: Tue Dec 6 00:39:00 2016 New Revision: 309589 URL: https://svnweb.freebsd.org/changeset/base/309589 Log: Rework syscall structure lookups. Avoid always using an O(n^2) loop over known syscall structures with strcmp() on each system call. Instead, use a per-ABI cache ind

Re: svn commit: r309589 - head/usr.bin/truss

2016-12-05 Thread John Baldwin
On Tuesday, December 06, 2016 12:39:00 AM John Baldwin wrote: > Author: jhb > Date: Tue Dec 6 00:39:00 2016 > New Revision: 309589 > URL: https://svnweb.freebsd.org/changeset/base/309589 > > Log: > Rework syscall structure lookups. > > Avoid always using an O(n^2) loop over known syscall s

svn commit: r309590 - in head: contrib/libarchive/cat/test contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test lib/libarchive/tests

2016-12-05 Thread Martin Matuska
Author: mm Date: Tue Dec 6 01:35:27 2016 New Revision: 309590 URL: https://svnweb.freebsd.org/changeset/base/309590 Log: MFV r309587: Sync libarchive with vendor. Vendor bugfixes: libarchive #831: Spelling fixes libarchive #832: Relax sanity checks of number fields in t

Re: svn commit: r309553 - head/sys/arm/include

2016-12-05 Thread Ed Maste
On 5 December 2016 at 10:55, Michal Meloun wrote: > Author: mmel > Date: Mon Dec 5 15:55:51 2016 > New Revision: 309553 > URL: https://svnweb.freebsd.org/changeset/base/309553 > > Log: > Fix build breakage caused by r309531. > > Reported by: andrew > MFC after: 2 weeks > X-MFC with: r3095

svn commit: r309591 - in head/lib: libproc librtld_db

2016-12-05 Thread Mark Johnston
Author: markj Date: Tue Dec 6 04:13:02 2016 New Revision: 309591 URL: https://svnweb.freebsd.org/changeset/base/309591 Log: Fix style bugs and remove trailing whitespace in libproc and librtld_db. MFC after:1 week Modified: head/lib/libproc/_libproc.h head/lib/libproc/libproc.h

svn commit: r309592 - head/lib/libproc

2016-12-05 Thread Mark Johnston
Author: markj Date: Tue Dec 6 04:14:20 2016 New Revision: 309592 URL: https://svnweb.freebsd.org/changeset/base/309592 Log: libproc: Make proc_getpid() an accessor for struct proc_handle. This allows librtld_db to fetch the PID from a handle without calling into libproc. Together with r3

svn commit: r309593 - head/lib/libproc

2016-12-05 Thread Mark Johnston
Author: markj Date: Tue Dec 6 04:18:09 2016 New Revision: 309593 URL: https://svnweb.freebsd.org/changeset/base/309593 Log: libproc: Improve .gnu_debuglink support. As of r278658 libproc looks for debug files under /usr/lib/debug and will use them if available. This change fleshes out th

svn commit: r309594 - head/lib/libproc

2016-12-05 Thread Mark Johnston
Author: markj Date: Tue Dec 6 04:19:08 2016 New Revision: 309594 URL: https://svnweb.freebsd.org/changeset/base/309594 Log: libproc: Cache ELF handles for loaded objects. libproc previously created a new handle for each symbol lookup, which gives rather egregious performance for DTrace's

svn commit: r309595 - in head: cddl/lib/libdtrace lib/libproc lib/libproc/tests

2016-12-05 Thread Mark Johnston
Author: markj Date: Tue Dec 6 04:20:32 2016 New Revision: 309595 URL: https://svnweb.freebsd.org/changeset/base/309595 Log: libproc: Match prefixes when looking up mapped object by name. When looking up an object by name, allow prefix matches if no direct match is found. This allows one

svn commit: r309596 - head/lib/libproc

2016-12-05 Thread Mark Johnston
Author: markj Date: Tue Dec 6 04:21:35 2016 New Revision: 309596 URL: https://svnweb.freebsd.org/changeset/base/309596 Log: libproc: Cache symbol tables for mapped objects upon access. Extend the file handle cache entries to include symbol tables as well. An index is used to implement bi

svn commit: r309597 - in head: cddl/compat/opensolaris/include cddl/lib/libdtrace lib/libproc

2016-12-05 Thread Mark Johnston
Author: markj Date: Tue Dec 6 04:22:38 2016 New Revision: 309597 URL: https://svnweb.freebsd.org/changeset/base/309597 Log: libproc: Add support for some proc_attach() flags. This change adds some handling for the equivalent of Solaris' PGRAB_* flags. In particular, support for PGRAB_RDO

svn commit: r309598 - in head: . lib/libproc

2016-12-05 Thread Mark Johnston
== --- head/ObsoleteFiles.inc Tue Dec 6 04:22:38 2016(r309597) +++ head/ObsoleteFiles.inc Tue Dec 6 04:23:32 2016(r309598) @@ -38,6 +38,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20161205: libproc version bump +OLD_LIBS+=usr

svn commit: r309599 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2016-12-05 Thread Mark Johnston
Author: markj Date: Tue Dec 6 04:28:56 2016 New Revision: 309599 URL: https://svnweb.freebsd.org/changeset/base/309599 Log: libdtrace: Don't use a read-only handle for enumerating pid probes. Enumeration of return probes involves disassembling subroutines in the target process, and ptrac

svn commit: r309602 - head/tools/build/mk

2016-12-05 Thread Ngie Cooper
Author: ngie Date: Tue Dec 6 06:04:13 2016 New Revision: 309602 URL: https://svnweb.freebsd.org/changeset/base/309602 Log: Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no MFC after:1 week Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head

svn commit: r309603 - head/sys/dev/usb/wlan

2016-12-05 Thread Andriy Voskoboinyk
Author: avos Date: Tue Dec 6 06:12:01 2016 New Revision: 309603 URL: https://svnweb.freebsd.org/changeset/base/309603 Log: rsu: fix printf format specifiers. Modified: head/sys/dev/usb/wlan/if_rsu.c Modified: head/sys/dev/usb/wlan/if_rsu.c ===

svn commit: r309604 - head/sys/arm/include

2016-12-05 Thread Luiz Otavio O Souza
Author: loos Date: Tue Dec 6 06:15:28 2016 New Revision: 309604 URL: https://svnweb.freebsd.org/changeset/base/309604 Log: Fix the armv6 build after r309553. Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/sys/arm/include/pmap.h Modified: head/sys/arm/include/pmap.h