svn commit: r303422 - in head/sys/dev/hyperv: include netvsc storvsc utilities vmbus

2016-07-27 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jul 28 06:46:10 2016 New Revision: 303422 URL: https://svnweb.freebsd.org/changeset/base/303422 Log: hyperv/vmbus: Inclusion cleanup MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7334 Modified: head/sys

svn commit: r303421 - head/sys/dev/hyperv/vmbus

2016-07-27 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jul 28 06:30:29 2016 New Revision: 303421 URL: https://svnweb.freebsd.org/changeset/base/303421 Log: hyperv/vmbus: Avoid unnecessary mb() MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7333 Modified: hea

svn commit: r303420 - in head/sys: arm/altera/socfpga arm/ti conf

2016-07-27 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jul 28 05:59:56 2016 New Revision: 303420 URL: https://svnweb.freebsd.org/changeset/base/303420 Log: Enable the build of micphy as part of generic miibus build, but only for FDT enabled systems. Sponsored by: Rubicon Communications (Netgate) Modified: head/sys/ar

Re: svn commit: r303382 - in head/sys: compat/linprocfs fs/devfs fs/fdescfs fs/nfs fs/procfs kern net net/altq netpfil/ipfw nfs rpc/rpcsec_gss sys

2016-07-27 Thread Bryan Drewery
On 7/27/2016 4:08 AM, Konstantin Belousov wrote: > +void > +getboottime(struct timeval *boottime) > +{ > + > + *boottime = boottime_x; > +} > + > +void > +getboottimebin(struct bintime *boottimebin) > +{ > + > + *boottimebin = boottimebin_x; > +} Is there benefit to moving these to a heade

svn commit: r303419 - head/usr.sbin/pmcstudy

2016-07-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jul 27 21:45:11 2016 New Revision: 303419 URL: https://svnweb.freebsd.org/changeset/base/303419 Log: Fix non-amd64 build from r292043 after reconnecting in r303410. MFC after:3 days X-MFC-With: r303410 Sponsored by: EMC / Isilon Storage Division Modifie

svn commit: r303418 - head/sys/dev/iwm

2016-07-27 Thread Imre Vadász
Author: ivadasz Date: Wed Jul 27 20:51:31 2016 New Revision: 303418 URL: https://svnweb.freebsd.org/changeset/base/303418 Log: [iwm] When stopping TX DMA, wait for all channels at once. * Makes the TX DMA stopping more similar to Linux code, and potentially a bit faster. Also, o

svn commit: r303417 - in head/sys/modules: ixl ixlv

2016-07-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jul 27 20:48:15 2016 New Revision: 303417 URL: https://svnweb.freebsd.org/changeset/base/303417 Log: opt_bdg.h was removed in r150636. MFC after:3 days Sponsored by: EMC / Isilon Storage Division Modified: head/sys/modules/ixl/Makefile head/sys/modules/

svn commit: r303416 - head/sys/dev/iwm

2016-07-27 Thread Imre Vadász
Author: ivadasz Date: Wed Jul 27 20:46:51 2016 New Revision: 303416 URL: https://svnweb.freebsd.org/changeset/base/303416 Log: [iwm] Set different pm_timeout for action frames. When building a Tx Command for management frames, we are lacking a check for action frames, for which we

svn commit: r303415 - in head/sys/modules: hyperv/vmbus linux64

2016-07-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jul 27 20:45:00 2016 New Revision: 303415 URL: https://svnweb.freebsd.org/changeset/base/303415 Log: opt_apic.h is only used on i386. MFC after:3 days Sponsored by: EMC / Isilon Storage Division Modified: head/sys/modules/hyperv/vmbus/Makefile head/sys/

svn commit: r303414 - head/sys/modules/mlx5

2016-07-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jul 27 20:44:53 2016 New Revision: 303414 URL: https://svnweb.freebsd.org/changeset/base/303414 Log: opt_random.h was removed in r287558 for opt_global.h MFC after:3 days Sponsored by: EMC / Isilon Storage Division Modified: head/sys/modules/mlx5/Makefile

svn commit: r303413 - head/sys/dev/iwm

2016-07-27 Thread Imre Vadász
Author: ivadasz Date: Wed Jul 27 20:43:08 2016 New Revision: 303413 URL: https://svnweb.freebsd.org/changeset/base/303413 Log: [iwm] Fix inverted logic in iwm_tx(). The PROT_REQUIRE flag in should be set for data frames above a certain length, but we were setting it for !data fram

