svn commit: r234673 - in stable/9/sys: amd64/amd64 i386/conf i386/i386 kern

2012-04-24 Thread Andriy Gapon
Author: avg Date: Wed Apr 25 06:52:26 2012 New Revision: 234673 URL: http://svn.freebsd.org/changeset/base/234673 Log: MFC r234208: add actual interrupt counters to back ipi_invlcache_counts Modified: stable/9/sys/amd64/amd64/mp_machdep.c stable/9/sys/i386/i386/mp_machdep.c Directory Proper

svn commit: r234672 - in stable/8/sys: amd64/include i386/conf i386/include

2012-04-24 Thread Andriy Gapon
Author: avg Date: Wed Apr 25 06:48:57 2012 New Revision: 234672 URL: http://svn.freebsd.org/changeset/base/234672 Log: MFC r234207: bump INTRCNT_COUNT values to reflect actual numbers of IPI counters Modified: stable/8/sys/amd64/include/intr_machdep.h stable/8/sys/i386/include/intr_machdep

svn commit: r234671 - in stable/9/sys: amd64/include i386/conf i386/include kern

2012-04-24 Thread Andriy Gapon
Author: avg Date: Wed Apr 25 06:43:40 2012 New Revision: 234671 URL: http://svn.freebsd.org/changeset/base/234671 Log: MFC r234207: bump INTRCNT_COUNT values to reflect actual numbers of IPI counters Modified: stable/9/sys/amd64/include/intr_machdep.h stable/9/sys/i386/include/intr_machdep

svn commit: r234670 - stable/8/sys/cam/ata

2012-04-24 Thread Alexander Motin
Author: mav Date: Wed Apr 25 06:22:22 2012 New Revision: 234670 URL: http://svn.freebsd.org/changeset/base/234670 Log: MFC r234414: Alike to SCSI make adaclose() to not return error if device gone. This fixes KASSERT panic inside GEOM if kernel built with INVARIANTS. Modified: stable/8/sy

svn commit: r234669 - stable/9/sys/cam/ata

2012-04-24 Thread Alexander Motin
Author: mav Date: Wed Apr 25 06:18:49 2012 New Revision: 234669 URL: http://svn.freebsd.org/changeset/base/234669 Log: MFC r234414: Alike to SCSI make adaclose() to not return error if device gone. This fixes KASSERT panic inside GEOM if kernel built with INVARIANTS. Modified: stable/9/sy

svn commit: r234668 - stable/8/usr.bin/top

2012-04-24 Thread Konstantin Belousov
Author: kib Date: Wed Apr 25 04:57:29 2012 New Revision: 234668 URL: http://svn.freebsd.org/changeset/base/234668 Log: MFC r234416: Fix string buffer overflow when preparing the line of output. PR: bin/161739 Modified: stable/8/usr.bin/top/machine.c Directory Properties: stable/8/u

svn commit: r234667 - stable/9/usr.bin/top

2012-04-24 Thread Konstantin Belousov
Author: kib Date: Wed Apr 25 04:53:04 2012 New Revision: 234667 URL: http://svn.freebsd.org/changeset/base/234667 Log: MFC r234416: Fix string buffer overflow when preparing the line of output. PR: bin/161739 Modified: stable/9/usr.bin/top/machine.c Directory Properties: stable/9/u

svn commit: r234666 - head/sys/dev/msk

2012-04-24 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 25 02:46:13 2012 New Revision: 234666 URL: http://svn.freebsd.org/changeset/base/234666 Log: For Yukon II controllers that implement optional temperature sensor and voltage sensor, TWSI is used to get sensor data. msk(4) does not monitor these sensors and inter

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

2012-04-24 Thread Ed Maste
Author: emaste Date: Wed Apr 25 02:05:14 2012 New Revision: 234665 URL: http://svn.freebsd.org/changeset/base/234665 Log: Fix cut-and-paste comment error Submitted by: sbruno Modified: head/sys/dev/e1000/if_igb.h Modified: head/sys/dev/e1000/if_igb.h

svn commit: r234664 - in head/sys/dev/ath: . ath_hal/ar5416

