svn commit: r270993 - head/sys/kern

2014-09-03 Thread Mateusz Guzik
Author: mjg Date: Wed Sep 3 06:25:34 2014 New Revision: 270993 URL: http://svnweb.freebsd.org/changeset/base/270993 Log: Fix up proc_realparent to always return correct process. Prior to the change it would always return initproc for non-traced processes. This fixes ps apparently

svn commit: r270994 - head/sys/sys

2014-09-03 Thread Ed Schouten
Author: ed Date: Wed Sep 3 06:34:16 2014 New Revision: 270994 URL: http://svnweb.freebsd.org/changeset/base/270994 Log: Partially revert r270964. Don't test for C++11 to define _Thread_local. In addition to Clang 3.3, it turns out that GCC 4.7 in Ports also does not support the

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

2014-09-03 Thread Ed Schouten
On 3 September 2014 07:44, Antoine Brodin anto...@freebsd.org wrote: This change may break the lang/gcc port on head: http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p367138_s270990/logs/errors/gcc-4.7.4.log Good catch! Fixed in r270994. -- Ed Schouten e...@80386.nl

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

2014-09-03 Thread Konstantin Belousov
On Wed, Sep 03, 2014 at 06:25:35AM +, Mateusz Guzik wrote: Author: mjg Date: Wed Sep 3 06:25:34 2014 New Revision: 270993 URL: http://svnweb.freebsd.org/changeset/base/270993 Log: Fix up proc_realparent to always return correct process. Prior to the change it would always

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-09-03 Thread Steven Hartland
- Original Message - From: Andriy Gapon a...@freebsd.org on 02/09/2014 20:43 Steven Hartland said the following: - Original Message - From: Andriy Gapon a...@freebsd.org And the newly added kmem_foo() functions probably do not belong in cddl/compat/opensolaris as Solaris /

svn commit: r271012 - in head: include sys/sys

2014-09-03 Thread Ed Schouten
Author: ed Date: Wed Sep 3 09:35:38 2014 New Revision: 271012 URL: http://svnweb.freebsd.org/changeset/base/271012 Log: Leave the C11 keywords alone when we have a recent version of GCC. As GCC also gained support for the C11 keywords over time, we can patch up sys/cdefs.h to not define

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

2014-09-03 Thread Gleb Smirnoff
Mateusz, Kostik, On Wed, Sep 03, 2014 at 10:55:23AM +0200, Mateusz Guzik wrote: M Modified: head/sys/kern/kern_proc.c M == M --- head/sys/kern/kern_proc.c Wed Sep 3 08:13:46 2014 (r270998) M +++

svn commit: r271013 - head/sys/dev/drm

2014-09-03 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 3 09:58:59 2014 New Revision: 271013 URL: http://svnweb.freebsd.org/changeset/base/271013 Log: Remove always false comparison. Sponsored by: Nginx, Inc. Modified: head/sys/dev/drm/drm_sysctl.c Modified: head/sys/dev/drm/drm_sysctl.c

svn commit: r271014 - head/sbin/ifconfig

2014-09-03 Thread Alexander V. Chernikov
Author: melifaro Date: Wed Sep 3 11:07:49 2014 New Revision: 271014 URL: http://svnweb.freebsd.org/changeset/base/271014 Log: * Unconditionally turn on SIOCGI2C probing for all interfaces on ifconfig -v. I've seen no measurable timing difference for doing additional SIOCGI2C call

svn commit: r271017 - in head/sys/dev/usb: . quirk

2014-09-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 3 11:46:43 2014 New Revision: 271017 URL: http://svnweb.freebsd.org/changeset/base/271017 Log: Add new quirk. PR: 193279 MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs Modified:

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-09-03 Thread Andriy Gapon
on 03/09/2014 11:09 Steven Hartland said the following: I'm looking to MFC this change so wanted to check if anyone had an final feedback / objections? I think that your changes went in a bit prematurely (little review), so perhaps MFC would be premature as well. I know we currently have

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-09-03 Thread Steven Hartland
- Original Message - From: Andriy Gapon a...@freebsd.org on 03/09/2014 11:09 Steven Hartland said the following: I'm looking to MFC this change so wanted to check if anyone had an final feedback / objections? I think that your changes went in a bit prematurely (little review), so

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

