svn commit: r301952 - stable/10/sys/dev/hyperv/netvsc

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 16 05:24:00 2016 New Revision: 301952 URL: https://svnweb.freebsd.org/changeset/base/301952 Log: MFC 297809,297810,297811 297809 hyperv/hn: Cap default # of rings to 8. 8 gives the best performance in both Azure and local Hyper-V on both

svn commit: r301951 - stable/10/sys/dev/hyperv/vmbus

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 16 05:12:28 2016 New Revision: 301951 URL: https://svnweb.freebsd.org/changeset/base/301951 Log: MFC 297636,297800,297801,297805,297807,297808 297636 hyperv: Typo in r297634 Noticed by: hiren MFC after: 1 week Sponsored by:

svn commit: r301950 - stable/10/sys/dev/vt/hw/vga

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 16 04:32:11 2016 New Revision: 301950 URL: https://svnweb.freebsd.org/changeset/base/301950 Log: MFC 297334 vt: Use textmode when we're running on hypervisors The graphic mode is noticeably slow on hypervisors, especially on Hyper-V (1 second

svn commit: r301949 - stable/10/sys/netinet

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 16 04:21:27 2016 New Revision: 301949 URL: https://svnweb.freebsd.org/changeset/base/301949 Log: MFC 297265 tcp/lro: Return TCP_LRO_NO_ENTRIES if we are short of LRO entries. So that callers could react accordingly. Reviewed by:

svn commit: r301948 - stable/10/sys/dev/hyperv/utilities

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 16 03:25:26 2016 New Revision: 301948 URL: https://svnweb.freebsd.org/changeset/base/301948 Log: MFC 297220 hyperv/utils: Allow hint to disable individual utility Reviewed by:kib, Dexuan Cui MFC after: 1 week Sponsored by:

svn commit: r301947 - stable/10/sys/dev/hyperv/netvsc

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 16 03:16:43 2016 New Revision: 301947 URL: https://svnweb.freebsd.org/changeset/base/301947 Log: MFC 297180,297181,297182 297180 hyperv/hn: Reduce TCP segment aggregation limit for multiple RX rings This mainly used to improve ACK timeliness when

svn commit: r301946 - in stable/10/sys/dev/hyperv: include utilities vmbus

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 16 03:04:16 2016 New Revision: 301946 URL: https://svnweb.freebsd.org/changeset/base/301946 Log: MFC 297142,297143,297176,297177,297178,297221 297142 hyperv: Factor out snprinf_hv_guid() Submitted by: Ju Sun Reviewed by:Dexuan

svn commit: r301945 - head/release/tools

2016-06-15 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 16 03:02:27 2016 New Revision: 301945 URL: https://svnweb.freebsd.org/changeset/base/301945 Log: Bump /tmp from 30m to 50m for ARM release images. 30m isn't enough for pkg anymore to extract packagesite.txz. 40m is fine for now but let's take a safer way as we

svn commit: r301944 - head/share/zoneinfo

2016-06-15 Thread Glen Barber
Author: gjb Date: Thu Jun 16 03:00:10 2016 New Revision: 301944 URL: https://svnweb.freebsd.org/changeset/base/301944 Log: Fix zoneinfo file packaging. This change fixes 468 of 488 zoneinfo file packaging issues, the rest still to be investigated. Approved by: re (blanket, pkgbase)

svn commit: r301943 - in stable/10/sys/dev/hyperv: include netvsc vmbus

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 16 02:48:18 2016 New Revision: 301943 URL: https://svnweb.freebsd.org/changeset/base/301943 Log: MFC 296379,296380,296381,296593,296594,296595 296379 hyperv/hn: Add multiple channel support, a.k.a. vRSS Each channel contains one RX ring and one TX

svn commit: r301942 - stable/10/sys/dev/hyperv/vmbus

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 16 01:57:16 2016 New Revision: 301942 URL: https://svnweb.freebsd.org/changeset/base/301942 Log: MFC 297802,297803(297481),297804 297802 hyperv: Identify Hyper-V features and recommends properly Features bits will be used to detect devices, e.g.

Re: svn commit: r301931 - head/tools/tools/decioctl

2016-06-15 Thread Sepherosa Ziehau
On Thu, Jun 16, 2016 at 5:12 AM, John Baldwin wrote: > On Wednesday, June 15, 2016 09:01:53 PM John Baldwin wrote: >> Author: jhb >> Date: Wed Jun 15 21:01:53 2016 >> New Revision: 301931 >> URL: https://svnweb.freebsd.org/changeset/base/301931 >> >> Log: >> Add a tool to

