svn commit: r249292 - vendor/illumos/dist/lib/libdtrace/common

2013-04-09 Thread Martin Matuska
Author: mm Date: Tue Apr 9 06:33:03 2013 New Revision: 249292 URL: http://svnweb.freebsd.org/changeset/base/249292 Log: Add missing file dt_pq.h that should have been committed in r239385 Reported by: Pedro Giffuni p...@freebsd.org Added:

svn commit: r249293 - in head: contrib/mtree usr.sbin/nmtree

2013-04-09 Thread Ed Schouten
Author: ed Date: Tue Apr 9 06:50:11 2013 New Revision: 249293 URL: http://svnweb.freebsd.org/changeset/base/249293 Log: Import a new version of NetBSD's mtree. This version of mtree implements a new flag (-O) that can be used to restrict the tool to certain pathnames. Also, it fixes a

svn commit: r249294 - in head/sys: net netinet netinet6 netipsec

2013-04-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 9 07:11:22 2013 New Revision: 249294 URL: http://svnweb.freebsd.org/changeset/base/249294 Log: Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats. MFC after:1 week Modified: head/sys/net/if_bridge.c head/sys/netinet/ip6.h head/sys/netinet6/dest6.c

svn commit: r249302 - head/sys/netinet

2013-04-09 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 9 09:15:26 2013 New Revision: 249302 URL: http://svnweb.freebsd.org/changeset/base/249302 Log: Fix VIMAGE build. Modified: head/sys/netinet/tcp_input.c Modified: head/sys/netinet/tcp_input.c

svn commit: r249303 - head/sys/vm

2013-04-09 Thread Konstantin Belousov
Author: kib Date: Tue Apr 9 10:04:10 2013 New Revision: 249303 URL: http://svnweb.freebsd.org/changeset/base/249303 Log: Fix the assertions for the state of the object under the map entry with the MAP_ENTRY_VN_WRITECNT flag: - Move the assertion that verifies the state of the v_writecount

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

2013-04-09 Thread Konstantin Belousov
Author: kib Date: Tue Apr 9 12:01:54 2013 New Revision: 249304 URL: http://svnweb.freebsd.org/changeset/base/249304 Log: Fix build for AIM 64bit. Modified: head/sys/powerpc/include/counter.h Modified: head/sys/powerpc/include/counter.h

svn commit: r249306 - in vendor/ldns/dist: . ldns

2013-04-09 Thread Dag-Erling Smørgrav
Author: des Date: Tue Apr 9 13:08:33 2013 New Revision: 249306 URL: http://svnweb.freebsd.org/changeset/base/249306 Log: Pull in r3828 from upstream (remove dead code, fix prototypes) Modified: vendor/ldns/dist/README vendor/ldns/dist/README.svn vendor/ldns/dist/dnssec_sign.c

svn commit: r249307 - head/contrib/ldns

2013-04-09 Thread Dag-Erling Smørgrav
Author: des Date: Tue Apr 9 13:14:39 2013 New Revision: 249307 URL: http://svnweb.freebsd.org/changeset/base/249307 Log: Revert local changes and pull in r3828 from upstream. Modified: head/contrib/ldns/README head/contrib/ldns/README.svn head/contrib/ldns/dnssec_verify.c

svn commit: r249308 - in head/contrib/ldns: . ldns

2013-04-09 Thread Dag-Erling Smørgrav
Author: des Date: Tue Apr 9 13:16:11 2013 New Revision: 249308 URL: http://svnweb.freebsd.org/changeset/base/249308 Log: Last remaining prototype issue that still hasn't been fixed upstream. Modified: head/contrib/ldns/dnssec_sign.c head/contrib/ldns/ldns/dname.h Modified:

svn commit: r249309 - head/sys/vm

2013-04-09 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 9 15:15:52 2013 New Revision: 249309 URL: http://svnweb.freebsd.org/changeset/base/249309 Log: Since now we support 256 items per slab, we need more bits for us_freecount. This grows uma_slab_head on 32-bit arches, but growth isn't significant. Taking

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

