svn commit: r254030 - stable/9/tools/regression/aio/aiotest

2013-08-06 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 06:39:19 2013 New Revision: 254030 URL: http://svnweb.freebsd.org/changeset/base/254030 Log: MFC r253526: Fix several warnings. Fix crash in aio_pty_cleanup() by initializing the pointer before dereferencing. Modified: stable/9/tools/regression/aio/aiotest/a

svn commit: r254029 - stable/9/sys/compat/freebsd32

2013-08-06 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 06:36:48 2013 New Revision: 254029 URL: http://svnweb.freebsd.org/changeset/base/254029 Log: MFC r253525: Use the same union name on the left and right sides of the conversion. Modified: stable/9/sys/compat/freebsd32/freebsd32_misc.c Directory Properties: stab

svn commit: r254028 - stable/9/sys/i386/i386

2013-08-06 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 06:34:01 2013 New Revision: 254028 URL: http://svnweb.freebsd.org/changeset/base/254028 Log: MFC r253328: Create a proper stack frame for i386 version of bcopy(). Modified: stable/9/sys/i386/i386/support.s Directory Properties: stable/9/sys/ (props changed)

svn commit: r254027 - stable/8/sys/i386/i386

2013-08-06 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 06:32:13 2013 New Revision: 254027 URL: http://svnweb.freebsd.org/changeset/base/254027 Log: MFC r253328: Create a proper stack frame for i386 version of bcopy(). Modified: stable/8/sys/i386/i386/support.s Directory Properties: stable/8/sys/ (props changed)

svn commit: r254026 - stable/8/sys/kern

2013-08-06 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 06:23:28 2013 New Revision: 254026 URL: http://svnweb.freebsd.org/changeset/base/254026 Log: MFC r253417: Clear the vnode knotes before destroying vpollinfo. MFC r253737: Split the destruction into the helper destroy_vpollinfo_free(), and call it when race

svn commit: r254025 - in head/sys: amd64/amd64 arm/arm arm/at91 arm/mv/armadaxp arm/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 cddl/compat/opensolaris/kern cddl/compat/opensolari...

2013-08-06 Thread Jeff Roberson
Author: jeff Date: Wed Aug 7 06:21:20 2013 New Revision: 254025 URL: http://svnweb.freebsd.org/changeset/base/254025 Log: Replace kernel virtual address space allocation with vmem. This provides transparent layering and better fragmentation. - Normalize functions that allocate memory t

svn commit: r254024 - stable/9/sys/kern

2013-08-06 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 06:05:57 2013 New Revision: 254024 URL: http://svnweb.freebsd.org/changeset/base/254024 Log: MFC r253417: Clear the vnode knotes before destroying vpollinfo. MFC r253737: Split the destruction into the helper destroy_vpollinfo_free(), and call it when race

svn commit: r254023 - stable/9/sys/dev/drm2/i915

2013-08-06 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 05:55:02 2013 New Revision: 254023 URL: http://svnweb.freebsd.org/changeset/base/254023 Log: MFC r253709: The pmap_qenter() and pmap_qremove() perform TLB invalidation on its own, no need to call pmap_invalidate_range() one more time. Modified: stable/9/sys/de

svn commit: r254022 - stable/9/sys/dev/drm2/i915

2013-08-06 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 05:52:11 2013 New Revision: 254022 URL: http://svnweb.freebsd.org/changeset/base/254022 Log: MFC r253497: Use the right name for the vm_map_find(9) flag to specify shared mapping. Modified: stable/9/sys/dev/drm2/i915/i915_gem.c Directory Properties: stable/9/s

Re: svn commit: r253995 - in head/usr.sbin: rtadvd rtsold

2013-08-06 Thread Bruce Evans
On Wed, 7 Aug 2013, Hiroki Sato wrote: Ian Lepore wrote in <1375807689.3320.48.ca...@revolution.hippie.lan>: ia> On Tue, 2013-08-06 at 15:49 +, Hiroki Sato wrote: ia> > /* Generate maximum time in timespec. */ ia> > - memset(&tm_max.tv_sec, 0xff, sizeof(tm_max.tv_sec)); ia> > - me

svn commit: r254021 - head/contrib/wpa/src/drivers