2012-04-24 Thread Adrian Chadd
Author: adrian Date: Wed Apr 25 01:42:22 2012 New Revision: 234664 URL: http://svn.freebsd.org/changeset/base/234664 Log: Add placeholder methods for WMI command access (USB, perhaps SDIO later) which will be needed for AR7010 and AR9287 USB access. The names differ slightly from Linux an

svn commit: r234663 - head/sys/dev/ath

2012-04-24 Thread Adrian Chadd
Author: adrian Date: Wed Apr 25 01:24:39 2012 New Revision: 234663 URL: http://svn.freebsd.org/changeset/base/234663 Log: Add a note that explains what the current state of the register byte order macros are. Modified: head/sys/dev/ath/ah_osdep.h Modified: head/sys/dev/ath/ah_osdep.h =

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

2012-04-24 Thread Peter Holm
Author: pho Date: Tue Apr 24 20:27:31 2012 New Revision: 234661 URL: http://svn.freebsd.org/changeset/base/234661 Log: MFC: r232702 Free up allocated memory used by posix_fadvise(2). Modified: stable/8/sys/kern/kern_descrip.c stable/8/sys/kern/vfs_syscalls.c Directory Properties: sta

svn commit: r234660 - in stable/9: . sys/kern sys/sys

2012-04-24 Thread Mikolaj Golub
Author: trociny Date: Tue Apr 24 19:08:40 2012 New Revision: 234660 URL: http://svn.freebsd.org/changeset/base/234660 Log: MFC r232317: Introduce VOP_UNP_BIND(), VOP_UNP_CONNECT(), and VOP_UNP_DETACH() operations for setting and accessing vnode's v_socket field. The operations are ne

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

2012-04-24 Thread Peter Holm
Author: pho Date: Tue Apr 24 19:00:42 2012 New Revision: 234659 URL: http://svn.freebsd.org/changeset/base/234659 Log: MFC: r232702 Free up allocated memory used by posix_fadvise(2). Modified: stable/9/sys/kern/kern_descrip.c stable/9/sys/kern/vfs_syscalls.c Directory Properties: sta

svn commit: r234658 - head/contrib/jemalloc/src

2012-04-24 Thread Dimitry Andric
Author: dim Date: Tue Apr 24 18:41:17 2012 New Revision: 234658 URL: http://svn.freebsd.org/changeset/base/234658 Log: Work around llvm PR 12623, which makes variables declared with .symver sometimes disappear from the resulting object file, if compiled with clang. In particular, this can l

svn commit: r234657 - in head/lib/libc: include stdio

2012-04-24 Thread Konstantin Belousov
Author: kib Date: Tue Apr 24 17:51:36 2012 New Revision: 234657 URL: http://svn.freebsd.org/changeset/base/234657 Log: Take the spinlock around clearing of the fp->_flags in fclose(3), which indicates the avaliability of FILE, to prevent possible reordering of the writes as seen by other CPU

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

2012-04-24 Thread Peter Holm
On Tue, Apr 24, 2012 at 07:50:12PM +0400, Dmitry Morozovsky wrote: > Dear Peter, > > On Thu, 8 Mar 2012, Peter Holm wrote: > > > Author: pho > > Date: Thu Mar 8 20:34:13 2012 > > New Revision: 232702 > > URL: http://svn.freebsd.org/changeset/base/232702 > > > > Log: > > Free up allocated memo

svn commit: r234656 - head/share/mk

2012-04-24 Thread Dimitry Andric
Author: dim Date: Tue Apr 24 17:00:30 2012 New Revision: 234656 URL: http://svn.freebsd.org/changeset/base/234656 Log: After r234596, temporarily disable building clang on 32-bit PowerPC, until we are able to fix the binutils bug that makes linking clang fail with "relocation truncated to fi

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

2012-04-24 Thread Dmitry Morozovsky
Dear Peter, On Thu, 8 Mar 2012, Peter Holm wrote: > Author: pho > Date: Thu Mar 8 20:34:13 2012 > New Revision: 232702 > URL: http://svn.freebsd.org/changeset/base/232702 > > Log: > Free up allocated memory used by posix_fadvise(2). Time to MFC this? We've found huge kernel memory leaks in

