svn commit: r313912 - head/sys/compat/linux

2017-02-17 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 18 07:21:50 2017 New Revision: 313912 URL: https://svnweb.freebsd.org/changeset/base/313912 Log: Finich r313684. Convert linux_recv(), linux_send() and linux_accept() system call arguments to the register_t type too. PR: 217161 MFC after:

svn commit: r313911 - head/sys/dev/vmware/vmxnet3

2017-02-17 Thread Luiz Otavio O Souza
Author: loos Date: Sat Feb 18 06:18:14 2017 New Revision: 313911 URL: https://svnweb.freebsd.org/changeset/base/313911 Log: Spell VMXNET3_LEGACY_TX correctly. Obtained from:pfSense MFC after:2 weeks Sponsored by: Rubicon Communications, LLC (Netgate) Modified:

svn commit: r313910 - head/sys/cam/ctl

2017-02-17 Thread Alexander Motin
Author: mav Date: Sat Feb 18 06:03:16 2017 New Revision: 313910 URL: https://svnweb.freebsd.org/changeset/base/313910 Log: Change XCOPY memory allocations. Before this change XCOPY code could allocate memory in chunks up to 16-32MB (VMware does XCOPY in 4MB chunks by default), that could

svn commit: r313909 - head/sys/kern

2017-02-17 Thread Bryan Drewery
Author: bdrewery Date: Sat Feb 18 05:07:53 2017 New Revision: 313909 URL: https://svnweb.freebsd.org/changeset/base/313909 Log: Fix panic with unlocked vnode to vrecycle(). MFC after:2 weeks Modified: head/sys/kern/uipc_mqueue.c Modified: head/sys/kern/uipc_mqueue.c

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

2017-02-17 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 18 01:52:10 2017 New Revision: 313908 URL: https://svnweb.freebsd.org/changeset/base/313908 Log: mtx: plug the 'opts' argument when not used Modified: head/sys/kern/kern_mutex.c head/sys/sys/lock.h head/sys/sys/mutex.h Modified: head/sys/kern/kern_mutex.c

svn commit: r313907 - head

2017-02-17 Thread Bryan Drewery
Author: bdrewery Date: Sat Feb 18 00:08:13 2017 New Revision: 313907 URL: https://svnweb.freebsd.org/changeset/base/313907 Log: xdev: Fix after libc++ update in r300873. The xdev build needed the same fixes as libcompat and external toolchain support needed for handling of --sysroot, -L,

svn commit: r313906 - in head/sys/dev: iwi ral usb/wlan

2017-02-17 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 17 23:20:22 2017 New Revision: 313906 URL: https://svnweb.freebsd.org/changeset/base/313906 Log: iwi, ral, zyd: fix possible use-after-free. MFC after:5 days Modified: head/sys/dev/iwi/if_iwi.c head/sys/dev/ral/rt2661.c head/sys/dev/usb/wlan/if_zyd.c

svn commit: r313905 - head

2017-02-17 Thread Bryan Drewery
Author: bdrewery Date: Fri Feb 17 22:51:34 2017 New Revision: 313905 URL: https://svnweb.freebsd.org/changeset/base/313905 Log: xdev: Build yacc which is needed for recent libpcap updates. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1 Modified:

svn commit: r313904 - head

2017-02-17 Thread Bryan Drewery
Author: bdrewery Date: Fri Feb 17 22:51:21 2017 New Revision: 313904 URL: https://svnweb.freebsd.org/changeset/base/313904 Log: META_MODE+xdev: Don't rebuild build-tools during normal build. See r297997 for more information. MFC after:1 week Sponsored by: Dell EMC Isilon

svn commit: r313903 - head/sys/x86/x86

2017-02-17 Thread Konstantin Belousov
Author: kib Date: Fri Feb 17 22:50:41 2017 New Revision: 313903 URL: https://svnweb.freebsd.org/changeset/base/313903 Log: Rely on CPUID feature only to enable attaching. MTRR are architectural and there is no reason to check cpu family or vendor. Noted by: royger Reviewed by: jhb

svn commit: r313902 - head/sys/x86/x86

2017-02-17 Thread Konstantin Belousov
Author: kib Date: Fri Feb 17 22:49:52 2017 New Revision: 313902 URL: https://svnweb.freebsd.org/changeset/base/313902 Log: smp_rendezvous() works for UP case as well, reduce duplicated code. Also fix cast and remove unneeded XXX in comment. Noted and reviewed by: jhb Sponsored by: The

svn commit: r313901 - head/sys/sys

2017-02-17 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 17 22:09:55 2017 New Revision: 313901 URL: https://svnweb.freebsd.org/changeset/base/313901 Log: sx: fix mips builld after r313855 The namespace in this file really needs cleaning up. In the meantime let inline primitives be defined as long as LOCK_DEBUG is not

