svn commit: r254399 - in stable/9/sys: compat/freebsd32 kern sys

2013-08-15 Thread David Xu
Author: davidxu Date: Fri Aug 16 06:42:24 2013 New Revision: 254399 URL: http://svnweb.freebsd.org/changeset/base/254399 Log: Regen. Modified: stable/9/sys/compat/freebsd32/freebsd32_proto.h stable/9/sys/compat/freebsd32/freebsd32_syscall.h stable/9/sys/compat/freebsd32/freebsd32_syscalls

svn commit: r254398 - in stable/9: include lib/libc/gen lib/libc/sys lib/libthr/thread sys/compat/freebsd32 sys/kern sys/sys

2013-08-15 Thread David Xu
Author: davidxu Date: Fri Aug 16 06:40:12 2013 New Revision: 254398 URL: http://svnweb.freebsd.org/changeset/base/254398 Log: MFC r239347, 240295, 240296 and 253325: r239347 | davidxu | 2012-08-17 10:26:31 +0800 (Fri, 17 Aug 2012) | 7 lines Implement syscall clock_getcpuclockid

svn commit: r254397 - head/usr.sbin/makefs

2013-08-15 Thread Glen Barber
Author: gjb Date: Fri Aug 16 05:30:13 2013 New Revision: 254397 URL: http://svnweb.freebsd.org/changeset/base/254397 Log: Mark the makefs(8) '-p' flag as deprecated in preference for the '-Z' flag for compatibility with NetBSD. Submitted by: Eric van Gyzen (via stable@) MFC after:3

svn commit: r254396 - head/sys/kern

2013-08-15 Thread Mark Johnston
Author: markj Date: Fri Aug 16 03:41:41 2013 New Revision: 254396 URL: http://svnweb.freebsd.org/changeset/base/254396 Log: Use strdup(9) instead of reimplementing it. Modified: head/sys/kern/kern_linker.c Modified: head/sys/kern/kern_linker.c

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

2013-08-15 Thread Peter Grehan
Author: grehan Date: Fri Aug 16 00:35:20 2013 New Revision: 254395 URL: http://svnweb.freebsd.org/changeset/base/254395 Log: Fix ordering of legacy IRQ reservations. Submitted by: Jeremiah Lott jlott at averesystems dot com Modified: head/usr.sbin/bhyve/pci_emul.c Modified: head/usr.s

svn commit: r254389 - in head/sys: dev/nvme geom kern sys

2013-08-15 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 15 22:52:39 2013 New Revision: 254389 URL: http://svnweb.freebsd.org/changeset/base/254389 Log: Change the way that unmapped I/O capability is advertised. The previous method was to set the D_UNMAPPED_IO flag in the cdevsw for the driver. The problem with this i

svn commit: r254388 - head/lib/libc/sys

2013-08-15 Thread Jilles Tjoelker
Author: jilles Date: Thu Aug 15 22:33:27 2013 New Revision: 254388 URL: http://svnweb.freebsd.org/changeset/base/254388 Log: sigsuspend(2): Add xrefs to pselect(2) and sigwait-alikes. Modified: head/lib/libc/sys/sigsuspend.2 Modified: head/lib/libc/sys/sigsuspend.2 ==

svn commit: r254387 - head/sys/vm

2013-08-15 Thread Jeff Roberson
Author: jeff Date: Thu Aug 15 22:29:49 2013 New Revision: 254387 URL: http://svnweb.freebsd.org/changeset/base/254387 Log: - Fix bug in r254304. Use the ACTIVE pq count for the active list processing, not inactive. This was the result of a bad merge. Reported by: pho Sponsored by

Re: svn commit: r254380 - in head/sys: kern sys

2013-08-15 Thread Colin Percival
On 08/15/13 14:34, Ivan Voras wrote: > On 15 August 2013 22:32, Colin Percival wrote: >> No, I wasn't aware that it existed. Given that this change applies only to >> parallel operations *on the same vnode* and blogbench seems to have traffic >> randomly spread between many files, I doubt there w