2014-09-03 Thread Mateusz Guzik
On Wed, Sep 03, 2014 at 10:16:29AM +0300, Konstantin Belousov wrote: On Wed, Sep 03, 2014 at 06:25:35AM +, Mateusz Guzik wrote: Author: mjg Date: Wed Sep 3 06:25:34 2014 New Revision: 270993 URL: http://svnweb.freebsd.org/changeset/base/270993 Log: Fix up proc_realparent to

svn commit: r271018 - head/sys/dev/usb/quirk

2014-09-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 3 13:15:16 2014 New Revision: 271018 URL: http://svnweb.freebsd.org/changeset/base/271018 Log: Fix spelling. PR: 193279 MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c Modified: head/sys/dev/usb/quirk/usb_quirk.c

svn commit: r271025 - head/contrib/llvm/lib/Target/ARM

2014-09-03 Thread Sean Bruno
Author: sbruno Date: Wed Sep 3 14:16:50 2014 New Revision: 271025 URL: http://svnweb.freebsd.org/changeset/base/271025 Log: MFV: Only emit movw on ARMv6T2 Building for the FreeBSD default target ARMv6 was emitting movw ASM on certain test cases (found building qmake4/5 for ARM). Don't

svn commit: r271026 - head/lib/libnv

2014-09-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 3 14:44:23 2014 New Revision: 271026 URL: http://svnweb.freebsd.org/changeset/base/271026 Log: Fix descriptors leak in case of nvlist_xunpack() failure. Submitted by: Mariusz Zaborski osho...@freebsd.org Modified: head/lib/libnv/nvlist.c Modified:

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-09-03 Thread Andriy Gapon
on 03/09/2014 15:17 Steven Hartland said the following: - Original Message - From: Andriy Gapon a...@freebsd.org on 03/09/2014 11:09 Steven Hartland said the following: I'm looking to MFC this change so wanted to check if anyone had an final feedback / objections? I think that your

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

2014-09-03 Thread Bryan Drewery
On 9/3/2014 3:18 AM, Konstantin Belousov wrote: Author: kib Date: Wed Sep 3 08:18:07 2014 New Revision: 271000 URL: http://svnweb.freebsd.org/changeset/base/271000 Log: Right now, thread_single(SINGLE_EXIT) returns after the p_numthreads reaches 1. The p_numthreads counter is

svn commit: r271028 - head/lib/libnv

2014-09-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 3 15:08:33 2014 New Revision: 271028 URL: http://svnweb.freebsd.org/changeset/base/271028 Log: Use better type for i. Modified: head/lib/libnv/nvlist.c Modified: head/lib/libnv/nvlist.c ==

svn commit: r271027 - head/lib/libnv

2014-09-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 3 15:06:47 2014 New Revision: 271027 URL: http://svnweb.freebsd.org/changeset/base/271027 Log: Declare i. Reported by: sbruno Modified: head/lib/libnv/nvlist.c Modified: head/lib/libnv/nvlist.c

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-09-03 Thread Nikolai Lifanov
On 09/03/14 04:09, Steven Hartland wrote: I'm looking to MFC this change so wanted to check if anyone had an final feedback / objections? I know we currently have Alan's feedback on changing the #ifdef __i386__ to #ifndef UMA_MD_SMALL_ALLOC which sounds sensible but waiting Peter to comment

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-09-03 Thread Andriy Gapon
on 03/09/2014 17:58 Andriy Gapon said the following: on 03/09/2014 15:17 Steven Hartland said the following: - Original Message - From: Andriy Gapon a...@freebsd.org on 03/09/2014 11:09 Steven Hartland said the following: I'm looking to MFC this change so wanted to check if anyone

svn commit: r271029 - in head/contrib/llvm: lib/Target/ARM patches

2014-09-03 Thread Sean Bruno
Author: sbruno Date: Wed Sep 3 15:32:38 2014 New Revision: 271029 URL: http://svnweb.freebsd.org/changeset/base/271029 Log: Do not direct commit to contrib/llvm. Make the change a patch file instead. Reverts 271025 but still functionally patches it. Original intent is still the same.

svn commit: r271030 - head/contrib/llvm/lib/Target/ARM

2014-09-03 Thread Sean Bruno
Author: sbruno Date: Wed Sep 3 15:48:07 2014 New Revision: 271030 URL: http://svnweb.freebsd.org/changeset/base/271030 Log: Apparently, the patch commited in svn r271029 doesn't actually do anyting, so we still need to modify the code in place. Pointed out by emaste. MFC after:2