svn commit: r313900 - head/sys/dev/e1000

2017-02-17 Thread Sean Bruno
Author: sbruno Date: Fri Feb 17 21:30:16 2017 New Revision: 313900 URL: https://svnweb.freebsd.org/changeset/base/313900 Log: Push max_frame_len back into iflib so that jumbo frame sizes work. Reported by: pho Modified: head/sys/dev/e1000/if_em.c Modified: head/sys/dev/e1000/if_em.c

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

2017-02-17 Thread Brooks Davis
Author: brooks Date: Fri Feb 17 21:25:24 2017 New Revision: 313899 URL: https://svnweb.freebsd.org/changeset/base/313899 Log: Enable capsicum on MALTA kernels. This adds less that 10K to the kernel and should probably be done in the other std.* configs. Modified:

svn commit: r313898 - in head/sys: amd64/amd64 conf i386/i386 modules/mem x86/x86

2017-02-17 Thread Konstantin Belousov
Author: kib Date: Fri Feb 17 21:08:32 2017 New Revision: 313898 URL: https://svnweb.freebsd.org/changeset/base/313898 Log: Merge i386 and amd64 mtrr drivers. Reviewed by: royger, jhb Sponsored by: The FreeBSD Foundation MFC after:2 weeks Differential revision:

svn commit: r313897 - head/sys/fs/ext2fs

2017-02-17 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 17 20:56:43 2017 New Revision: 313897 URL: https://svnweb.freebsd.org/changeset/base/313897 Log: ext2fs: Remove unused assignment. Value is re-assigned a few lines later without being read. Found by: Clang static analyzer MFC after:1 week Modified:

svn commit: r313895 - head/sys/cam/ctl

2017-02-17 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 17 20:15:27 2017 New Revision: 313895 URL: https://svnweb.freebsd.org/changeset/base/313895 Log: Make ctl(4) build with CTL_IO_DELAY defined. sys/cam/ctl/ctl.c: In ctl_datamove(), inside CTL_IO_DELAY, add a lun variable and fill it in before trying

svn commit: r313893 - head/sbin/camcontrol

2017-02-17 Thread Kenneth D. Merry
Author: ken Date: Fri Feb 17 20:04:22 2017 New Revision: 313893 URL: https://svnweb.freebsd.org/changeset/base/313893 Log: Add task attribute support to camcontrol(8). Users can use the new generic argument, -Q task_attr, to specify a task attribute (simple, ordered, head of queue, aca)

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

2017-02-17 Thread Sean Bruno
Author: sbruno Date: Fri Feb 17 20:02:40 2017 New Revision: 313892 URL: https://svnweb.freebsd.org/changeset/base/313892 Log: Update OLD_DIRS for various targets so that some of the branches of directories are pruned when the appropriate knobs are turned. Specifically, turning off

svn commit: r313891 - head/usr.bin/sort

2017-02-17 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 17 19:53:20 2017 New Revision: 313891 URL: https://svnweb.freebsd.org/changeset/base/313891 Log: sort(1): Remove unneeded initializations. Found by: Clang static analyzer Modified: head/usr.bin/sort/bwstring.c head/usr.bin/sort/coll.c

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

2017-02-17 Thread hiren panchasara
On 03/19/15 at 11:08P, hiren panchasara wrote: > On 03/16/15 at 06:06P, hiren panchasara wrote: > > On 03/16/15 at 03:39P, Gleb Smirnoff wrote: > > > On Wed, Mar 11, 2015 at 02:36:07PM -0700, hiren panchasara wrote: > > > h> On 02/13/15 at 11:19P, Simon J. Gerraty wrote: > > > h> > Author: sjg > >

svn commit: r313880 - head/sys/dev/asmc

2017-02-17 Thread Adrian Chadd
Author: adrian Date: Fri Feb 17 18:49:18 2017 New Revision: 313880 URL: https://svnweb.freebsd.org/changeset/base/313880 Log: [asmc] Add support for MacBook Pro 11,2 This patch will add support for MacBookPro 11.2. For the macros, the MBP11_* macros (for the existing MacBookPro11.3) did

svn commit: r313879 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-02-17 Thread Josh Paetzel
Author: jpaetzel Date: Fri Feb 17 17:52:12 2017 New Revision: 313879 URL: https://svnweb.freebsd.org/changeset/base/313879 Log: MVF: 313876 7504 kmem_reap hangs spa_sync and administrative tasks illumos/illumos-gate@405a5a0f5c3ab36cb76559467d1a62ba648bd809

Re: svn commit: r313821 - in head/sys: dev/cxgb/ulp/iw_cxgb fs/nfsserver kern netinet netinet/libalias netpfil/ipfw