Re: svn commit: r254380 - in head/sys: kern sys

2013-08-15 Thread Ivan Voras
On 15 August 2013 22:32, Colin Percival wrote: > No, I wasn't aware that it existed. Given that this change applies only to > parallel operations *on the same vnode* and blogbench seems to have traffic > randomly spread between many files, I doubt there would be any difference. Maybe it could h

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

2013-08-15 Thread Jack F Vogel
Author: jfv Date: Thu Aug 15 21:24:43 2013 New Revision: 254385 URL: http://svnweb.freebsd.org/changeset/base/254385 Log: MFC r254264 Make the igb_mq_start() routine use TRYLOCK rather than simple queuing, there were latency and other problems with the latter. Modified: stable

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

2013-08-15 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 15 21:09:05 2013 New Revision: 254384 URL: http://svnweb.freebsd.org/changeset/base/254384 Log: Simplify check for CMPXCHG8B instruction. Note CMPXCHG8B instruction is always available for Rise mP6 processors although it is not set by CPUID. Modified: head/sys/i3

svn commit: r254383 - in stable/9/sys/dev: e1000 ixgbe

2013-08-15 Thread Jack F Vogel
Author: jfv Date: Thu Aug 15 21:06:38 2013 New Revision: 254383 URL: http://svnweb.freebsd.org/changeset/base/254383 Log: MFC r254262 Further improve the msix setup, make sure pci_alloc_msix() gives us the vectors we requested, and fall back to MSI when not, also release

Re: svn commit: r254380 - in head/sys: kern sys

2013-08-15 Thread Colin Percival
On 08/15/13 13:29, Ivan Voras wrote: > On 15 August 2013 22:19, Colin Percival wrote: >> For workloads with R parallel reads and W parallel writes, this improves >> the time spent from O((R+W)^2) to O(W*(R+W)); i.e., heavy parallel-read >> workloads become significantly more scalable. >> >>

svn commit: r254382 - in stable/9/sys/dev: e1000 ixgbe

2013-08-15 Thread Jack F Vogel
Author: jfv Date: Thu Aug 15 20:33:17 2013 New Revision: 254382 URL: http://svnweb.freebsd.org/changeset/base/254382 Log: MFC r254008 Make the fallback from MSIX to MSI interrupt usage more graceful. Modified: stable/9/sys/dev/e1000/if_em.c stable/9/sys/dev/e1000/if_igb.c stable/9/sys/dev

Re: svn commit: r254380 - in head/sys: kern sys

2013-08-15 Thread Ivan Voras
On 15 August 2013 22:19, Colin Percival wrote: > For workloads with R parallel reads and W parallel writes, this improves > the time spent from O((R+W)^2) to O(W*(R+W)); i.e., heavy parallel-read > workloads become significantly more scalable. > > No statistically significant change in bu

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

2013-08-15 Thread Colin Percival
Author: cperciva Date: Thu Aug 15 20:19:17 2013 New Revision: 254380 URL: http://svnweb.freebsd.org/changeset/base/254380 Log: Change the queue of locks in kern_rangelock.c from holding lock requests in the order that they arrive, to holding (a) granted write lock requests, followed by (b)

svn commit: r254379 - head/sys/dev/iir

2013-08-15 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 15 20:03:22 2013 New Revision: 254379 URL: http://svnweb.freebsd.org/changeset/base/254379 Log: Avoid potential redefinition of the macro. Modified: head/sys/dev/iir/iir.c head/sys/dev/iir/iir.h head/sys/dev/iir/iir_ctrl.c head/sys/dev/iir/iir_pci.c Modified:

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

2013-08-15 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Aug 15 20:00:32 2013 New Revision: 254378 URL: http://svnweb.freebsd.org/changeset/base/254378 Log: Turn comments about locking into actual lock assertions. Reviewed by: ken Tested by:ken MFC after:1 month Modified: head/sys/cam/ctl/ctl.c Modified: h

