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:

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,

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 done in

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 bump

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:

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

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:

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: 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: 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:

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:

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

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

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

2013-08-15 Thread Ivan Voras
On 15 August 2013 22:19, Colin Percival cperc...@freebsd.org 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

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 cperc...@freebsd.org 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

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:

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

2013-08-15 Thread Ivan Voras
On 15 August 2013 22:32, Colin Percival cperc...@freebsd.org 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.

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 cperc...@freebsd.org 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

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

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: 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

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:

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: 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