svn commit: r333704 - head/sys/dev/cxgbe

2018-05-16 Thread Navdeep Parhar
Author: np Date: Thu May 17 06:04:50 2018 New Revision: 333704 URL: https://svnweb.freebsd.org/changeset/base/333704 Log: cxgbe(4): Fix s->neq miscalculation in r333698. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c

svn commit: r333703 - head/sys/vm

2018-05-16 Thread Mark Johnston
Author: markj Date: Thu May 17 04:27:08 2018 New Revision: 333703 URL: https://svnweb.freebsd.org/changeset/base/333703 Log: Fix a race in vm_page_pagequeue_lockptr(). The value of m->queue must be cached after comparing it with PQ_NONE, since it may be concurrently changing. Reporte

svn commit: r333702 - head/sys/netinet/netdump

2018-05-16 Thread Mark Johnston
Author: markj Date: Thu May 17 04:08:57 2018 New Revision: 333702 URL: https://svnweb.freebsd.org/changeset/base/333702 Log: Fix netdump configuration when VIMAGE is enabled. We need to set the current vnet before iterating over the global interface list. Because the dump device may only

svn commit: r333701 - head/sys/vm

2018-05-16 Thread Matt Macy
Author: mmacy Date: Thu May 17 03:19:31 2018 New Revision: 333701 URL: https://svnweb.freebsd.org/changeset/base/333701 Log: Fix powerpc64 LINT vm_object_reserve() == true is impossible on power. Make conditional on VM_LEVEL_0_ORDER being defined. Reviewed by: jeff Approved by: s

svn commit: r333700 - head/sys/sys

2018-05-16 Thread Matt Macy
Author: mmacy Date: Thu May 17 02:54:30 2018 New Revision: 333700 URL: https://svnweb.freebsd.org/changeset/base/333700 Log: Fix i386 build Move epoch_section to after td_emuldata, but note the 3 surrounding LP64 holes while I'm here. Approved by: sbruno Modified: head/sys/sys/pr

svn commit: r333699 - in head: lib/libc/sys share/man/man4 sys/netinet/cc

2018-05-16 Thread Lawrence Stewart
Author: lstewart Date: Thu May 17 02:46:27 2018 New Revision: 333699 URL: https://svnweb.freebsd.org/changeset/base/333699 Log: Plug a memory leak and potential NULL-pointer dereference introduced in r331214. Each TCP connection that uses the system default cc_newreno(4) congestion contr

Re: svn commit: r333690 - in head/sys: dev/hwpmc kern sys

2018-05-16 Thread Jonathan T. Looney
On Wed, May 16, 2018 at 6:29 PM, Matt Macy wrote: > > Author: mmacy > Date: Wed May 16 22:29:20 2018 > New Revision: 333690 > URL: https://svnweb.freebsd.org/changeset/base/333690 > > Log: > hwpmc: Implement per-thread counters for PMC sampling > > This implements per-thread counters for PMC s

svn commit: r333698 - in head/sys: dev/cxgbe modules/cxgbe/if_cxgbe

2018-05-16 Thread Navdeep Parhar
Author: np Date: Thu May 17 01:42:18 2018 New Revision: 333698 URL: https://svnweb.freebsd.org/changeset/base/333698 Log: cxgbe(4): Allocate offload Tx queues when a card has resources provisioned for NIC_ETHOFLD and the kernel has option RATELIMIT. It is possible to use the chip's offloa

svn commit: r333697 - in head/sys: kern sys

2018-05-16 Thread Matt Macy
Author: mmacy Date: Thu May 17 01:13:40 2018 New Revision: 333697 URL: https://svnweb.freebsd.org/changeset/base/333697 Log: epoch(9): make recursion lighter weight There isn't any real work to do except bump td_epochnest when recursing. Skip the additional work in this case. Approve

svn commit: r333696 - head/sys/dev/cxgbe

2018-05-16 Thread Navdeep Parhar
Author: np Date: Thu May 17 00:52:48 2018 New Revision: 333696 URL: https://svnweb.freebsd.org/changeset/base/333696 Log: cxgbe(4): Add NIC_ETHOFLD to the NIC capabilities allowed by the driver by default. This is the first of a series of commits that will add support for RATELIMIT kern

svn commit: r333695 - in head/sys: kern sys

2018-05-16 Thread Matt Macy
Author: mmacy Date: Thu May 17 00:45:35 2018 New Revision: 333695 URL: https://svnweb.freebsd.org/changeset/base/333695 Log: epoch(9): Guarantee forward progress on busy sections Add epoch section to struct thread. We can use this to ennable epoch counter to advance even if a section is

svn commit: r333694 - head/sys/ufs/ffs

2018-05-16 Thread Kirk McKusick
Author: mckusick Date: Wed May 16 23:42:02 2018 New Revision: 333694 URL: https://svnweb.freebsd.org/changeset/base/333694 Log: Fix warning found by Coverity. CID 1009353: Error handling issues (CHECKED_RETURN) Modified: head/sys/ufs/ffs/ffs_softdep.c Modified: head/sys/ufs/ffs/ffs_so