2013-04-09 Thread Konstantin Belousov
On Mon, Apr 08, 2013 at 07:58:32PM +, Attilio Rao wrote: Author: attilio Date: Mon Apr 8 19:58:32 2013 New Revision: 249277 URL: http://svnweb.freebsd.org/changeset/base/249277 Log: Switch some low-hanging fruit to acquire read lock on vmobjects rather than write locks. Could

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

2013-04-09 Thread Attilio Rao
On Tue, Apr 9, 2013 at 5:32 PM, Konstantin Belousov kostik...@gmail.com wrote: On Mon, Apr 08, 2013 at 07:58:32PM +, Attilio Rao wrote: Author: attilio Date: Mon Apr 8 19:58:32 2013 New Revision: 249277 URL: http://svnweb.freebsd.org/changeset/base/249277 Log: Switch some

svn commit: r249310 - in stable/8/sys: kern sys

2013-04-09 Thread Steven Hartland
Author: smh Date: Tue Apr 9 15:35:26 2013 New Revision: 249310 URL: http://svnweb.freebsd.org/changeset/base/249310 Log: MFC r241556: Add a KPI to allow to reserve some amount of space in the numvnodes counter, without actually allocating the vnodes. For KBI stability, the

svn commit: r249311 - in head: include/protocols sys/sys

2013-04-09 Thread Ed Schouten
Author: ed Date: Tue Apr 9 16:16:34 2013 New Revision: 249311 URL: http://svnweb.freebsd.org/changeset/base/249311 Log: Add static/const keywords to the arrays. This theoretically allows a compiler to optimize (parts of) the array away if unused. While there, make the array size

svn commit: r249312 - head/sys/vm

2013-04-09 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 9 17:25:15 2013 New Revision: 249312 URL: http://svnweb.freebsd.org/changeset/base/249312 Log: Swap us_freecount and us_flags, achieving same structure size as before previous commit. Submitted by: alc Modified: head/sys/vm/uma_int.h Modified:

svn commit: r249313 - head/sys/vm

2013-04-09 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 9 17:43:48 2013 New Revision: 249313 URL: http://svnweb.freebsd.org/changeset/base/249313 Log: Convert UMA code to C99 uintXX_t types. Modified: head/sys/vm/uma.h head/sys/vm/uma_core.c head/sys/vm/uma_dbg.c head/sys/vm/uma_int.h Modified:

svn commit: r249314 - head/sys/i386/include

2013-04-09 Thread Konstantin Belousov
Author: kib Date: Tue Apr 9 17:55:39 2013 New Revision: 249314 URL: http://svnweb.freebsd.org/changeset/base/249314 Log: Pass the segmented address of the counter, based on %fs, i.e. offset from the pcpu[0] to the counter base, instead of the linear address. Modified:

svn commit: r249315 - head/sys/dev/pci

2013-04-09 Thread John Baldwin
Author: jhb Date: Tue Apr 9 19:36:34 2013 New Revision: 249315 URL: http://svnweb.freebsd.org/changeset/base/249315 Log: Proxy allocation requests for the PCI ROM BAR from child devices similar to how the VGA bus driver currently proxies allocation requests for other PCI BARs. MFC

Re: svn commit: r249265 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sys

2013-04-09 Thread John Baldwin
On Monday, April 08, 2013 3:44:36 pm Gleb Smirnoff wrote: On Mon, Apr 08, 2013 at 03:41:27PM -0400, John Baldwin wrote: J On Monday, April 08, 2013 3:19:10 pm Gleb Smirnoff wrote: J Author: glebius J Date: Mon Apr 8 19:19:10 2013 J New Revision: 249265 J URL:

Re: svn commit: r249265 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sys

2013-04-09 Thread Gleb Smirnoff
On Tue, Apr 09, 2013 at 03:20:25PM -0400, John Baldwin wrote: J J Log: J JMerge from projects/counters: J J J J Pad struct pcpu so that its size is denominator of PAGE_SIZE. This J Jis done to reduce memory waste in UMA_PCPU_ZONE zones. J J J JSponsored by:

svn commit: r249316 - head