Re: svn commit: r269814 - head/sys/dev/xen/blkfront

2014-09-03 Thread Roger Pau Monné
El 02/09/14 a les 19.18, John-Mark Gurney ha escrit: Roger Pau Monn wrote this message on Tue, Sep 02, 2014 at 11:30 +0200: El 29/08/14 a les 19.52, Roger Pau Monné ha escrit: El 28/08/14 a les 20.58, Alexander Motin ha escrit: On 28.08.2014 21:45, John-Mark Gurney wrote: Alexander Motin

Re: svn commit: r269814 - head/sys/dev/xen/blkfront

2014-09-03 Thread Alexander Motin
On 03.09.2014 18:48, Roger Pau Monné wrote: El 02/09/14 a les 19.18, John-Mark Gurney ha escrit: Roger Pau Monn wrote this message on Tue, Sep 02, 2014 at 11:30 +0200: El 29/08/14 a les 19.52, Roger Pau Monné ha escrit: El 28/08/14 a les 20.58, Alexander Motin ha escrit: On 28.08.2014 21:45,

Re: svn commit: r269814 - head/sys/dev/xen/blkfront

2014-09-03 Thread Ian Lepore
On Wed, 2014-09-03 at 19:03 +0300, Alexander Motin wrote: On 03.09.2014 18:48, Roger Pau Monné wrote: El 02/09/14 a les 19.18, John-Mark Gurney ha escrit: Roger Pau Monn wrote this message on Tue, Sep 02, 2014 at 11:30 +0200: El 29/08/14 a les 19.52, Roger Pau Monné ha escrit: El 28/08/14

svn commit: r271043 - head/share/man/man5

2014-09-03 Thread Glen Barber
Author: gjb Date: Wed Sep 3 17:15:12 2014 New Revision: 271043 URL: http://svnweb.freebsd.org/changeset/base/271043 Log: Update the autofs(5) manual to reflect it first appeared in FreeBSD 10.1-RELEASE. Submitted by: dhw MFC after:3 days Sponsored by: The FreeBSD Foundation

svn commit: r271044 - head/tools/tools/tscdrift

2014-09-03 Thread John Baldwin
Author: jhb Date: Wed Sep 3 17:26:46 2014 New Revision: 271044 URL: http://svnweb.freebsd.org/changeset/base/271044 Log: Import a hackish tool I use to examine the skew of the TSC across CPUs in a system. The tool queries the kernel for its set of CPUs and compares TSC values on each of

svn commit: r271045 - head/sys/conf

2014-09-03 Thread Ian Lepore
Author: ian Date: Wed Sep 3 17:32:17 2014 New Revision: 271045 URL: http://svnweb.freebsd.org/changeset/base/271045 Log: Use sh -c '...' to launch the dtb build scripts with env stuff prepended, otherwise it tries to treat the env var stuff as a script file name. Modified:

svn commit: r271046 - in head/sys: arm/conf arm/xilinx dev/cadence

2014-09-03 Thread Ian Lepore
Author: ian Date: Wed Sep 3 17:51:03 2014 New Revision: 271046 URL: http://svnweb.freebsd.org/changeset/base/271046 Log: Fixes and enhancements for the if_cgem driver... - miibus fixes as suggested by Yonghyeon Pyun. - enable VLAN MTU support. - fix a few WITNESS complaints in

svn commit: r271047 - head/share/zoneinfo

2014-09-03 Thread Ed Maste
Author: emaste Date: Wed Sep 3 18:51:33 2014 New Revision: 271047 URL: http://svnweb.freebsd.org/changeset/base/271047 Log: Avoid ./ in zoneinfo entries in METALOG Use of find . resulted in METALOG entries with an extra ./ -- e.g., ./usr/share/zoneinfo/./America/Toronto. Avoid this by

svn commit: r271048 - head/lib/libc/gen

2014-09-03 Thread John Baldwin
Author: jhb Date: Wed Sep 3 19:01:34 2014 New Revision: 271048 URL: http://svnweb.freebsd.org/changeset/base/271048 Log: Always seek back to the beginning of a regular directory, even if the previous seek location was 0. Without this, readdir() would see dd_loc of zero and call

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

