Re: svn commit: r297225 - in head/sys: net netinet netinet6

2016-03-24 Thread George V. Neville-Neil
On 03/24/16 04:31 PM, Gleb Smirnoff wrote: > On Thu, Mar 24, 2016 at 07:54:56AM +, George V. Neville-Neil wrote: > G> Author: gnn > G> Date: Thu Mar 24 07:54:56 2016 > G> New Revision: 297225 > G> URL: https://svnweb.freebsd.org/changeset/base/297225 > G> > G> Log: > G> FreeBSD previously

svn commit: r297266 - head/contrib/ofed/management/opensm/include/vendor

2016-03-24 Thread Bryan Drewery
Author: bdrewery Date: Fri Mar 25 04:16:04 2016 New Revision: 297266 URL: https://svnweb.freebsd.org/changeset/base/297266 Log: Make GCC happy by removing empty #elif. Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/ofed/management/opensm/include/vendor/osm_vendor.h M

svn commit: r297265 - head/sys/netinet

2016-03-24 Thread Sepherosa Ziehau
Author: sephe Date: Fri Mar 25 02:54:13 2016 New Revision: 297265 URL: https://svnweb.freebsd.org/changeset/base/297265 Log: tcp/lro: Return TCP_LRO_NO_ENTRIES if we are short of LRO entries. So that callers could react accordingly. Reviewed by: gallatin (no objection) MFC after:

svn commit: r297258 - head/share/dtrace

2016-03-24 Thread George V. Neville-Neil
Author: gnn Date: Fri Mar 25 00:33:55 2016 New Revision: 297258 URL: https://svnweb.freebsd.org/changeset/base/297258 Log: Remove dependency on mbuf provider as mbuf SDTs are now in the SDT space. Sponsored by: Rubicon Communications (Netgate) Modified: head/share/dtrace/mbuf.d Modified

svn commit: r297256 - head/sys/dev/filemon

2016-03-24 Thread Bryan Drewery
Author: bdrewery Date: Fri Mar 25 00:14:56 2016 New Revision: 297256 URL: https://svnweb.freebsd.org/changeset/base/297256 Log: Remove unneeded return left from refactoring. MFC after:2 weeks Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/filemon/filemon.c Modi

svn commit: r297255 - head/sys/dev/ichwd

2016-03-24 Thread Alexander Motin
Author: mav Date: Thu Mar 24 23:24:00 2016 New Revision: 297255 URL: https://svnweb.freebsd.org/changeset/base/297255 Log: Unify ichwd(4) attachment messages in dmesg. MFC after:2 weeks Modified: head/sys/dev/ichwd/ichwd.c Modified: head/sys/dev/ichwd/ichwd.c ===

svn commit: r297253 - head/sys/compat/cloudabi64

2016-03-24 Thread Ed Schouten
Author: ed Date: Thu Mar 24 21:49:39 2016 New Revision: 297253 URL: https://svnweb.freebsd.org/changeset/base/297253 Log: Regenerate system call table after r297247. Modified: head/sys/compat/cloudabi64/cloudabi64_proto.h head/sys/compat/cloudabi64/cloudabi64_syscall.h head/sys/compat/clo

svn commit: r297250 - in head: bin/csh lib/ncurses/ncurses

2016-03-24 Thread Bryan Drewery
Author: bdrewery Date: Thu Mar 24 21:48:13 2016 New Revision: 297250 URL: https://svnweb.freebsd.org/changeset/base/297250 Log: CCACHE_BUILD: Don't use ccache when generating some files with CC -E. At least for ncurses this fixes a build error due to it trying to run 'ccache --version' to

svn commit: r297252 - head/sys/contrib/cloudabi

2016-03-24 Thread Ed Schouten
Author: ed Date: Thu Mar 24 21:48:41 2016 New Revision: 297252 URL: https://svnweb.freebsd.org/changeset/base/297252 Log: Turn on $FreeBSD$ keyword expansion to the system call table. Modified: Directory Properties: head/sys/contrib/cloudabi/syscalls.master (props changed) _

svn commit: r297251 - head/contrib/ofed/management/infiniband-diags/src

2016-03-24 Thread Bryan Drewery
Author: bdrewery Date: Thu Mar 24 21:48:16 2016 New Revision: 297251 URL: https://svnweb.freebsd.org/changeset/base/297251 Log: Fix off-by-one found by GCC 5.3.2. This was fixed during refactoring in the upstream infiniband-diags 1.5.3. Sponsored by: EMC / Isilon Storage Division Modi

svn commit: r297248 - head

2016-03-24 Thread Bryan Drewery
Author: bdrewery Date: Thu Mar 24 21:48:01 2016 New Revision: 297248 URL: https://svnweb.freebsd.org/changeset/base/297248 Log: Explicit 'make obj' for library dirs in build32 is not needed. In r138291 some directories were explicitly made to run 'make obj', but each target in 'make libra