2013-04-09 Thread Dimitry Andric
Author: dim Date: Tue Apr 9 20:21:35 2013 New Revision: 249316 URL: http://svnweb.freebsd.org/changeset/base/249316 Log: Ensure make -j N universe works correctly, by checking for an up-to-date make before starting the universe targets themselves. Otherwise, all of the targets would

Re: svn commit: r249316 - head

2013-04-09 Thread Dimitry Andric
On Apr 9, 2013, at 22:21, Dimitry Andric d...@freebsd.org wrote: Author: dim Date: Tue Apr 9 20:21:35 2013 New Revision: 249316 URL: http://svnweb.freebsd.org/changeset/base/249316 Log: Ensure make -j N universe works correctly, by checking for an up-to-date make before starting the

svn commit: r249317 - head/sys/netinet

2013-04-09 Thread Andre Oppermann
Author: andre Date: Tue Apr 9 20:52:26 2013 New Revision: 249317 URL: http://svnweb.freebsd.org/changeset/base/249317 Log: Fix a race condition on tcp listen socket teardown with pending connections in the accept queue and contiguous new incoming SYNs. Compared to the original

svn commit: r249318 - in head/sys: kern net netinet

2013-04-09 Thread Andre Oppermann
Author: andre Date: Tue Apr 9 21:02:20 2013 New Revision: 249318 URL: http://svnweb.freebsd.org/changeset/base/249318 Log: Change certain heavily used network related mutexes and rwlocks to reside on their own cache line to prevent false sharing with other nearby structures, especially for

svn commit: r249319 - in head: cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2013-04-09 Thread Martin Matuska
Author: mm Date: Tue Apr 9 22:27:44 2013 New Revision: 249319 URL: http://svnweb.freebsd.org/changeset/base/249319 Log: ZFS expects a copyout of zfs_cmd_t on an ioctl error. Our sys_ioctl() doesn't copyout in this case. To solve this issue a new struct zfs_iocparm_t is introduced

svn commit: r249320 - head/sys/kern

2013-04-09 Thread Jim Harris
Author: jimharris Date: Wed Apr 10 00:35:08 2013 New Revision: 249320 URL: http://svnweb.freebsd.org/changeset/base/249320 Log: Fix the build. Modified: head/sys/kern/uipc_socket.c Modified: head/sys/kern/uipc_socket.c

svn commit: r249321 - head/usr.sbin/bhyve

2013-04-09 Thread Neel Natu
Author: neel Date: Wed Apr 10 02:12:39 2013 New Revision: 249321 URL: http://svnweb.freebsd.org/changeset/base/249321 Log: Improve PCI BAR emulation: - Respect the MEMEN and PORTEN bits in the command register - Allow the guest to reprogram the address decoded by the BAR Submitted by:

svn commit: r249322 - head/usr.sbin/bhyve

2013-04-09 Thread Neel Natu
Author: neel Date: Wed Apr 10 02:18:17 2013 New Revision: 249322 URL: http://svnweb.freebsd.org/changeset/base/249322 Log: Change name of variable from 'rwlock' to more descriptive 'mmio_rwlock' Requested by: grehan Obtained from:NetApp Modified: head/usr.sbin/bhyve/mem.c

svn commit: r249323 - head/lib/libthr/thread

2013-04-09 Thread David Xu
Author: davidxu Date: Wed Apr 10 02:40:03 2013 New Revision: 249323 URL: http://svnweb.freebsd.org/changeset/base/249323 Log: swapcontext wrapper can not be implemented in C, the stack pointer saved in the context becomes invalid when the function returns, same as setjmp, it must be

svn commit: r249324 - in head: sys/amd64/include sys/amd64/vmm sys/x86/x86 usr.sbin/bhyve

2013-04-09 Thread Neel Natu
Author: neel Date: Wed Apr 10 05:59:07 2013 New Revision: 249324 URL: http://svnweb.freebsd.org/changeset/base/249324 Log: Unsynchronized TSCs on the host require special handling in bhyve: - use clock_gettime(2) as the time base for the emulated ACPI timer instead of directly using