2014-09-03 Thread David E. O'Brien
Author: obrien Date: Wed Sep 3 19:06:08 2014 New Revision: 271049 URL: http://svnweb.freebsd.org/changeset/base/271049 Log: Note that script(1) consumes filemon(4). Modified: head/share/man/man4/filemon.4 Modified: head/share/man/man4/filemon.4

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

2014-09-03 Thread John-Mark Gurney
Gleb Smirnoff wrote this message on Wed, Sep 03, 2014 at 13:49 +0400: Mateusz, Kostik, On Wed, Sep 03, 2014 at 10:55:23AM +0200, Mateusz Guzik wrote: M Modified: head/sys/kern/kern_proc.c M == M ---

svn commit: r271050 - head/sys/arm/conf

2014-09-03 Thread Ian Lepore
Author: ian Date: Wed Sep 3 19:37:41 2014 New Revision: 271050 URL: http://svnweb.freebsd.org/changeset/base/271050 Log: Remove DIAGNOSTIC from the kernel config of low-end arm systems. Sanity checks such as vmem_check() can make a low-end system go completely unresponsive for as much as

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-09-03 Thread John Baldwin
On Wednesday, September 03, 2014 11:05:04 AM Nikolai Lifanov wrote: On 09/03/14 04:09, Steven Hartland wrote: I'm looking to MFC this change so wanted to check if anyone had an final feedback / objections? I know we currently have Alan's feedback on changing the #ifdef __i386__ to

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-09-03 Thread Nikolai Lifanov
On 09/03/14 15:22, John Baldwin wrote: On Wednesday, September 03, 2014 11:05:04 AM Nikolai Lifanov wrote: On 09/03/14 04:09, Steven Hartland wrote: I'm looking to MFC this change so wanted to check if anyone had an final feedback / objections? I know we currently have Alan's feedback on

svn commit: r271053 - head/sys/i386/i386

2014-09-03 Thread John Baldwin
Author: jhb Date: Wed Sep 3 21:17:09 2014 New Revision: 271053 URL: http://svnweb.freebsd.org/changeset/base/271053 Log: Actually save and restore FPU state on APs during suspend and resume. Committed from: Atom-based HP netbook after resuming in X Modified:

svn commit: r271054 - head/sys/boot/common

2014-09-03 Thread Ian Lepore
Author: ian Date: Wed Sep 3 21:25:36 2014 New Revision: 271054 URL: http://svnweb.freebsd.org/changeset/base/271054 Log: When built with FDT support, add /boot/dtb to the list of search directories. Modified: head/sys/boot/common/module.c Modified: head/sys/boot/common/module.c

svn commit: r271055 - head/sys/arm/freescale/imx

2014-09-03 Thread Ian Lepore
Author: ian Date: Wed Sep 3 21:45:39 2014 New Revision: 271055 URL: http://svnweb.freebsd.org/changeset/base/271055 Log: Add a function to get the frequency of the AHB bus. Another stopgap function until we have full clock support for imx6. Modified:

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-09-03 Thread Andriy Gapon
on 03/09/2014 23:22 Nikolai Lifanov said the following: On 09/03/14 15:22, John Baldwin wrote: On Wednesday, September 03, 2014 11:05:04 AM Nikolai Lifanov wrote: On 09/03/14 04:09, Steven Hartland wrote: I'm looking to MFC this change so wanted to check if anyone had an final feedback /

svn commit: r271057 - in head: etc/mtree share/man/man7

2014-09-03 Thread Warner Losh
Author: imp Date: Wed Sep 3 21:59:07 2014 New Revision: 271057 URL: http://svnweb.freebsd.org/changeset/base/271057 Log: Create a /boot/dtb directory to house DTB blobs. The flattened device tree support includes a device tree source compiler dtc(8) which converts .dts files into .dtb

svn commit: r271070 - head/sys/kern

2014-09-03 Thread Benno Rice
Author: benno Date: Thu Sep 4 00:10:06 2014 New Revision: 271070 URL: http://svnweb.freebsd.org/changeset/base/271070 Log: Add KASSERTs to catch the case where a developer may have forgotten to set bo_bsize on a bufobj. This is a slight modification of the patch provided. PR:

svn commit: r271073 - head/sys/dev/mii