svn commit: r333693 - head/sys/fs/msdosfs

2018-05-16 Thread Kirk McKusick
Author: mckusick Date: Wed May 16 23:30:03 2018 New Revision: 333693 URL: https://svnweb.freebsd.org/changeset/base/333693 Log: Revert change made in base r171522 (https://svnweb.freebsd.org/base?view=revision&revision=304232) converting clrbuf() (which clears the entire buffer) to vfs_bio_c

svn commit: r333690 - in head/sys: dev/hwpmc kern sys

2018-05-16 Thread Matt Macy
Author: mmacy Date: Wed May 16 22:29:20 2018 New Revision: 333690 URL: https://svnweb.freebsd.org/changeset/base/333690 Log: hwpmc: Implement per-thread counters for PMC sampling This implements per-thread counters for PMC sampling. The thread descriptors are stored in a list attached to

svn commit: r333689 - head/sys/net

2018-05-16 Thread Matt Macy
Author: mmacy Date: Wed May 16 22:25:47 2018 New Revision: 333689 URL: https://svnweb.freebsd.org/changeset/base/333689 Log: Fix !netmap build post r333686 Approved by: sbruno Modified: head/sys/net/iflib.c Modified: head/sys/net/iflib.c

Re: svn commit: r333683 - head/sys/teken

2018-05-16 Thread Jean-Sébastien Pédron
On 16.05.2018 20:12, Conrad Meyer wrote: > Author: cem > Date: Wed May 16 18:12:49 2018 > New Revision: 333683 > URL: https://svnweb.freebsd.org/changeset/base/333683 > > Log: > teken: Unbreak syscons' use of teken > > Only vt(4) initializes these callbacks non-NULL at this time, so invoke

Re: svn commit: r333669 - in head/sys: dev/vt kern sys teken

2018-05-16 Thread Jean-Sébastien Pédron
On 16.05.2018 15:44, Bruce Evans wrote: > Unrelated to my previous reply: this commit breaks syscons (especially > when vt is not configured) by calling pointers that are only initialized > to non-null for vt (subr_terminal.c), so the pointers are null for > syscons.  The following quick fix seems

svn commit: r333688 - head

2018-05-16 Thread Warner Losh
Author: imp Date: Wed May 16 21:07:12 2018 New Revision: 333688 URL: https://svnweb.freebsd.org/changeset/base/333688 Log: 2018 this time. Modified: head/UPDATING Modified: head/UPDATING == --- head/UPDATING We

svn commit: r333686 - head/sys/net

2018-05-16 Thread Stephen Hurd
Author: shurd Date: Wed May 16 21:03:22 2018 New Revision: 333686 URL: https://svnweb.freebsd.org/changeset/base/333686 Log: Work around lack of TX IRQs in iflib for netmap When poll() is called via netmap, txsync is initially called, and if there are no available buffers to reclaim, it w

svn commit: r333685 - head/etc/rc.d

2018-05-16 Thread Edward Tomasz Napierala
Author: trasz Date: Wed May 16 20:44:08 2018 New Revision: 333685 URL: https://svnweb.freebsd.org/changeset/base/333685 Log: Set label when setting up USB LUNs, it looks nicer this way. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/etc/rc.d/cfumass Modified

svn commit: r333684 - head/etc/rc.d

2018-05-16 Thread Edward Tomasz Napierala
Author: trasz Date: Wed May 16 20:39:15 2018 New Revision: 333684 URL: https://svnweb.freebsd.org/changeset/base/333684 Log: Change the cfumass rc script to stop pretending the USB LUN is a virtual CD; for some reason OSX can't deal with it. MFC after:2 weeks Sponsored by: The FreeB

Re: svn commit: r333675 - head

2018-05-16 Thread Oliver Pinter
On 5/16/18, Warner Losh wrote: > Author: imp > Date: Wed May 16 13:52:24 2018 > New Revision: 333675 > URL: https://svnweb.freebsd.org/changeset/base/333675 > > Log: > Add note about LD=ld.lld being a temporary requirement when building > the kernel the traditional way. > > Modified: > head/

svn commit: r333683 - head/sys/teken

2018-05-16 Thread Conrad Meyer
Author: cem Date: Wed May 16 18:12:49 2018 New Revision: 333683 URL: https://svnweb.freebsd.org/changeset/base/333683 Log: teken: Unbreak syscons' use of teken Only vt(4) initializes these callbacks non-NULL at this time, so invoke the function pointers conditionally. Broken in r3336

svn commit: r333682 - head/sys/dev/cxgbe

2018-05-16 Thread Navdeep Parhar
Author: np Date: Wed May 16 17:55:16 2018 New Revision: 333682 URL: https://svnweb.freebsd.org/changeset/base/333682 Log: cxgbe(4): Fall back to a failsafe configuration built into the firmware if an error is reported while pre-processing the configuration file that the driver attempted to u

svn commit: r333681 - head/sys/mips/conf