svn commit: r297249 - head/lib/csu/powerpc64

2016-03-24 Thread Bryan Drewery
Author: bdrewery Date: Thu Mar 24 21:48:10 2016 New Revision: 297249 URL: https://svnweb.freebsd.org/changeset/base/297249 Log: Don't reset CC away from full-pathed gcc. This was breaking the build when using CROSS_TOOLCHAIN=powerpc64-gcc Sponsored by: EMC / Isilon Storage Division Mo

svn commit: r297247 - in head: lib/libsysdecode sys/compat/cloudabi sys/compat/cloudabi64 sys/contrib/cloudabi usr.bin/truss

2016-03-24 Thread Ed Schouten
Author: ed Date: Thu Mar 24 21:47:15 2016 New Revision: 297247 URL: https://svnweb.freebsd.org/changeset/base/297247 Log: Replace the CloudABI system call table by a machine generated version. The type definitions and constants that were used by COMPAT_CLOUDABI64 are a literal copy of som

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

2016-03-24 Thread Bruce Evans
On Thu, 24 Mar 2016, Edward Tomasz [utf-8] Napiera?~Ba wrote: On 0324T1015, Warner Losh wrote: On Thu, Mar 24, 2016 at 9:46 AM, Ian Lepore wrote: On Thu, 2016-03-24 at 16:01 +0100, Edward Tomasz Napiera??a wrote: On 0324T1609, Alexander Motin wrote: On 24.03.16 15:42, Edward Tomasz Napiera

svn commit: r297244 - head/contrib/llvm/include/llvm/Support

2016-03-24 Thread Dimitry Andric
Author: dim Date: Thu Mar 24 20:55:23 2016 New Revision: 297244 URL: https://svnweb.freebsd.org/changeset/base/297244 Log: Pull in r264335 from upstream llvm trunk: Add to ThreadPool.h, since std::atomic is used Summary: Apparently, when compiling with gcc 5.3.2 for powerpc64,

svn commit: r297243 - in head: share/man/man4 sys/amd64/conf sys/dev/wbwd sys/i386/conf

2016-03-24 Thread Alexander Motin
Author: mav Date: Thu Mar 24 20:52:35 2016 New Revision: 297243 URL: https://svnweb.freebsd.org/changeset/base/297243 Log: Polish wbwd(4) driver and add more supported chips. MFC after:1 month Modified: head/share/man/man4/wbwd.4 head/sys/amd64/conf/GENERIC.hints head/sys/dev/wbw

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-24 Thread Bruce Evans
On Thu, 24 Mar 2016, Konstantin Belousov wrote: On Fri, Mar 25, 2016 at 01:57:32AM +1100, Bruce Evans wrote: In fact, if we can use TSC with the only requirement of being monotonic, I do not see why do we need TSC at all. We can return to pre-r278325 loop, but calibrate the number of loop itera

Re: svn commit: r297225 - in head/sys: net netinet netinet6

2016-03-24 Thread Gleb Smirnoff
On Thu, Mar 24, 2016 at 07:54:56AM +, George V. Neville-Neil wrote: G> Author: gnn G> Date: Thu Mar 24 07:54:56 2016 G> New Revision: 297225 G> URL: https://svnweb.freebsd.org/changeset/base/297225 G> G> Log: G> FreeBSD previously provided route caching for TCP (and UDP). Re-add G> route c

svn commit: r297242 - head/contrib/elftoolchain/elfcopy

2016-03-24 Thread Ed Maste
Author: emaste Date: Thu Mar 24 20:13:17 2016 New Revision: 297242 URL: https://svnweb.freebsd.org/changeset/base/297242 Log: elfcopy: overhaul of LMA handling Merge ELF Tool Chain r3434: Previously, elfcopy defines: VMA: section virtual address LMA: PHDR(p_vaddr)

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

2016-03-24 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 24 20:06:52 2016 New Revision: 297241 URL: https://svnweb.freebsd.org/changeset/base/297241 Log: Space and style(9) corrections for recent mbuf changes. Modified: head/sys/kern/kern_mbuf.c head/sys/sys/mbuf.h Modified: head/sys/kern/kern_mbuf.c ===

svn commit: r297238 - in head/lib/libc: aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2016-03-24 Thread Ed Maste
Author: emaste Date: Thu Mar 24 18:47:19 2016 New Revision: 297238 URL: https://svnweb.freebsd.org/changeset/base/297238 Log: libc: stop exporting curbrk and minbrk in the private namespace They are not used anywhere else in the base system and are an internal implementation detail that d

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