2014-09-03 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 4 01:04:37 2014 New Revision: 271073 URL: http://svnweb.freebsd.org/changeset/base/271073 Log: Do not blindly announce 1000baseT half-duplex capability in autonegotiation. Some controllers like cgem(4) do not support half-duplex at gigabit speeds. Modified:

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-09-03 Thread Steven Hartland
- Original Message - From: Andriy Gapon a...@freebsd.org on 03/09/2014 23:22 Nikolai Lifanov said the following: On 09/03/14 15:22, John Baldwin wrote: On Wednesday, September 03, 2014 11:05:04 AM Nikolai Lifanov wrote: On 09/03/14 04:09, Steven Hartland wrote: I'm looking to

svn commit: r271074 - head/sys/kern

2014-09-03 Thread Mateusz Guzik
Author: mjg Date: Thu Sep 4 01:21:33 2014 New Revision: 271074 URL: http://svnweb.freebsd.org/changeset/base/271074 Log: Plug a hypothetical use after free in sysctl kern.proc.groups. MFC after:1 week Modified: head/sys/kern/kern_proc.c Modified: head/sys/kern/kern_proc.c

svn commit: r271076 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include pc98/pc98

2014-09-03 Thread John Baldwin
Author: jhb Date: Thu Sep 4 01:46:06 2014 New Revision: 271076 URL: http://svnweb.freebsd.org/changeset/base/271076 Log: - Move prototypes for various functions into out of C files and into machine/md_var.h. - Move some CPU-related variables out of i386/i386/identcpu.c to initcpu.c

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

2014-09-03 Thread John Baldwin
Author: jhb Date: Thu Sep 4 01:56:15 2014 New Revision: 271077 URL: http://svnweb.freebsd.org/changeset/base/271077 Log: Remove trailing whitespace. Modified: head/sys/amd64/amd64/identcpu.c head/sys/i386/i386/identcpu.c Modified: head/sys/amd64/amd64/identcpu.c

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

2014-09-03 Thread Glen Barber
Author: gjb Date: Thu Sep 4 02:06:33 2014 New Revision: 271078 URL: http://svnweb.freebsd.org/changeset/base/271078 Log: Fix typo: s/_maske/_mask/ MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/etc/rc.d/jail Modified: head/etc/rc.d/jail

svn commit: r271082 - in head/sys: i386/i386 x86/x86

2014-09-03 Thread John Baldwin
Author: jhb Date: Thu Sep 4 02:25:59 2014 New Revision: 271082 URL: http://svnweb.freebsd.org/changeset/base/271082 Log: - Move blacklists of broken TSCs out of the printcpuinfo() function and into the TSC probe routine. - Initialize cpu_exthigh once in finishidentcpu() which is called

svn commit: r271083 - head/sys/i386/i386

2014-09-03 Thread John Baldwin
Author: jhb Date: Thu Sep 4 02:28:17 2014 New Revision: 271083 URL: http://svnweb.freebsd.org/changeset/base/271083 Log: Remove a stray blank line from the Intel cache and TLB info. Modified: head/sys/i386/i386/identcpu.c Modified: head/sys/i386/i386/identcpu.c

Re: svn commit: r271076 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include pc98/pc98

2014-09-03 Thread Don Lewis
On 4 Sep, John Baldwin wrote: Author: jhb Date: Thu Sep 4 01:46:06 2014 New Revision: 271076 URL: http://svnweb.freebsd.org/changeset/base/271076 Log: - Move the declaration of has_f00f_hack out of identcpu.c to machdep.c. That certainly brings back memories ...

svn commit: r271084 - head/sys/arm/freescale/imx

2014-09-03 Thread Ian Lepore
Author: ian Date: Thu Sep 4 03:04:37 2014 New Revision: 271084 URL: http://svnweb.freebsd.org/changeset/base/271084 Log: The imx5x and imx6 chips have an onboard IOMUX device which also contains a few general purpose registers whose values control chip behavior in ways that have nothing to

svn commit: r271085 - head/lib/libgeom

2014-09-03 Thread Benno Rice
Author: benno Date: Thu Sep 4 03:31:48 2014 New Revision: 271085 URL: http://svnweb.freebsd.org/changeset/base/271085 Log: Systems with lots of geom providers can end up with a kern.geom.confxml value too large for the buffer allocated. Work around this by retrying a few times with larger