Re: svn commit: r301899 - in vendor/amd/dist: . amd amq conf/checkmount conf/fh_dref conf/hn_dref conf/mount conf/mtab conf/nfs_prot conf/sa_dref conf/transp conf/trap conf/umount doc fixmount fsinfo

2016-06-15 Thread Cy Schubert
In message <129d6f78-e3c6-5d18-9466-a97ca1b11...@freebsd.org>, Pedro Giffuni wr ites: > Hello; > > On 06/15/16 01:14, Konstantin Belousov wrote: > > On Tue, Jun 14, 2016 at 11:41:08PM +, Pedro F. Giffuni wrote: > >> Author: pfg > >> Date: Tue Jun 14 23:41:07 2016 > >> New Revision: 301899 >

Re: svn commit: r300943 - in head: . lib/libc++ lib/libcxxrt share/mk

2016-06-15 Thread Bryan Drewery
On 6/12/2016 1:02 PM, Andreas Tobler wrote: > Hi Bryan, > > On 29.05.16 08:20, Bryan Drewery wrote: >> Author: bdrewery >> Date: Sun May 29 06:20:15 2016 >> New Revision: 300943 >> URL: https://svnweb.freebsd.org/changeset/base/300943 >> >> Log: >> GCC External: Revert r300886, r300904,

svn commit: r301938 - head

2016-06-15 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 15 23:58:00 2016 New Revision: 301938 URL: https://svnweb.freebsd.org/changeset/base/301938 Log: tinderbox/universe: Only show arm64 warning if it was in the TARGETS list. This was a flaw in my change in r287903 but also in the original change in r282156

svn commit: r301940 - head

2016-06-15 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 15 23:58:06 2016 New Revision: 301940 URL: https://svnweb.freebsd.org/changeset/base/301940 Log: WITH_META_MODE: Whitelist 'make kernel' and 'make world'. installkernel is technically META_MODE safe but doesn't need an explicit approval to use it since it's

svn commit: r301939 - in head: . share/mk

2016-06-15 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 15 23:58:03 2016 New Revision: 301939 URL: https://svnweb.freebsd.org/changeset/base/301939 Log: Fix native powerpc64 build of lib32 with in-tree GCC. - This was broken by r300350 and r300885. - Add some comments around the external GCC logic since it is

svn commit: r301937 - head/share/mk

2016-06-15 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 15 23:57:57 2016 New Revision: 301937 URL: https://svnweb.freebsd.org/changeset/base/301937 Log: WITH_META_MODE: Keep .MAKE.MODE/META_MODE clean Due to META_MODE being passed into the environment it tends to keep growing with the defaults. Approved by:

svn commit: r301941 - head/share/mk

2016-06-15 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 15 23:58:09 2016 New Revision: 301941 URL: https://svnweb.freebsd.org/changeset/base/301941 Log: Mark targets with _SUBDIR as .PHONY. This is mostly fixing META_MODE with realinstall wanting a .meta file when it does not need one. These targets really

svn commit: r301936 - head/gnu/usr.bin/cc/cc_tools

2016-06-15 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 15 23:57:53 2016 New Revision: 301936 URL: https://svnweb.freebsd.org/changeset/base/301936 Log: WITH_META_MODE: Don't expect a .meta file for side-effect generated files. This is the same as r301285. Approved by: re (implicit) Sponsored by: EMC /

svn commit: r301935 - in head: share/mk sys/conf

2016-06-15 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 15 23:57:50 2016 New Revision: 301935 URL: https://svnweb.freebsd.org/changeset/base/301935 Log: WITH_META_MODE: Do include headers for specific guessed dependencies This is a follow-up to r300343. This is important for the OBJS_DEPEND_GUESS usage in

svn commit: r301934 - head/gnu/usr.bin/cc/cc_tools

2016-06-15 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 15 23:57:46 2016 New Revision: 301934 URL: https://svnweb.freebsd.org/changeset/base/301934 Log: Convert to new FAST_DEPEND syntax for guessed dependencies. This OBJS_DEPEND_GUESS is needed since each target gets its own .depend.target.o file but also

svn commit: r301933 - head/share/mk

2016-06-15 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 15 23:57:32 2016 New Revision: 301933 URL: https://svnweb.freebsd.org/changeset/base/301933 Log: Don't truncate OBJS_DEPEND_GUESS.target from Makefile This is important to allow a Makefile to override OBJS_DEPEND_GUESS for handling in META_MODE when its