svn commit: r303412 - head

2016-07-27 Thread Randall Stewart
Author: rrs Date: Wed Jul 27 20:37:32 2016 New Revision: 303412 URL: https://svnweb.freebsd.org/changeset/base/303412 Log: Remove myself from kern_timeout.c yeah! Modified: head/MAINTAINERS Modified: head/MAINTAINERS ===

svn commit: r303411 - in head/sys: conf kern netinet netinet6 sys

2016-07-27 Thread Stephen J. Kiernan
Author: stevek Date: Wed Jul 27 20:34:09 2016 New Revision: 303411 URL: https://svnweb.freebsd.org/changeset/base/303411 Log: Prepare for network stack as a module - Move cr_canseeinpcb to sys/netinet/in_prot.c in order to separate the INET and INET6-specific code from the rest of the

svn commit: r303410 - head/usr.sbin

2016-07-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jul 27 20:28:28 2016 New Revision: 303410 URL: https://svnweb.freebsd.org/changeset/base/303410 Log: Reconnect pmcstudy, lost in r291021 Reported by: pluknet MFC after:3 days Sponsored by: EMC / Isilon Storage Division Modified: head/usr.sbin/Makefile

Re: svn commit: r303405 - in head/sys/dev/cxgbe: . tom

2016-07-27 Thread Adrian Chadd
[snip] When we had my kqueue sendfile stuff in tree to handle notifications, I was getting 40g across what, 64k sockets on 8 cores using SHM sendfile + kqueue sendfile completion. it worked pretty well. One core could get 40g if I pre-seeded enough data into it (ie, multiple sendfile transactions

svn commit: r303406 - head/sys/kern

2016-07-27 Thread John Baldwin
Author: jhb Date: Wed Jul 27 19:31:25 2016 New Revision: 303406 URL: https://svnweb.freebsd.org/changeset/base/303406 Log: Adjust tests in fsync job scheduling loop to reduce indentation. Modified: head/sys/kern/vfs_aio.c Modified: head/sys/kern/vfs_aio.c

Re: svn commit: r303405 - in head/sys/dev/cxgbe: . tom

2016-07-27 Thread John Baldwin
On Wednesday, July 27, 2016 06:29:35 PM John Baldwin wrote: > Author: jhb > Date: Wed Jul 27 18:29:35 2016 > New Revision: 303405 > URL: https://svnweb.freebsd.org/changeset/base/303405 > > Log: > Add support for zero-copy aio_write() on TOE sockets. > > AIO write requests for a TOE socket

svn commit: r303405 - in head/sys/dev/cxgbe: . tom

2016-07-27 Thread John Baldwin
Author: jhb Date: Wed Jul 27 18:29:35 2016 New Revision: 303405 URL: https://svnweb.freebsd.org/changeset/base/303405 Log: Add support for zero-copy aio_write() on TOE sockets. AIO write requests for a TOE socket on a Chelsio T4+ adapter can now DMA directly from the user-supplied buffer.

svn commit: r303404 - in head: share/timedef tools/tools/locale/tools

2016-07-27 Thread Jung-uk Kim
Author: jkim Date: Wed Jul 27 18:12:36 2016 New Revision: 303404 URL: https://svnweb.freebsd.org/changeset/base/303404 Log: Add a hack to add weekday to date format for ko_KR locale. Modified: head/share/timedef/ko_KR.UTF-8.src head/share/timedef/ko_KR.eucKR.src head/tools/tools/locale/to

svn commit: r303400 - head/contrib/libcxxrt

2016-07-27 Thread Ed Maste
Author: emaste Date: Wed Jul 27 17:18:08 2016 New Revision: 303400 URL: https://svnweb.freebsd.org/changeset/base/303400 Log: libcxxrt: fix demangling of wchar_t 'wchar_t' is 7 characters long, not 6. r303297 fixed this in libelftc, but not the second copy of this file that we have in lib

svn commit: r303399 - head/sys/vm

2016-07-27 Thread Mark Johnston
Author: markj Date: Wed Jul 27 17:11:03 2016 New Revision: 303399 URL: https://svnweb.freebsd.org/changeset/base/303399 Log: De-pluralize "queues" where appropriate in the pagedaemon code. MFC after:1 week Modified: head/sys/vm/vm_pageout.c Modified: head/sys/vm/vm_pageout.c ===

svn commit: r303396 - in head: contrib/gcc/config/arm gnu/lib/libgcc

2016-07-27 Thread Ed Maste
Author: emaste Date: Wed Jul 27 16:34:19 2016 New Revision: 303396 URL: https://svnweb.freebsd.org/changeset/base/303396 Log: rename ARM's libunwind.S to to avoid conflict with llvm libunwind llvm libunwind includes a libunwind.cpp, but on ARM libunwind.S is found first in .PATH. Rename t

svn commit: r303394 - head/share/mk

2016-07-27 Thread Ed Maste
Author: emaste Date: Wed Jul 27 16:01:44 2016 New Revision: 303394 URL: https://svnweb.freebsd.org/changeset/base/303394 Log: Enable LLVM libunwind by default on amd64 and i386 It is a maintained and updated runtime exception stack unwinder that should be a drop-in replacement. It ca

Re: svn commit: r291021 - in head: sbin usr.sbin

2016-07-27 Thread Bryan Drewery
On 7/27/2016 8:31 AM, Sergey Kandaurov wrote: > On 18 November 2015 at 20:52, Bryan Drewery wrote: >> Author: bdrewery >> Date: Wed Nov 18 17:52:38 2015 >> New Revision: 291021 >> URL: https://svnweb.freebsd.org/changeset/base/291021 >> >> Log: >> Convert to SUBDIR.yes format. >> >> Reviewed b

Re: svn commit: r291021 - in head: sbin usr.sbin

2016-07-27 Thread Sergey Kandaurov
On 18 November 2015 at 20:52, Bryan Drewery wrote: > Author: bdrewery > Date: Wed Nov 18 17:52:38 2015 > New Revision: 291021 > URL: https://svnweb.freebsd.org/changeset/base/291021 > > Log: > Convert to SUBDIR.yes format. > > Reviewed by: imp > Sponsored by: EMC / Isilon Storage Division >

svn commit: r303393 - head/lib/libthr/thread

2016-07-27 Thread Konstantin Belousov
Author: kib Date: Wed Jul 27 15:14:11 2016 New Revision: 303393 URL: https://svnweb.freebsd.org/changeset/base/303393 Log: Remove empty initializer for the once facility. It was not needed since r179417. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/lib/li

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

2016-07-27 Thread Ed Maste
Author: emaste Date: Wed Jul 27 14:58:15 2016 New Revision: 303392 URL: https://svnweb.freebsd.org/changeset/base/303392 Log: Remove ${OBJDUMP} as it is not used by the base system It was added to sys.mk relatively recently (r274503) for EFI builds but is no longer used by the base system

svn commit: r303391 - head/sys/kern

2016-07-27 Thread Ed Maste
Author: emaste Date: Wed Jul 27 14:27:08 2016 New Revision: 303391 URL: https://svnweb.freebsd.org/changeset/base/303391 Log: ANSIfy kern_proc.c and delete register keyword Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D

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

2016-07-27 Thread Ed Maste
Author: emaste Date: Wed Jul 27 14:12:04 2016 New Revision: 303390 URL: https://svnweb.freebsd.org/changeset/base/303390 Log: syscons,vt: improve phrasing in kern.vty man page description Submitted by: wblock Modified: head/share/man/man4/syscons.4 head/share/man/man4/vt.4 Modified: h

svn commit: r303388 - head/sys/kern

2016-07-27 Thread Konstantin Belousov
Author: kib Date: Wed Jul 27 11:54:24 2016 New Revision: 303388 URL: https://svnweb.freebsd.org/changeset/base/303388 Log: Remove Giant from settime(), tc_setclock_mtx guards tc_windup() calls, and there is no other issues with parallel settime(). Remove spl() vestiges there as well. T

svn commit: r303387 - head/sys/kern

2016-07-27 Thread Konstantin Belousov
Author: kib Date: Wed Jul 27 11:49:41 2016 New Revision: 303387 URL: https://svnweb.freebsd.org/changeset/base/303387 Log: Prevent parallel tc_windup() calls, both parallel top-level calls from setclock() and from simultaneous top-level and interrupt. For this, tc_windup() is protected with

svn commit: r303386 - head/sys/kern

2016-07-27 Thread Konstantin Belousov
Author: kib Date: Wed Jul 27 11:40:06 2016 New Revision: 303386 URL: https://svnweb.freebsd.org/changeset/base/303386 Log: Fix a bug in r302252. Change ntpadj_lock to spinlock always, and rename stuff removing ADJ/adj from the names. ntp_update_second() requires ntp_lock and is called f

svn commit: r303385 - head/sys/kern

2016-07-27 Thread Konstantin Belousov
Author: kib Date: Wed Jul 27 11:34:25 2016 New Revision: 303385 URL: https://svnweb.freebsd.org/changeset/base/303385 Log: Reduce the resettodr_lock scope to only CLOCK_SETTIME() call. Tested by:pho (as part of the whole patch) Reviewed by: jhb (same) Discussed with: bde Sp

svn commit: r303384 - head/sys/kern

2016-07-27 Thread Konstantin Belousov
Author: kib Date: Wed Jul 27 11:33:33 2016 New Revision: 303384 URL: https://svnweb.freebsd.org/changeset/base/303384 Log: Style. Sponsored by: The FreeBSD Foundation MFC after:1 month X-Differential revision: https://reviews.freebsd.org/D7302 Modified: head/sys/kern/kern_tc

svn commit: r303383 - head/sys/kern

2016-07-27 Thread Konstantin Belousov
Author: kib Date: Wed Jul 27 11:27:52 2016 New Revision: 303383 URL: https://svnweb.freebsd.org/changeset/base/303383 Log: Reduce number of timehands to just two. This is useful because consumers can now be only one tc_windup() call late. Use C99 initialization. Tested by:pho (a

svn commit: r303382 - in head/sys: compat/linprocfs fs/devfs fs/fdescfs fs/nfs fs/procfs kern net net/altq netpfil/ipfw nfs rpc/rpcsec_gss sys

2016-07-27 Thread Konstantin Belousov
Author: kib Date: Wed Jul 27 11:08:59 2016 New Revision: 303382 URL: https://svnweb.freebsd.org/changeset/base/303382 Log: Hide the boottime and bootimebin globals, provide the getboottime(9) and getboottimebin(9) KPI. Change consumers of boottime to use the KPI. The variables were renamed

svn commit: r303379 - in head/sys: conf dev/hyperv/vmbus modules/hyperv/vmbus

2016-07-27 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jul 27 09:27:08 2016 New Revision: 303379 URL: https://svnweb.freebsd.org/changeset/base/303379 Log: hyperv/vmbus: Rename cleaned up bufring code MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7318 Added:

svn commit: r303374 - head/sbin/route

2016-07-27 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 27 08:26:34 2016 New Revision: 303374 URL: https://svnweb.freebsd.org/changeset/base/303374 Log: Due to dropped mbuf in netisr queue route(8) can fall into infinity loop of reading the rtsock's feed. When it used by some scripts, this leads to growing number of not f

Re: svn commit: r303354 - head/share/timedef

2016-07-27 Thread Kevin Lo
On Wed, Jul 27, 2016 at 03:55:44AM +0300, Andrey Chernov wrote: > > On 27.07.2016 3:46, Kevin Lo wrote: > > Author: kevlo > > Date: Wed Jul 27 00:46:48 2016 > > New Revision: 303354 > > URL: https://svnweb.freebsd.org/changeset/base/303354 > > > > Log: > > Add weekday to the date format. > > T

svn commit: r303373 - head/share/timedef

2016-07-27 Thread Kevin Lo
Author: kevlo Date: Wed Jul 27 08:11:08 2016 New Revision: 303373 URL: https://svnweb.freebsd.org/changeset/base/303373 Log: Regenerate timedef for zh_TW. Reviewed by: bapt Modified: head/share/timedef/zh_TW.Big5.src head/share/timedef/zh_TW.UTF-8.src Modified: head/share/timedef/zh_

svn commit: r303372 - in head/tools/tools/locale: . tools

2016-07-27 Thread Kevin Lo
Author: kevlo Date: Wed Jul 27 08:08:46 2016 New Revision: 303372 URL: https://svnweb.freebsd.org/changeset/base/303372 Log: Fix cldr2def.pl script to add weekday to the date format of zh_TW locales. While here, mention dependency on textproc/p5-XML-Parser in README. Reviewed by: bapt M

svn commit: r303370 - head/sys/dev/hyperv/vmbus

2016-07-27 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jul 27 07:36:54 2016 New Revision: 303370 URL: https://svnweb.freebsd.org/changeset/base/303370 Log: hyperv/vmbus: Cleanup RX bufring read process. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7317 Modif

svn commit: r303369 - head/sys/dev/hyperv/vmbus

2016-07-27 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jul 27 07:19:06 2016 New Revision: 303369 URL: https://svnweb.freebsd.org/changeset/base/303369 Log: hyperv/vmbus: Stringent RX bufring data length checks. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D731