svn commit: r254374 - head/sys/amd64/amd64

2013-08-15 Thread Brooks Davis
Author: brooks Date: Thu Aug 15 17:44:44 2013 New Revision: 254374 URL: http://svnweb.freebsd.org/changeset/base/254374 Log: Use an ANSI C definition of initializecpucache() to match the declaration and the rest of the file. Modified: head/sys/amd64/amd64/initcpu.c Modified: head/sys/amd64

svn commit: r254373 - head/sys/x86/isa

2013-08-15 Thread Brooks Davis
Author: brooks Date: Thu Aug 15 17:21:06 2013 New Revision: 254373 URL: http://svnweb.freebsd.org/changeset/base/254373 Log: Call set_i8254_freq with MODE_STOP (0) rather than a magic number of 0. Modified: head/sys/x86/isa/clock.c Modified: head/sys/x86/isa/clock.c =

svn commit: r254372 - head/sys/dev/isp

2013-08-15 Thread Kenneth D. Merry
Author: ken Date: Thu Aug 15 16:41:27 2013 New Revision: 254372 URL: http://svnweb.freebsd.org/changeset/base/254372 Log: Export the maxio field in the CAM XPT_PATH_INQ CCB in the isp(4) driver. This tells consumers up the stack the maximum I/O size that the controller can handle.

svn commit: r254371 - head/share/misc

2013-08-15 Thread Rusmir Dusko
Author: nemysis (ports committer) Date: Thu Aug 15 16:03:09 2013 New Revision: 254371 URL: http://svnweb.freebsd.org/changeset/base/254371 Log: - Add myself in committers-ports.dot Approved by: miwi/wxs/wg (mentors) Modified: head/share/misc/committers-ports.dot Modified: head/share/mi

svn commit: r254370 - releng/9.2/sys/boot/forth

2013-08-15 Thread Devin Teske
Author: dteske Date: Thu Aug 15 15:34:26 2013 New Revision: 254370 URL: http://svnweb.freebsd.org/changeset/base/254370 Log: MFS9 SVN r254331: Add optional support for default override of standard setup; but only if corresponding functions are provided. If override function does not exist,

svn commit: r254368 - in releng/9.2: release sys/conf

2013-08-15 Thread Glen Barber
Author: gjb Date: Thu Aug 15 14:41:39 2013 New Revision: 254368 URL: http://svnweb.freebsd.org/changeset/base/254368 Log: Update releng/9.2 to -RC2. Approved by: re (implicit) Modified: releng/9.2/release/Makefile.sysinstall releng/9.2/sys/conf/newvers.sh Modified: releng/9.2/release

svn commit: r254367 - releng/9.2/sys/boot/common

2013-08-15 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 15 14:33:09 2013 New Revision: 254367 URL: http://svnweb.freebsd.org/changeset/base/254367 Log: Merge r254366: Make the check for number of entries less strict. Some partitioning tools can create GPT with number of entries less than 128. Approved by: re

svn commit: r254366 - stable/9/sys/boot/common

2013-08-15 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 15 13:09:58 2013 New Revision: 254366 URL: http://svnweb.freebsd.org/changeset/base/254366 Log: MFC r254092: Make the check for number of entries less strict. Some partitioning tools can create GPT with number of entries less than 128. Modified: stable/9/s

svn commit: r254364 - in releng/9.2/sys: dev/aacraid dev/advansys dev/aic7xxx dev/amr dev/an dev/arcmsr dev/asr dev/ata dev/bktr dev/buslogic dev/dpt dev/e1000 dev/fatm dev/firewire dev/fxp dev/hat...

2013-08-15 Thread Scott Long
Author: scottl Date: Thu Aug 15 12:19:16 2013 New Revision: 254364 URL: http://svnweb.freebsd.org/changeset/base/254364 Log: Merge r254306: Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI command register. The lazy BAR allocation code in FreeBSD sometimes d

svn commit: r254362 - head/sys/vm