svn commit: r234655 - head/usr.sbin/usbdump

2012-04-24 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 24 14:06:07 2012 New Revision: 234655 URL: http://svn.freebsd.org/changeset/base/234655 Log: Add missing and probably also mandatory -h option. MFC after:1 week Modified: head/usr.sbin/usbdump/usbdump.8 head/usr.sbin/usbdump/usbdump.c Modified: head/

svn commit: r234654 - head/cddl/contrib/opensolaris/cmd/zfs

2012-04-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Apr 24 13:44:46 2012 New Revision: 234654 URL: http://svn.freebsd.org/changeset/base/234654 Log: Add -u option to 'zfs create' that prevents file system from being automatically mounted. This is similar to the 'zfs receive -u'. MFC after:1 week Modified: head/

svn commit: r234653 - head/sys/powerpc/include

2012-04-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Apr 24 13:37:43 2012 New Revision: 234653 URL: http://svn.freebsd.org/changeset/base/234653 Log: Switch the default I/O memory barrier to eieio, as it should be. This does not appear to cause any problems due to fixes elsewhere. MFC after:2 months Modifie

svn commit: r234652 - head/sys/powerpc/aim

2012-04-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Apr 24 13:36:41 2012 New Revision: 234652 URL: http://svn.freebsd.org/changeset/base/234652 Log: Revert r234581 for this file. The lockless SLB tree code does in fact need a heavyweight sync instead of a lightweight sync to function properly. Thanks to mdf for th

svn commit: r234646 - head/contrib/jemalloc/include/jemalloc

2012-04-24 Thread Jayachandran C.
Author: jchandra Date: Tue Apr 24 11:42:48 2012 New Revision: 234646 URL: http://svn.freebsd.org/changeset/base/234646 Log: jemalloc: pointer size definition for 64-bit mips platforms LG_SIZEOF_PTR has to be defined as 3 when jemalloc is compiled for 64 bit platforms. Reviewed by: j

svn commit: r234645 - stable/8/sys/netgraph

2012-04-24 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Apr 24 10:20:24 2012 New Revision: 234645 URL: http://svn.freebsd.org/changeset/base/234645 Log: MFC r226186 Free mbuf in case when protocol in unknown in ng_ipfw_rcvdata(). This change fixes (theoretically) possible mbuf leak introduced in r225586. Reorder co

svn commit: r234643 - head/sys/dev/re

2012-04-24 Thread Bjoern A. Zeeb
Author: bz Date: Tue Apr 24 08:30:55 2012 New Revision: 234643 URL: http://svn.freebsd.org/changeset/base/234643 Log: Do not toggle IFCAP_TSO4 if we would also do TSO6. Given the driver does not currently announce/support TSO6 that cannot happen. Clean it up anyway for consistency. Rev

svn commit: r234639 - stable/8/share/misc

2012-04-24 Thread Alexander Motin
Author: mav Date: Tue Apr 24 07:28:53 2012 New Revision: 234639 URL: http://svn.freebsd.org/changeset/base/234639 Log: MFC r234376: Add some more SCSI mode pages from SPC-4 spec. Modified: stable/8/share/misc/scsi_modes Directory Properties: stable/8/share/misc/ (props changed) Modifie

svn commit: r234638 - stable/9/share/misc

2012-04-24 Thread Alexander Motin
Author: mav Date: Tue Apr 24 07:27:56 2012 New Revision: 234638 URL: http://svn.freebsd.org/changeset/base/234638 Log: MFC r234376: Add some more SCSI mode pages from SPC-4 spec. Modified: stable/9/share/misc/scsi_modes Directory Properties: stable/9/share/misc/ (props changed) Modifie

svn commit: r234637 - in stable/8: sbin/ipfw sys/netinet sys/netinet/ipfw

2012-04-24 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Apr 24 07:01:34 2012 New Revision: 234637 URL: http://svn.freebsd.org/changeset/base/234637 Log: MFC r232865, r232868, r233478 - Add ipfw eXtended tables permitting radix to be used for any kind of keys. - Add support for IPv6 and interface extended tables - M