2018-05-16 Thread John Baldwin
Author: jhb Date: Wed May 16 17:54:40 2018 New Revision: 333681 URL: https://svnweb.freebsd.org/changeset/base/333681 Log: Include kernel modules for MALTA kernels. Sponsored by: DARPA / AFRL Modified: head/sys/mips/conf/std.MALTA Modified: head/sys/mips/conf/std.MALTA =

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

2018-05-16 Thread Marko Zec
Author: zec Date: Wed May 16 16:57:11 2018 New Revision: 333680 URL: https://svnweb.freebsd.org/changeset/base/333680 Log: A belated note crediting the FreeBSD Foundation for sponsoring technical work circa ten years ago... MFC after:3 days Modified: head/share/man/man9/vnet.9 Mod

svn commit: r333679 - in head: sys/riscv/include tests/sys/kern

2018-05-16 Thread John Baldwin
Author: jhb Date: Wed May 16 16:56:35 2018 New Revision: 333679 URL: https://svnweb.freebsd.org/changeset/base/333679 Log: Export a breakpoint() function to userland for riscv. As a result, enable tests using breakpoint() on riscv. Reviewed by: br Differential Revision:https

svn commit: r333678 - head/crypto/openssh

2018-05-16 Thread Dag-Erling Smørgrav
Author: des Date: Wed May 16 14:06:41 2018 New Revision: 333678 URL: https://svnweb.freebsd.org/changeset/base/333678 Log: Missed mergeinfo in previous commit. Modified: Directory Properties: head/crypto/openssh/ (props changed) ___ svn-src-head@f

svn commit: r333677 - head/crypto/openssh/openbsd-compat

2018-05-16 Thread Dag-Erling Smørgrav
Author: des Date: Wed May 16 14:04:39 2018 New Revision: 333677 URL: https://svnweb.freebsd.org/changeset/base/333677 Log: Merge upstream patch to unbreak tunnel forwarding. Reported by: cy@ Modified: head/crypto/openssh/openbsd-compat/port-net.c Modified: head/crypto/openssh/openbsd-c

svn commit: r333675 - head

2018-05-16 Thread Warner Losh
Author: imp Date: Wed May 16 13:52:24 2018 New Revision: 333675 URL: https://svnweb.freebsd.org/changeset/base/333675 Log: Add note about LD=ld.lld being a temporary requirement when building the kernel the traditional way. Modified: head/UPDATING Modified: head/UPDATING ==

svn commit: r333674 - head/lib/libpam/modules/pam_radius

2018-05-16 Thread Dag-Erling Smørgrav
Author: des Date: Wed May 16 13:47:30 2018 New Revision: 333674 URL: https://svnweb.freebsd.org/changeset/base/333674 Log: Forward Reply-Message attributes to the user, unless suppressed by the new no_reply_message option. MFC after:1 week Sponsored by: The University of Oslo Modif

Re: svn commit: r333669 - in head/sys: dev/vt kern sys teken

2018-05-16 Thread Bruce Evans
On Wed, 16 May 2018, Bruce Evans wrote: On Wed, 16 May 2018, [UTF-8] Jean-S??bastien P??dron wrote: Author: dumbbell Date: Wed May 16 09:01:02 2018 New Revision: 333669 URL: https://svnweb.freebsd.org/changeset/base/333669 Log: teken, vt(4): New callbacks to lock the terminal once ... to p

svn commit: r333672 - in head/sys/dev/vt: . hw/fb hw/ofwfb

2018-05-16 Thread Ed Maste
Author: emaste Date: Wed May 16 11:19:03 2018 New Revision: 333672 URL: https://svnweb.freebsd.org/changeset/base/333672 Log: Clean up vt source whitespace issues Modified: head/sys/dev/vt/hw/fb/vt_early_fb.c head/sys/dev/vt/hw/ofwfb/ofwfb.c head/sys/dev/vt/vt.h head/sys/dev/vt/vt_core.

Re: svn commit: r333669 - in head/sys: dev/vt kern sys teken

2018-05-16 Thread Bruce Evans
On Wed, 16 May 2018, [UTF-8] Jean-S??bastien P??dron wrote: Author: dumbbell Date: Wed May 16 09:01:02 2018 New Revision: 333669 URL: https://svnweb.freebsd.org/changeset/base/333669 Log: teken, vt(4): New callbacks to lock the terminal once ... to process input, instead of inside each small

svn commit: r333670 - head/sys/dev/vt

2018-05-16 Thread Jean-Sébastien Pédron
Author: dumbbell Date: Wed May 16 10:08:50 2018 New Revision: 333670 URL: https://svnweb.freebsd.org/changeset/base/333670 Log: vt(4): Resume vt_timer() in vtterm_post_input() only There is no need to try to resume it after each smaller operations (putchar, cursor_position, copy, fill).

svn commit: r333669 - in head/sys: dev/vt kern sys teken

2018-05-16 Thread Jean-Sébastien Pédron
Author: dumbbell Date: Wed May 16 09:01:02 2018 New Revision: 333669 URL: https://svnweb.freebsd.org/changeset/base/333669 Log: teken, vt(4): New callbacks to lock the terminal once ... to process input, instead of inside each smaller operations such as appending a character or moving the