2013-08-15 Thread Attilio Rao
Author: attilio Date: Thu Aug 15 11:01:25 2013 New Revision: 254362 URL: http://svnweb.freebsd.org/changeset/base/254362 Log: On the recovery path for vm_page_alloc(), if a page had been requested wired, unwind back the wiring bits otherwise we can end up freeing a page that is considered wi

svn commit: r254361 - releng/9.2/usr.sbin/bsdinstall/scripts

2013-08-15 Thread Glen Barber
Author: gjb Date: Thu Aug 15 10:38:10 2013 New Revision: 254361 URL: http://svnweb.freebsd.org/changeset/base/254361 Log: MFC r254265: Make sure bootonly.iso for -BETAs and -RCs use the releases/ directory on the FTP mirrors to fetch distributions, since these are always pushed to relea

svn commit: r254360 - stable/9/usr.sbin/bsdinstall/scripts

2013-08-15 Thread Glen Barber
Author: gjb Date: Thu Aug 15 10:31:31 2013 New Revision: 254360 URL: http://svnweb.freebsd.org/changeset/base/254360 Log: MFC r254265: Make sure bootonly.iso for -BETAs and -RCs use the releases/ directory on the FTP mirrors to fetch distributions, since these are always pushed to relea

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

2013-08-15 Thread Gleb Smirnoff
On Thu, Aug 15, 2013 at 10:54:04AM +0200, Jeremie Le Hen wrote: J> On Thu, Aug 15, 2013 at 12:25:05PM +0400, Gleb Smirnoff wrote: J> > On Thu, Aug 15, 2013 at 08:21:00AM +, Jeremie Le Hen wrote: J> > J> Author: jlh J> > J> Date: Thu Aug 15 08:21:00 2013 J> > J> New Revision: 254358 J> > J> URL:

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

2013-08-15 Thread Jeremie Le Hen
On Thu, Aug 15, 2013 at 12:25:05PM +0400, Gleb Smirnoff wrote: > On Thu, Aug 15, 2013 at 08:21:00AM +, Jeremie Le Hen wrote: > J> Author: jlh > J> Date: Thu Aug 15 08:21:00 2013 > J> New Revision: 254358 > J> URL: http://svnweb.freebsd.org/changeset/base/254358 > J> > J> Log: > J> Belatedly

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

2013-08-15 Thread Gleb Smirnoff
On Thu, Aug 15, 2013 at 08:21:00AM +, Jeremie Le Hen wrote: J> Author: jlh J> Date: Thu Aug 15 08:21:00 2013 J> New Revision: 254358 J> URL: http://svnweb.freebsd.org/changeset/base/254358 J> J> Log: J> Belatedly bump __FreeBSD_version for libc being an ld script. J> This should have been

svn commit: r254358 - head/sys/sys

2013-08-15 Thread Jeremie Le Hen
Author: jlh Date: Thu Aug 15 08:21:00 2013 New Revision: 254358 URL: http://svnweb.freebsd.org/changeset/base/254358 Log: Belatedly bump __FreeBSD_version for libc being an ld script. This should have been done in r251668, on June 12, 2013. This will have no practical consequences, beside

svn commit: r254357 - releng/9.2/etc

2013-08-15 Thread Jeremie Le Hen
Author: jlh Date: Thu Aug 15 08:12:16 2013 New Revision: 254357 URL: http://svnweb.freebsd.org/changeset/base/254357 Log: MFC r253853: Include /usr/local/etc/libmap.d/ by default. PR: 180568 Reviewed by:bapt Obtained from: kib Approved by: re (delphi

svn commit: r254356 - in head/sys: compat/freebsd32 kern ofed/include/linux opencrypto sys

2013-08-15 Thread Gleb Smirnoff
Author: glebius Date: Thu Aug 15 07:54:31 2013 New Revision: 254356 URL: http://svnweb.freebsd.org/changeset/base/254356 Log: Make sendfile() a method in the struct fileops. Currently only vnode backed file descriptors have this method implemented. Reviewed by: kib Sponsored by: Nginx