2013-08-06 Thread Rui Paulo
Author: rpaulo Date: Wed Aug 7 04:03:30 2013 New Revision: 254021 URL: http://svnweb.freebsd.org/changeset/base/254021 Log: Make sure IFM_AVALID is also set when checking ifm_status. Submitted by: yongari Modified: head/contrib/wpa/src/drivers/driver_wired.c Modified: head/contrib/wpa/

svn commit: r254020 - head/sys/net

2013-08-06 Thread Mark Johnston
Author: markj Date: Wed Aug 7 01:32:08 2013 New Revision: 254020 URL: http://svnweb.freebsd.org/changeset/base/254020 Log: Add a missing module version declaration to if_tun(4). PR: 181078 Submitted by: Brandon Gooch MFC after:1 week Modified: head/sys/net/if_tun.c M

svn commit: r254019 - head/contrib/wpa/src/drivers

2013-08-06 Thread Rui Paulo
Author: rpaulo Date: Wed Aug 7 01:01:58 2013 New Revision: 254019 URL: http://svnweb.freebsd.org/changeset/base/254019 Log: Fix a timing issue with the wired driver. After configuring the interface, wait for the link to become active. Many ethernet drivers reset the chip when we set mult

svn commit: r254018 - head/usr.bin/ldd

2013-08-06 Thread Mark Johnston
Author: markj Date: Wed Aug 7 00:28:17 2013 New Revision: 254018 URL: http://svnweb.freebsd.org/changeset/base/254018 Log: Pass variables prefixed with both LD_ and LD_32_ to the run-time linker. This prevents unintentional execution of programs when running ldd(1) on 32-bit Linux binaries.

svn commit: r254017 - head/sys/vm

2013-08-06 Thread Mark Johnston
Author: markj Date: Wed Aug 7 00:20:30 2013 New Revision: 254017 URL: http://svnweb.freebsd.org/changeset/base/254017 Log: Fill in the description fields for M_FICT_PAGES. Reviewed by: kib MFC after:3 days Modified: head/sys/vm/vm_phys.c Modified: head/sys/vm/vm_phys.c =

svn commit: r254015 - in head: sbin/fdisk_pc98 sys/boot/pc98/boot2 sys/boot/pc98/libpc98 sys/geom sys/geom/part sys/sys usr.sbin/boot98cfg

2013-08-06 Thread Marcel Moolenaar
Author: marcel Date: Wed Aug 7 00:00:48 2013 New Revision: 254015 URL: http://svnweb.freebsd.org/changeset/base/254015 Log: Change to not redefine the same symbols that are being defined in . Instead give the symbols here a "PC98_" prefix. This way, both and can be included in the same

svn commit: r254014 - head/sys/cddl/contrib/opensolaris

2013-08-06 Thread Xin LI
Author: delphij Date: Tue Aug 6 21:44:54 2013 New Revision: 254014 URL: http://svnweb.freebsd.org/changeset/base/254014 Log: MFV r254013 (dummy merge to note that the change is already merged): Illumos ZFS issues: 3973 zfs_ioc_rename alters passed in zc->zc_name Modified: Directory

svn commit: r254013 - vendor-sys/illumos/dist/uts/common/fs/zfs

2013-08-06 Thread Xin LI
Author: delphij Date: Tue Aug 6 21:41:16 2013 New Revision: 254013 URL: http://svnweb.freebsd.org/changeset/base/254013 Log: Update vendor-sys/illumos/dist to illumos-gate 14116:b0233279e3fc: Illumos ZFS issues: 3973 zfs_ioc_rename alters passed in zc->zc_name This change was comm

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

2013-08-06 Thread Xin LI
Author: delphij Date: Tue Aug 6 21:36:01 2013 New Revision: 254012 URL: http://svnweb.freebsd.org/changeset/base/254012 Log: MFV r254011: This change have no effect to FreeBSD but integrated for completeness. Illumos ZFS issues: 348 ZFS should handle DKIOCGMEDIAINFOEXT failure

svn commit: r254011 - vendor-sys/illumos/dist/uts/common/fs/zfs

2013-08-06 Thread Xin LI
Author: delphij Date: Tue Aug 6 21:31:37 2013 New Revision: 254011 URL: http://svnweb.freebsd.org/changeset/base/254011 Log: Update vendor-sys/illumos/dist to illumos-gate 14100:2c12d65cf215: Illumos ZFS issues: 348 ZFS should handle DKIOCGMEDIAINFOEXT failure (Note that this chan

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