2016-03-24 Thread Edward Tomasz Napierała
On 0324T1015, Warner Losh wrote: > On Thu, Mar 24, 2016 at 9:46 AM, Ian Lepore wrote: > > > On Thu, 2016-03-24 at 16:01 +0100, Edward Tomasz Napierała wrote: > > > On 0324T1609, Alexander Motin wrote: > > > > On 24.03.16 15:42, Edward Tomasz Napierała wrote: > > > > > On 0324T1032, Jean-Sébastien

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-24 Thread Konstantin Belousov
On Fri, Mar 25, 2016 at 01:57:32AM +1100, Bruce Evans wrote: > > In fact, if we can use TSC with the only requirement of being monotonic, > > I do not see why do we need TSC at all. We can return to pre-r278325 > > loop, but calibrate the number of loop iterations for known delay in > > 1us, once o

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

2016-03-24 Thread Warner Losh
On Thu, Mar 24, 2016 at 9:46 AM, Ian Lepore wrote: > On Thu, 2016-03-24 at 16:01 +0100, Edward Tomasz Napierała wrote: > > On 0324T1609, Alexander Motin wrote: > > > On 24.03.16 15:42, Edward Tomasz Napierała wrote: > > > > On 0324T1032, Jean-Sébastien Pédron wrote: > > > > > On 23/03/2016 18:45,

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

2016-03-24 Thread Ian Lepore
On Thu, 2016-03-24 at 16:01 +0100, Edward Tomasz Napierała wrote: > On 0324T1609, Alexander Motin wrote: > > On 24.03.16 15:42, Edward Tomasz Napierała wrote: > > > On 0324T1032, Jean-Sébastien Pédron wrote: > > > > On 23/03/2016 18:45, Edward Tomasz Napierala wrote: > > > > > > So maybe callouts a

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-24 Thread Bruce Evans
On Thu, 24 Mar 2016, Konstantin Belousov wrote: On Wed, Mar 23, 2016 at 02:21:59PM -0700, John Baldwin wrote: As you noted, the issue is if a timecounter needs locks (e.g. i8254) though outside of that I think the patch is great. :-/ Of course, if the TSC isn't advertised as invariant, DELAY()

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