Re: svn commit: r301899 - in vendor/amd/dist: . amd amq conf/checkmount conf/fh_dref conf/hn_dref conf/mount conf/mtab conf/nfs_prot conf/sa_dref conf/transp conf/trap conf/umount doc fixmount fsinfo

2016-06-15 Thread Pedro Giffuni
Hello; On 06/15/16 01:14, Konstantin Belousov wrote: On Tue, Jun 14, 2016 at 11:41:08PM +, Pedro F. Giffuni wrote: Author: pfg Date: Tue Jun 14 23:41:07 2016 New Revision: 301899 URL: https://svnweb.freebsd.org/changeset/base/301899 Log: am-utils: Disable keyword expansion. As

Re: svn commit: r301931 - head/tools/tools/decioctl

2016-06-15 Thread John Baldwin
On Wednesday, June 15, 2016 09:01:53 PM John Baldwin wrote: > Author: jhb > Date: Wed Jun 15 21:01:53 2016 > New Revision: 301931 > URL: https://svnweb.freebsd.org/changeset/base/301931 > > Log: > Add a tool to decode ioctl commands. > > One or more ioctl command values can be passed as

Re: svn commit: r301932 - head/sys/dev/cxgbe/tom

2016-06-15 Thread John Baldwin
On Wednesday, June 15, 2016 09:08:51 PM John Baldwin wrote: > Author: jhb > Date: Wed Jun 15 21:08:51 2016 > New Revision: 301932 > URL: https://svnweb.freebsd.org/changeset/base/301932 > > Log: > Use sbused() instead of sbspace() to avoid signed issues. > > Inserting a full mbuf with an

svn commit: r301932 - head/sys/dev/cxgbe/tom

2016-06-15 Thread John Baldwin
Author: jhb Date: Wed Jun 15 21:08:51 2016 New Revision: 301932 URL: https://svnweb.freebsd.org/changeset/base/301932 Log: Use sbused() instead of sbspace() to avoid signed issues. Inserting a full mbuf with an external cluster into the socket buffer resulted in sbspace() returning

svn commit: r301931 - head/tools/tools/decioctl

2016-06-15 Thread John Baldwin
Author: jhb Date: Wed Jun 15 21:01:53 2016 New Revision: 301931 URL: https://svnweb.freebsd.org/changeset/base/301931 Log: Add a tool to decode ioctl commands. One or more ioctl command values can be passed as arguments on the command line. For each value, the command is broken down

svn commit: r301930 - in head/sys: dev/cxgbe/tom kern sys

2016-06-15 Thread John Baldwin
Author: jhb Date: Wed Jun 15 20:56:45 2016 New Revision: 301930 URL: https://svnweb.freebsd.org/changeset/base/301930 Log: Move backend-specific fields of kaiocb into a union. This reduces the size of kaiocb slightly. I've also added some generic fields that other backends can use in

svn commit: r301929 - head/sys/kern

2016-06-15 Thread Konstantin Belousov
Author: kib Date: Wed Jun 15 15:56:03 2016 New Revision: 301929 URL: https://svnweb.freebsd.org/changeset/base/301929 Log: Do not assume that we own the use reference on the covered vnode until we set MNTK_UNMOUNT flag on the mp. Otherwise parallel unmount which wins race with us could

svn commit: r301928 - head/sys/fs/devfs

2016-06-15 Thread Konstantin Belousov
Author: kib Date: Wed Jun 15 15:55:14 2016 New Revision: 301928 URL: https://svnweb.freebsd.org/changeset/base/301928 Log: Another follow-up to r291460. Only access vp->v_rdev for VCHR vnodes in devfs_reclaim(). Reported and tested by: pho Sponsored by: The FreeBSD Foundation

svn commit: r301927 - stable/9/usr.sbin/newsyslog

2016-06-15 Thread Eric van Gyzen
Author: vangyzen Date: Wed Jun 15 14:12:22 2016 New Revision: 301927 URL: https://svnweb.freebsd.org/changeset/base/301927 Log: MFC r301532 newsyslog: Eliminate unnecessary sleep(10) when -R and -s are specified After going through the signal work list, during which do_sigwork() is

svn commit: r301926 - stable/10/usr.sbin/newsyslog

2016-06-15 Thread Eric van Gyzen
Author: vangyzen Date: Wed Jun 15 14:11:49 2016 New Revision: 301926 URL: https://svnweb.freebsd.org/changeset/base/301926 Log: MFC r301532 newsyslog: Eliminate unnecessary sleep(10) when -R and -s are specified After going through the signal work list, during which do_sigwork() is