2013-08-06 Thread Sean Bruno
Author: sbruno Date: Tue Aug 6 21:30:37 2013 New Revision: 254010 URL: http://svnweb.freebsd.org/changeset/base/254010 Log: Adjust make knobs to know that WITH_ICONV installs a /usr/bin/iconv Remove it if the knob isn't tweaked. Certain ports seem to think that if /usr/bin/iconv exists,

svn commit: r254009 - releng/9.2/sys/dev/e1000

2013-08-06 Thread Jack F Vogel
Author: jfv Date: Tue Aug 6 21:16:00 2013 New Revision: 254009 URL: http://svnweb.freebsd.org/changeset/base/254009 Log: When the igb driver is static there are cases when early interrupts occur, resulting in a panic in refresh_mbufs, to prevent this add a check to the interrupt handler for

svn commit: r254008 - in head/sys/dev: e1000 ixgbe

2013-08-06 Thread Jack F Vogel
Author: jfv Date: Tue Aug 6 21:01:38 2013 New Revision: 254008 URL: http://svnweb.freebsd.org/changeset/base/254008 Log: Make the various driver MSIX setup routines fallback to MSI more gracefully. This change was suggested by Marius Strobl, thank you. PR: kern/181016 MFC after: ASAP

svn commit: r254007 - in releng/9.2/sys/ofed: drivers/net/mlx4 include/linux

2013-08-06 Thread John Baldwin
Author: jhb Date: Tue Aug 6 20:04:44 2013 New Revision: 254007 URL: http://svnweb.freebsd.org/changeset/base/254007 Log: MFC 253048,253423,253449,253653,253774,253785: - Allow mlx4 devices to switch between Ethernet and Infiniband: - Fix sysfs attribute handling by using sysctl_handle_str

svn commit: r254006 - in stable/9/sys/ofed: drivers/net/mlx4 include/linux

2013-08-06 Thread John Baldwin
Author: jhb Date: Tue Aug 6 19:23:57 2013 New Revision: 254006 URL: http://svnweb.freebsd.org/changeset/base/254006 Log: MFC 253048,253423,253449,253653,253774,253785: - Allow mlx4 devices to switch between Ethernet and Infiniband: - Fix sysfs attribute handling by using sysctl_handle_str

svn commit: r254005 - head/sys/dev/aac

2013-08-06 Thread Marius Strobl
Author: marius Date: Tue Aug 6 19:14:02 2013 New Revision: 254005 URL: http://svnweb.freebsd.org/changeset/base/254005 Log: - Fix a bug in the MSI allocation logic so an MSI is also employed if a controller supports only a single message. I haven't seen such an adapter out in the wild,

svn commit: r254004 - head/sys/dev/aac

2013-08-06 Thread Marius Strobl
Author: marius Date: Tue Aug 6 18:55:59 2013 New Revision: 254004 URL: http://svnweb.freebsd.org/changeset/base/254004 Log: As it turns out, MSIs are broken with 2820SA so introduce an AAC_FLAGS_NOMSI quirk and apply it to these controllers [1]. The same problem was reported for 2230S, in w

Re: svn commit: r253802 - head/contrib/llvm/tools/clang/lib/Headers

2013-08-06 Thread John Baldwin
On Wednesday, July 31, 2013 8:21:42 am Dimitry Andric wrote: > On Jul 30, 2013, at 18:16, John Baldwin wrote: > > On Tuesday, July 30, 2013 10:09:35 am Matthew Fleming wrote: > >> On Tue, Jul 30, 2013 at 5:33 AM, Dimitry Andric wrote: > >> > >>> Author: dim > >>> Date: Tue Jul 30 12:33:21 2013 >

svn commit: r254003 - stable/9/sys/dev/e1000

2013-08-06 Thread Jack F Vogel
Author: jfv Date: Tue Aug 6 18:20:31 2013 New Revision: 254003 URL: http://svnweb.freebsd.org/changeset/base/254003 Log: When the igb driver is static there are cases when early interrupts occur, resulting in a panic in refresh_mbufs, to prevent this add a check in the interrupt handler for

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

2013-08-06 Thread Jack F Vogel
Author: jfv Date: Tue Aug 6 18:00:53 2013 New Revision: 254002 URL: http://svnweb.freebsd.org/changeset/base/254002 Log: When the igb driver is static there are cases when early interrupts occur, resulting in a panic in refresh_mbufs, to prevent this add a check in the interrupt handler for