2016-03-24 Thread Edward Tomasz Napierała
On 0324T1609, Alexander Motin wrote: > On 24.03.16 15:42, Edward Tomasz Napierała wrote: > > On 0324T1032, Jean-Sébastien Pédron wrote: > >> On 23/03/2016 18:45, Edward Tomasz Napierala wrote: > So maybe callouts are disabled in this situation. If there is a way to > detect that, then vt(

svn commit: r297237 - in head/sys/cam: ata scsi

2016-03-24 Thread Sean Bruno
Author: sbruno Date: Thu Mar 24 14:20:33 2016 New Revision: 297237 URL: https://svnweb.freebsd.org/changeset/base/297237 Log: Add 4k enabled cam quirks for Samsung SM863 Series SSDs Submitted by: Jason (j...@nitrology.com) MFC after:2 weeks Sponsored by: Limelight Networks Differe

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

2016-03-24 Thread Alexander Motin
On 24.03.16 15:42, Edward Tomasz Napierała wrote: > On 0324T1032, Jean-Sébastien Pédron wrote: >> On 23/03/2016 18:45, Edward Tomasz Napierala wrote: So maybe callouts are disabled in this situation. If there is a way to detect that, then vt(4) can go back to a "synchronous mode" where it

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

2016-03-24 Thread Edward Tomasz Napierała
On 0324T1032, Jean-Sébastien Pédron wrote: > On 23/03/2016 18:45, Edward Tomasz Napierala wrote: > >> So maybe callouts are disabled in this situation. If there is a way to > >> detect that, then vt(4) can go back to a "synchronous mode" where it > >> refreshes the screen after each typed character

svn commit: r297236 - head/sys/fs/autofs

2016-03-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 24 13:34:39 2016 New Revision: 297236 URL: https://svnweb.freebsd.org/changeset/base/297236 Log: Speed up lookups in autofs(5) by using red-black trees instead of linear searches. Reviewed by: kib@ MFC after:1 month Sponsored by: The FreeBSD Foundation

Re: svn commit: r297234 - in head/sys: net netinet

2016-03-24 Thread George Neville-Neil
Thanks, George On 24 Mar 2016, at 20:40, Bjoern A. Zeeb wrote: Author: bz Date: Thu Mar 24 11:40:10 2016 New Revision: 297234 URL: https://svnweb.freebsd.org/changeset/base/297234 Log: Fix compile errors after r297225: - properly V_irtualise variable access unbreaking VIMAGE kernels. -

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

2016-03-24 Thread Wojciech Macek
Author: wma Date: Thu Mar 24 13:28:33 2016 New Revision: 297235 URL: https://svnweb.freebsd.org/changeset/base/297235 Log: arm64: Fixing user space boudary checking in copyinout.S Big buffer size could cause integer overflow and as a result attempt to copy beyond VM_USERMAX_ADDRESS.

svn commit: r297234 - in head/sys: net netinet

2016-03-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu Mar 24 11:40:10 2016 New Revision: 297234 URL: https://svnweb.freebsd.org/changeset/base/297234 Log: Fix compile errors after r297225: - properly V_irtualise variable access unbreaking VIMAGE kernels. - remove the volatile from the function return type to make archite

Re: svn commit: r297225 - in head/sys: net netinet netinet6

2016-03-24 Thread Bjoern A. Zeeb
On Thu, 24 Mar 2016, George V. Neville-Neil wrote: Author: gnn Date: Thu Mar 24 07:54:56 2016 New Revision: 297225 URL: https://svnweb.freebsd.org/changeset/base/297225 Log: FreeBSD previously provided route caching for TCP (and UDP). Re-add route caching for TCP, with some improvements. In p

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

2016-03-24 Thread Alexander Motin
Author: mav Date: Thu Mar 24 10:10:41 2016 New Revision: 297232 URL: https://svnweb.freebsd.org/changeset/base/297232 Log: Unify ignoring EEXIST from zvol_create_minor(). This fixes creation of zvol devices for snapshots during zfs receive, that previously failed with "ZFS WARNING: Unable

svn commit: r297231 - in head/sys/dev/drm2: i915 ttm

2016-03-24 Thread Konstantin Belousov
Author: kib Date: Thu Mar 24 09:56:53 2016 New Revision: 297231 URL: https://svnweb.freebsd.org/changeset/base/297231 Log: Handle the driver KPI change from r292373. Ensure that managed device pagers fault routines always return with a result page, be it the proper and valid result page, or

svn commit: r297230 - in head/sys: arm/arm arm/include kern sys

2016-03-24 Thread Svatopluk Kraus
Author: skra Date: Thu Mar 24 09:55:11 2016 New Revision: 297230 URL: https://svnweb.freebsd.org/changeset/base/297230 Log: Generalize IPI support for ARM intrng and use it for interrupt controller IPI provider. New struct intr_ipi is defined which keeps all info about an IPI: its name,

svn commit: r297229 - head/sys/dev/usb/controller

2016-03-24 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 24 09:35:29 2016 New Revision: 297229 URL: https://svnweb.freebsd.org/changeset/base/297229 Log: Add more UHCI PCI IDs. Submitted by: Dmitry Luhtionov Modified: head/sys/dev/usb/controller/uhci_pci.c Modified: head/sys/dev/usb/controller/uhci_pci.c ==

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

2016-03-24 Thread Jean-Sébastien Pédron
On 23/03/2016 18:45, Edward Tomasz Napierala wrote: >> So maybe callouts are disabled in this situation. If there is a way to >> detect that, then vt(4) can go back to a "synchronous mode" where it >> refreshes the screen after each typed character, like it does when ddb >> is active. > > Looks li

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-24 Thread Konstantin Belousov
On Wed, Mar 23, 2016 at 02:21:59PM -0700, John Baldwin wrote: > As you noted, the issue is if a timecounter needs locks (e.g. i8254) though > outside of that I think the patch is great. :-/ Of course, if the TSC > isn't advertised as invariant, DELAY() is talking to the timecounter > directly as w

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

2016-03-24 Thread George V. Neville-Neil
Author: gnn Date: Thu Mar 24 08:26:06 2016 New Revision: 297227 URL: https://svnweb.freebsd.org/changeset/base/297227 Log: Move mbuf provider under SDT to indicate that it is FreeBSD specific and not a stable interface. Reviewed by: markj MFC after:2 weeks Sponsored by: Rubicon C

svn commit: r297226 - head/libexec/dma/dmagent

2016-03-24 Thread Baptiste Daroussin
Author: bapt Date: Thu Mar 24 08:25:05 2016 New Revision: 297226 URL: https://svnweb.freebsd.org/changeset/base/297226 Log: Install a usable mailer.conf for dragonfly mailer agent if sendmail is disabled Modified: head/libexec/dma/dmagent/Makefile Modified: head/libexec/dma/dmagent/Makefile

svn commit: r297225 - in head/sys: net netinet netinet6

2016-03-24 Thread George V. Neville-Neil
Author: gnn Date: Thu Mar 24 07:54:56 2016 New Revision: 297225 URL: https://svnweb.freebsd.org/changeset/base/297225 Log: FreeBSD previously provided route caching for TCP (and UDP). Re-add route caching for TCP, with some improvements. In particular, invalidate the route cache if a new rou