2017-02-17 Thread Eric van Gyzen
On 02/16/2017 22:17, Gleb Smirnoff wrote: Eric, heh, things are worse. Multiple places you changes are CTR() macros. Neither inet_ntoa() nor inet_ntoa_r() will work with them. :( Basicly non-constant strings can not be logged with KTR. All the lines you touched should log actual binary

Re: svn commit: r313854 - head/sys/cam/ctl

2017-02-17 Thread Edward Tomasz Napierała
On 0217T1522, Alexander Motin wrote: > On 17.02.2017 12:24, Edward Tomasz Napierała wrote: > > On 0217T0522, Alexander Motin wrote: > >> Author: mav > >> Date: Fri Feb 17 05:22:58 2017 > >> New Revision: 313854 > >> URL: https://svnweb.freebsd.org/changeset/base/313854 > >> > >> Log: > >> Change

svn commit: r313878 - head/sys/kern

2017-02-17 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 17 15:40:24 2017 New Revision: 313878 URL: https://svnweb.freebsd.org/changeset/base/313878 Log: mtx: get rid of file/line args from slow paths if they are unused This denotes changes which went in by accident in r313877. On most production kernels both said

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

2017-02-17 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 17 15:34:40 2017 New Revision: 313877 URL: https://svnweb.freebsd.org/changeset/base/313877 Log: mtx: restrict r313875 to kernels without LOCK_PROFILING Modified: head/sys/kern/kern_mutex.c head/sys/sys/mutex.h Modified: head/sys/kern/kern_mutex.c

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

2017-02-17 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 17 14:55:59 2017 New Revision: 313875 URL: https://svnweb.freebsd.org/changeset/base/313875 Log: mtx: microoptimize lockstat handling in __mtx_lock_sleep This saves a function call and multiple branches after the lock is acquired. Modified:

svn commit: r313874 - head/sys/sys

2017-02-17 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 17 14:05:57 2017 New Revision: 313874 URL: https://svnweb.freebsd.org/changeset/base/313874 Log: Make inline lockstat checks just inspect lockstat_enabled There is no correctness issue and this lets the kernel just test one typically false variable. Modified:

svn commit: r313873 - head/lib/libc/arm

2017-02-17 Thread Michal Meloun
Author: mmel Date: Fri Feb 17 13:49:46 2017 New Revision: 313873 URL: https://svnweb.freebsd.org/changeset/base/313873 Log: Publish fp[get][set]sticky() for ARMv6. Although fp[get][set]sticky() functions are obsolete, they are still required for GNU fortran49 library. MFC after: 2

svn commit: r313872 - head/sys/compat/linuxkpi/common/include/linux

2017-02-17 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 17 13:31:11 2017 New Revision: 313872 URL: https://svnweb.freebsd.org/changeset/base/313872 Log: Implement GFP_DMA32 flag in the LinuxKPI. Define all FreeBSD native GFP bits as GFP_NATIVE_MASK. Obtained from:kmacy @ MFC after:1

Re: svn commit: r313854 - head/sys/cam/ctl

2017-02-17 Thread Alexander Motin
On 17.02.2017 12:24, Edward Tomasz Napierała wrote: > On 0217T0522, Alexander Motin wrote: >> Author: mav >> Date: Fri Feb 17 05:22:58 2017 >> New Revision: 313854 >> URL: https://svnweb.freebsd.org/changeset/base/313854 >> >> Log: >> Change the way MaxCmdSN is used. >> >> Before this

svn commit: r313871 - in head/sys: amd64/amd64 i386/i386

2017-02-17 Thread Roger Pau Monné
Author: royger Date: Fri Feb 17 12:47:51 2017 New Revision: 313871 URL: https://svnweb.freebsd.org/changeset/base/313871 Log: x86: fix MTRR initialization if EARLY_AP_STARTUP is used MTRR handlers are set in {amd64/i686}_mem_drvinit, which is called at SI_SUB_DRIVERS, and that's too late

svn commit: r313870 - head/usr.bin/timeout

2017-02-17 Thread Baptiste Daroussin
Author: bapt Date: Fri Feb 17 11:31:27 2017 New Revision: 313870 URL: https://svnweb.freebsd.org/changeset/base/313870 Log: Use full name for the month Reported by: brueffer Modified: head/usr.bin/timeout/timeout.1 Modified: head/usr.bin/timeout/timeout.1

svn commit: r313869 - head/usr.bin/timeout

2017-02-17 Thread Baptiste Daroussin
Author: bapt Date: Fri Feb 17 11:26:03 2017 New Revision: 313869 URL: https://svnweb.freebsd.org/changeset/base/313869 Log: Also add vsevolod@ in the authors Modified: head/usr.bin/timeout/timeout.1 Modified: head/usr.bin/timeout/timeout.1

svn commit: r313867 - head/usr.bin/timeout

2017-02-17 Thread Baptiste Daroussin
Author: bapt Date: Fri Feb 17 11:17:56 2017 New Revision: 313867 URL: https://svnweb.freebsd.org/changeset/base/313867 Log: Add history and Authors section in the manpage Submitted by: dteske MFC after:2 days Differential Revision:https://reviews.freebsd.org/D9419

svn commit: r313866 - head/lib/libc/arm/aeabi

2017-02-17 Thread Michal Meloun
Author: mmel Date: Fri Feb 17 11:16:19 2017 New Revision: 313866 URL: https://svnweb.freebsd.org/changeset/base/313866 Log: Publish __aeabi_uidiv and __aeabi_idiv as compatible symbols from libc. Due to bug[1] in libcompiler_rt, all symbols declared by DEFINE_AEABI_FUNCTION_ALIAS() are

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

2017-02-17 Thread Mateusz Guzik
On Fri, Feb 17, 2017 at 11:55:36AM +0100, Michal Meloun wrote: > > > On 17.02.2017 6:39, Mateusz Guzik wrote: > > Modified: head/sys/kern/kern_sx.c > > == > > --- head/sys/kern/kern_sx.c Fri Feb 17 05:22:58 2017

svn commit: r313865 - head/sys/kern

2017-02-17 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 17 10:58:12 2017 New Revision: 313865 URL: https://svnweb.freebsd.org/changeset/base/313865 Log: sx: fix compilation on UP kernels after r313855 sx primitives use inlines as opposed to macros. Change the tested condition to LOCK_DEBUG which covers the case, but

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

2017-02-17 Thread Michal Meloun
On 17.02.2017 6:39, Mateusz Guzik wrote: > Author: mjg > Date: Fri Feb 17 05:39:40 2017 > New Revision: 313855 > URL: https://svnweb.freebsd.org/changeset/base/313855 > > Log: > locks: let primitives for modules unlock without always goging to the slsow > path > > It is only needed if

Re: svn commit: r313854 - head/sys/cam/ctl

2017-02-17 Thread Edward Tomasz Napierała
On 0217T0522, Alexander Motin wrote: > Author: mav > Date: Fri Feb 17 05:22:58 2017 > New Revision: 313854 > URL: https://svnweb.freebsd.org/changeset/base/313854 > > Log: > Change the way MaxCmdSN is used. > > Before this change MaxCmdSN was reported as CmdSN + delta, that made it >

Re: svn commit: r313859 - in head/sys: kern sys

2017-02-17 Thread Bruce Evans
On Fri, 17 Feb 2017, Hans Petter Selasky wrote: Log: Introduce SCHEDULER_STOPPED_TD for use when the thread pointer was already read Sprinkle in few places. Modified: head/sys/kern/kern_condvar.c head/sys/kern/kern_synch.c head/sys/sys/systm.h Do these checks also cover panics?

Re: svn commit: r313859 - in head/sys: kern sys

2017-02-17 Thread Mateusz Guzik
On Fri, Feb 17, 2017 at 10:08:27AM +0100, Hans Petter Selasky wrote: > On 02/17/17 07:45, Mateusz Guzik wrote: > >Author: mjg > >Date: Fri Feb 17 06:45:04 2017 > >New Revision: 313859 > >URL: https://svnweb.freebsd.org/changeset/base/313859 > > > >Log: > > Introduce SCHEDULER_STOPPED_TD for use

Re: svn commit: r313859 - in head/sys: kern sys

2017-02-17 Thread Hans Petter Selasky
On 02/17/17 07:45, Mateusz Guzik wrote: Author: mjg Date: Fri Feb 17 06:45:04 2017 New Revision: 313859 URL: https://svnweb.freebsd.org/changeset/base/313859 Log: Introduce SCHEDULER_STOPPED_TD for use when the thread pointer was already read Sprinkle in few places. Modified:

svn commit: r313864 - head/lib/msun/man

2017-02-17 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Fri Feb 17 08:25:48 2017 New Revision: 313864 URL: https://svnweb.freebsd.org/changeset/base/313864 Log: Add documentations related to new APIs of r313761 PR: 216850 216851 216852 216856 216857 216858 Submitted by:

svn commit: r313863 - in head/lib/msun: . src

2017-02-17 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Fri Feb 17 08:22:32 2017 New Revision: 313863 URL: https://svnweb.freebsd.org/changeset/base/313863 Log: Fix building of r313761 on platforms that `long double` is alias of `double` (MIPS, etc) PR: 216850 216851 216852 216856 216857 216858