Re: svn commit: r253995 - in head/usr.sbin: rtadvd rtsold

2013-08-06 Thread Hiroki Sato
Ian Lepore wrote in <1375807689.3320.48.ca...@revolution.hippie.lan>: ia> On Tue, 2013-08-06 at 15:49 +, Hiroki Sato wrote: ia> > /* Generate maximum time in timespec. */ ia> > - memset(&tm_max.tv_sec, 0xff, sizeof(tm_max.tv_sec)); ia> > - memset(&tm_max.tv_nsec, 0xff, sizeof(tm_max.tv_ns

svn commit: r254001 - releng/9.2/sys/dev/ixgbe

2013-08-06 Thread Jack F Vogel
Author: jfv Date: Tue Aug 6 17:22:06 2013 New Revision: 254001 URL: http://svnweb.freebsd.org/changeset/base/254001 Log: MFC r253865: Fixes to RX_COPY optimization code allowing the removal of rearm_queues routine used in the local_timer. r253965: Correct the queue mask bi

svn commit: r254000 - stable/9/sys/dev/ixgbe

2013-08-06 Thread Jack F Vogel
Author: jfv Date: Tue Aug 6 17:11:12 2013 New Revision: 254000 URL: http://svnweb.freebsd.org/changeset/base/254000 Log: MFC r253865: Fixes to RX_COPY optimization code allowing the removal of the rearm_queues routine used in local_timer. r253965: Correct the queue mask bi

svn commit: r253999 - in head: sys/netinet6 usr.sbin/ndp

2013-08-06 Thread Hiroki Sato
Author: hrs Date: Tue Aug 6 17:10:52 2013 New Revision: 253999 URL: http://svnweb.freebsd.org/changeset/base/253999 Log: Fix incompatibility in ICMPV6CTL_ND6_PRLIST sysctl, and SIOCGPRLST_IN6, SIOCGDRLST_IN6, and SIOCGNBRINFO_IN6 ioctl. These userland interfaces treat expiration times in t

svn commit: r253998 - head/sys/ufs/ufs

2013-08-06 Thread Kirk McKusick
Author: mckusick Date: Tue Aug 6 16:50:05 2013 New Revision: 253998 URL: http://svnweb.freebsd.org/changeset/base/253998 Log: This bug fix is in a code path in rename taken when there is a collision between a rename and an open system call for the same target file. Here, rename releases its

Re: svn commit: r253995 - in head/usr.sbin: rtadvd rtsold

2013-08-06 Thread Ian Lepore
On Tue, 2013-08-06 at 15:49 +, Hiroki Sato wrote: > Author: hrs > Date: Tue Aug 6 15:49:18 2013 > New Revision: 253995 > URL: http://svnweb.freebsd.org/changeset/base/253995 > > Log: > Fix build on arm and mips. > > Modified: > head/usr.sbin/rtadvd/timer.c > head/usr.sbin/rtsold/rtsold

svn commit: r253997 - head/sys/modules/cyclic

2013-08-06 Thread Andriy Gapon
Author: avg Date: Tue Aug 6 16:18:07 2013 New Revision: 253997 URL: http://svnweb.freebsd.org/changeset/base/253997 Log: fix fat-fingering in r253996 MFC after:17 days X-MFC with: r253996 Modified: head/sys/modules/cyclic/Makefile Modified: head/sys/modules/cyclic/Makefile

svn commit: r253996 - in head: . sys/cddl/compat/opensolaris/sys sys/cddl/dev/dtrace sys/conf sys/modules/cyclic sys/modules/dtrace/dtio sys/modules/dtrace/dtmalloc sys/modules/dtrace/dtnfscl sys/m...

2013-08-06 Thread Andriy Gapon
(r253995) +++ head/UPDATING Tue Aug 6 15:51:56 2013(r253996) @@ -32,6 +32,17 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 "ln -s 'abort:false,junk:false' /etc/malloc.conf".) 20130806: + INVARIANTS option now enables DEBUG for code with OpenSolaris

svn commit: r253995 - in head/usr.sbin: rtadvd rtsold

2013-08-06 Thread Hiroki Sato
Author: hrs Date: Tue Aug 6 15:49:18 2013 New Revision: 253995 URL: http://svnweb.freebsd.org/changeset/base/253995 Log: Fix build on arm and mips. Modified: head/usr.sbin/rtadvd/timer.c head/usr.sbin/rtsold/rtsold.c Modified: head/usr.sbin/rtadvd/timer.c =

svn commit: r253994 - in head/sys/sparc64: include sparc64

2013-08-06 Thread Marius Strobl
Author: marius Date: Tue Aug 6 15:34:11 2013 New Revision: 253994 URL: http://svnweb.freebsd.org/changeset/base/253994 Log: Add MD (for now) atomic_store_acq_() and use it in pmap_activate() to get the semantics when setting the PMAP right. Prior to r251782, the latter already used implicit

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

2013-08-06 Thread Alexander Motin
Author: mav Date: Tue Aug 6 14:41:41 2013 New Revision: 253993 URL: http://svnweb.freebsd.org/changeset/base/253993 Log: Block reporting of ZFS features for suspended pools. Before executing any subcommand, zpool tool fetches pools configuration from the kernel. Before features support

svn commit: r253992 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2013-08-06 Thread Alexander Motin
Author: mav Date: Tue Aug 6 14:30:28 2013 New Revision: 253992 URL: http://svnweb.freebsd.org/changeset/base/253992 Log: Disable r252840 when ZFS TRIM is enabled (vfs.zfs.trim.enabled=1) and really disable TRIM otherwise. r252840 (illumos bug 3836) is based on assumption that zio_free_sy

Re: svn commit: r253974 - head/sys/ufs/ffs

2013-08-06 Thread Mitya
Does it fix a problem on recent 9-STABLE that process writing to almost-full partition eats 100% CPU and writes 1MB/sec? It has SU enabled but no SU+J. I observed that today after upgrading to 9.2-BETA2 from ~1 year old 9-STABLE. Thanks. On 06.08.2013, at 2:02, Kirk McKusick wrote: > Author:

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

2013-08-06 Thread Alexander Motin
Author: mav Date: Tue Aug 6 14:23:33 2013 New Revision: 253991 URL: http://svnweb.freebsd.org/changeset/base/253991 Log: Make `zpool clear` to reopen also reconnected cache and spare devices. Since `zpool status` reports about such kinds of errors, it is strange that they are not cleared by

svn commit: r253990 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2013-08-06 Thread Alexander Motin
Author: mav Date: Tue Aug 6 14:20:41 2013 New Revision: 253990 URL: http://svnweb.freebsd.org/changeset/base/253990 Log: Make ZFS to use separate thread to handle SPA_ASYNC_REMOVE async events. Existing async thread is running only on successfull spa_sync() completion, that is impossible in

svn commit: r253989 - head/sys/modules/dtrace/dtrace

2013-08-06 Thread Andriy Gapon
Author: avg Date: Tue Aug 6 13:55:39 2013 New Revision: 253989 URL: http://svnweb.freebsd.org/changeset/base/253989 Log: dtrace: fix compilation with gcc Cowardly taking the easiest way and using -Wno-* MFC after:3 days X-MFC with: r253772 Modified: head/sys/modules/dtrace/

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

2013-08-06 Thread David Malone
Author: dwmalone Date: Tue Aug 6 11:00:56 2013 New Revision: 253988 URL: http://svnweb.freebsd.org/changeset/base/253988 Log: Make section headings for different quirk types consistent. Modified: head/share/man/man4/usb_quirk.4 Modified: head/share/man/man4/usb_quirk.4 =

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

2013-08-06 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 6 10:42:18 2013 New Revision: 253987 URL: http://svnweb.freebsd.org/changeset/base/253987 Log: Remove dead code. Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_frontend_internal.c Modified: head/sys/cam/ctl/ctl.c =

svn commit: r253986 - head/tools/tools/bootparttest

2013-08-06 Thread Andrey V. Elsukov
Author: ae Date: Tue Aug 6 10:35:05 2013 New Revision: 253986 URL: http://svnweb.freebsd.org/changeset/base/253986 Log: Fix formatting warning. MFC after:1 week Modified: head/tools/tools/bootparttest/bootparttest.c Modified: head/tools/tools/bootparttest/bootparttest.c ===

svn commit: r253985 - head/sys/arm/arm

2013-08-06 Thread Andrew Turner
Author: andrew Date: Tue Aug 6 10:03:44 2013 New Revision: 253985 URL: http://svnweb.freebsd.org/changeset/base/253985 Log: We no longer need to align the stack before calling swi_handler as it is already aligned correctly in the PUSHFRAME macro. Modified: head/sys/arm/arm/exception.S Mod