svn commit: r301925 - stable/10/sys/dev/hyperv/vmbus

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jun 15 09:52:01 2016 New Revision: 301925 URL: https://svnweb.freebsd.org/changeset/base/301925 Log: MFC 297635 hyperv/vmbus: Use default mtx for channel message queue First of all sema_post() can't be called w/ spinlock, and the channel message

svn commit: r301924 - stable/10/sys/dev/hyperv/vmbus

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jun 15 09:39:41 2016 New Revision: 301924 URL: https://svnweb.freebsd.org/changeset/base/301924 Log: MFC 297219 hyperv/vmbus: use a better retry method in hv_vmbus_post_message() Most often, hv_vmbus_post_message() doesn't fail. However, it fails

svn commit: r301923 - svnadmin/hooks/scripts

2016-06-15 Thread Mathieu Arnold
Author: mat (doc,ports committer) Date: Wed Jun 15 09:08:14 2016 New Revision: 301923 URL: https://svnweb.freebsd.org/changeset/base/301923 Log: Sync all svnadmin hooks to prevent empty messages, and update with current commit hook template lines Modified:

svn commit: r301922 - head/sys/sys

2016-06-15 Thread Mateusz Guzik
Author: mjg Date: Wed Jun 15 08:34:36 2016 New Revision: 301922 URL: https://svnweb.freebsd.org/changeset/base/301922 Log: sdt: annotate the probe test as likely to fail This saves a jump in plenty of cases. Approved by: re (kib) MFC after:1 week Modified: head/sys/sys/sdt.h

svn commit: r301917 - stable/10/games/random

2016-06-15 Thread Don Lewis
Author: truckman Date: Wed Jun 15 06:27:43 2016 New Revision: 301917 URL: https://svnweb.freebsd.org/changeset/base/301917 Log: MFC r299484, r301574 r299484 | cem | 2016-05-11 15:04:28 -0700 (Wed, 11 May 2016) | 13 lines random(6): Fix double-close In the case where a file lacks

svn commit: r301921 - stable/10/lib/libc/gen

2016-06-15 Thread Don Lewis
Author: truckman Date: Wed Jun 15 06:42:30 2016 New Revision: 301921 URL: https://svnweb.freebsd.org/changeset/base/301921 Log: MFC r301596 Don't leak olinep if malloc() fails. If malloc() fails to allocate linep, then free olinep (if it exists) before returning to avoid a memory

svn commit: r301920 - stable/10/lib/libc/resolv

2016-06-15 Thread Don Lewis
Author: truckman Date: Wed Jun 15 06:40:30 2016 New Revision: 301920 URL: https://svnweb.freebsd.org/changeset/base/301920 Log: MFC r301592 Don't leak addrinfo if ai->ai_addrlen <= minsiz test fails. If the ai->ai_addrlen <= minsiz test fails, then freeaddrinfo() does not get called

svn commit: r301919 - stable/10/bin/setfacl

2016-06-15 Thread Don Lewis
Author: truckman Date: Wed Jun 15 06:33:40 2016 New Revision: 301919 URL: https://svnweb.freebsd.org/changeset/base/301919 Log: MFC r301582 Explicitly NUL terminate the buffer filled by fread(). The fix in r300649 was not sufficient to convince Coverity that the buffer was NUL

svn commit: r301918 - in stable/10/sys/dev/hyperv: include netvsc

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jun 15 06:32:00 2016 New Revision: 301918 URL: https://svnweb.freebsd.org/changeset/base/301918 Log: MFC 296293,296296,296297,296305 296293 hyperv/hn: Pass channel to hv_nv_on_receive_completion() While I'm here, staticize this function.

Re: svn commit: r301899 - in vendor/amd/dist: . amd amq conf/checkmount conf/fh_dref conf/hn_dref conf/mount conf/mtab conf/nfs_prot conf/sa_dref conf/transp conf/trap conf/umount doc fixmount fsinfo

2016-06-15 Thread Konstantin Belousov
On Tue, Jun 14, 2016 at 11:41:08PM +, Pedro F. Giffuni wrote: > Author: pfg > Date: Tue Jun 14 23:41:07 2016 > New Revision: 301899 > URL: https://svnweb.freebsd.org/changeset/base/301899 > > Log: > am-utils: Disable keyword expansion. > > As recommended in the Committers guide section

svn commit: r301916 - stable/10/sys/dev/hyperv/vmbus

2016-06-15 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jun 15 06:08:05 2016 New Revision: 301916 URL: https://svnweb.freebsd.org/changeset/base/301916 Log: MFC 296291,301109 296291 hyperv/chan: Factor out the vcpu setting And use it for cpu0 assignment; it does not sound right to assume that cpu0