svn commit: r230804 - head/usr.sbin/bsdinstall/scripts

2012-01-30 Thread Kevin Lo
Author: kevlo Date: Tue Jan 31 05:49:49 2012 New Revision: 230804 URL: http://svn.freebsd.org/changeset/base/230804 Log: Fix a whitespace nit Reviewed by: bz Modified: head/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Modified: head/usr.sbin/bsdinstall/scripts/netconfig_ipv4

svn commit: r230803 - in head/sys: fs/nfsclient nfsclient

2012-01-30 Thread Rick Macklem
Author: rmacklem Date: Tue Jan 31 03:58:26 2012 New Revision: 230803 URL: http://svn.freebsd.org/changeset/base/230803 Log: When a "mount -u" switches an NFS mount point from TCP to UDP, any thread doing an I/O RPC with a transfer size greater than NFS_UDPMAXDATA will be hung indefinitely, r

svn commit: r230801 - head/sys/nlm

2012-01-30 Thread Rick Macklem
Author: rmacklem Date: Tue Jan 31 02:11:05 2012 New Revision: 230801 URL: http://svn.freebsd.org/changeset/base/230801 Log: jwd@ reported a problem via email to freebsd-fs@ on Aug 25, 2011 under the subject "F_RDLCK lock to FreeBSD NFS fails to R/O target file". This occurred because the ser

svn commit: r230795 - in head/usr.sbin/makefs: . cd9660

2012-01-30 Thread Jung-uk Kim
Author: jkim Date: Tue Jan 31 00:32:37 2012 New Revision: 230795 URL: http://svn.freebsd.org/changeset/base/230795 Log: Allow contents of multiple directories to be merged to the current image. Note this patch was submitted to NetBSD and they already adopted it. http://mail-index.netbsd.o

svn commit: r230793 - in head/sys: conf net80211

2012-01-30 Thread Adrian Chadd
Author: adrian Date: Tue Jan 31 00:03:49 2012 New Revision: 230793 URL: http://svn.freebsd.org/changeset/base/230793 Log: Add a DFS debugging mode which is useful when doing automated DFS compliance testing. In order to allow for radar pattern matching to occur, the DFS CAC/NOL handling

svn commit: r230791 - in head/sys/dev/ath/ath_hal: ar5210 ar5211 ar5212

2012-01-30 Thread Adrian Chadd
Author: adrian Date: Mon Jan 30 23:07:27 2012 New Revision: 230791 URL: http://svn.freebsd.org/changeset/base/230791 Log: Radar API related fixes. * For legacy NICs, the combined RSSI should be used. For earlier AR5416 NICs, use control chain 0 RSSI rather than combined RSSI. Fo

svn commit: r230790 - head/sys/dev/ixgbe

2012-01-30 Thread Jack F Vogel
Author: jfv Date: Mon Jan 30 23:03:21 2012 New Revision: 230790 URL: http://svn.freebsd.org/changeset/base/230790 Log: Wrap the bool typedef Modified: head/sys/dev/ixgbe/ixgbe_osdep.h Modified: head/sys/dev/ixgbe/ixgbe_osdep.h =

svn commit: r230789 - head/sys/dev/fe

2012-01-30 Thread Warner Losh
Author: imp Date: Mon Jan 30 22:47:02 2012 New Revision: 230789 URL: http://svn.freebsd.org/changeset/base/230789 Log: Improve media status reporting, when the driver knows... Modified: head/sys/dev/fe/if_fe.c Modified: head/sys/dev/fe/if_fe.c

Re: svn commit: r227753 - in head: contrib/gdtoa include lib/libc/gdtoa lib/libc/gen lib/libc/locale lib/libc/regex lib/libc/stdio lib/libc/stdlib lib/libc/stdtime lib/libc/string

2012-01-30 Thread Steve Kargl
On Mon, Jan 30, 2012 at 04:26:31PM -0500, David Schultz wrote: > > FreeBSD has a set of statically linked binaries in /rescue for > situations where /lib gets screwed up. Space is an issue there > because the root partition is historically sized quite small. /rescue is a single binary created wi

Re: svn commit: r230622 - head

2012-01-30 Thread Dimitry Andric
On 2012-01-30 21:48, Ian Lepore wrote: On Mon, 2012-01-30 at 21:08 +0100, Dimitry Andric wrote: On 2012-01-30 20:27, Rafal Jaworowski wrote: ... Fix this by setting PATH to ${BPATH}:${PATH} in stage 2.3, so the bootstrap tools directories are searched before the regular ones. Is this su

Re: svn commit: r227753 - in head: contrib/gdtoa include lib/libc/gdtoa lib/libc/gen lib/libc/locale lib/libc/regex lib/libc/stdio lib/libc/stdlib lib/libc/stdtime lib/libc/string

2012-01-30 Thread Ian Lepore
On Mon, 2012-01-30 at 16:26 -0500, David Schultz wrote: > On Mon, Jan 30, 2012, David Chisnall wrote: > > On 18 Jan 2012, at 19:07, David Schultz wrote: > > > > > This patch appears to cause a large performance regression. For > > > example, I measured a 78% slowdown for strtol("42", ...). >

Re: svn commit: r227753 - in head: contrib/gdtoa include lib/libc/gdtoa lib/libc/gen lib/libc/locale lib/libc/regex lib/libc/stdio lib/libc/stdlib lib/libc/stdtime lib/libc/string

2012-01-30 Thread David Schultz
On Mon, Jan 30, 2012, David Chisnall wrote: > On 18 Jan 2012, at 19:07, David Schultz wrote: > > > This patch appears to cause a large performance regression. For > > example, I measured a 78% slowdown for strtol("42", ...). > > That's definitely worth taking a closer look at. I think we ca

svn commit: r230787 - head/share/man/man9

2012-01-30 Thread Christian Brueffer
Author: brueffer Date: Mon Jan 30 21:02:25 2012 New Revision: 230787 URL: http://svn.freebsd.org/changeset/base/230787 Log: Manpages for the buf_ring and drbr interfaces. Submitted by: kmacy (aeons ago) MFC after:1 week Added: head/share/man/man9/buf_ring.9 (contents, props chang

Re: svn commit: r230622 - head

2012-01-30 Thread Ian Lepore
On Mon, 2012-01-30 at 21:08 +0100, Dimitry Andric wrote: > On 2012-01-30 20:27, Rafal Jaworowski wrote: > ... > >> Fix this by setting PATH to ${BPATH}:${PATH} in stage 2.3, so the > >> bootstrap tools directories are searched before the regular ones. > > > > Is this supposed to work for cross

svn commit: r230786 - head

2012-01-30 Thread Warner Losh
Author: imp Date: Mon Jan 30 20:19:28 2012 New Revision: 230786 URL: http://svn.freebsd.org/changeset/base/230786 Log: Allow specification of build shell for the buildenv target. Submitted by: ian lepore Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 =

Re: svn commit: r230622 - head

2012-01-30 Thread Rafal Jaworowski
On 2012-01-30, at 21:08, Dimitry Andric wrote: > On 2012-01-30 20:27, Rafal Jaworowski wrote: > ... >>> Fix this by setting PATH to ${BPATH}:${PATH} in stage 2.3, so the >>> bootstrap tools directories are searched before the regular ones. >> >> Is this supposed to work for cross building as w

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

2012-01-30 Thread John Baldwin
On Monday, January 30, 2012 2:35:16 pm John Baldwin wrote: > Author: jhb > Date: Mon Jan 30 19:35:15 2012 > New Revision: 230782 > URL: http://svn.freebsd.org/changeset/base/230782 > > Log: > Refine the implementation of POSIX_FADV_NOREUSE for the read(2) case such > that instead of using dire

Re: svn commit: r230622 - head

2012-01-30 Thread Dimitry Andric
On 2012-01-30 20:27, Rafal Jaworowski wrote: ... Fix this by setting PATH to ${BPATH}:${PATH} in stage 2.3, so the bootstrap tools directories are searched before the regular ones. Is this supposed to work for cross building as well? I'm still encountering problems on a 7.3 host build: 1.

svn commit: r230785 - head/sys/kern

2012-01-30 Thread Konstantin Belousov
Author: kib Date: Mon Jan 30 20:00:29 2012 New Revision: 230785 URL: http://svn.freebsd.org/changeset/base/230785 Log: A debugger which requested PT_FOLLOW_FORK should get the notification about new child not only when doing PT_TO_SCX, but also for PT_CONTINUE. If TDB_FORK flag is set, alway

svn commit: r230784 - head/libexec/rtld-elf

2012-01-30 Thread Konstantin Belousov
Author: kib Date: Mon Jan 30 19:52:17 2012 New Revision: 230784 URL: http://svn.freebsd.org/changeset/base/230784 Log: Add support for GNU RELRO. Submitted by: John Marino MFC after:2 weeks Modified: head/libexec/rtld-elf/map_object.c head/libexec/rtld-elf/rtld.c head/libexec/

svn commit: r230783 - head/sys/sys

2012-01-30 Thread Konstantin Belousov
Author: kib Date: Mon Jan 30 19:50:13 2012 New Revision: 230783 URL: http://svn.freebsd.org/changeset/base/230783 Log: Add definition for PT_GNU_RELRO. MFC after:3 days Modified: head/sys/sys/elf_common.h Modified: head/sys/sys/elf_common.h ==

Re: svn commit: r230622 - head

2012-01-30 Thread Rafal Jaworowski
On 2012-01-27, at 19:29, Dimitry Andric wrote: > Author: dim > Date: Fri Jan 27 18:29:03 2012 > New Revision: 230622 > URL: http://svn.freebsd.org/changeset/base/230622 > > Log: > When the buildkernel stage 2.3 (build tools) runs, the PATH is still set > to the default from the top-level Makef

svn commit: r230782 - head/sys/kern

2012-01-30 Thread John Baldwin
Author: jhb Date: Mon Jan 30 19:35:15 2012 New Revision: 230782 URL: http://svn.freebsd.org/changeset/base/230782 Log: Refine the implementation of POSIX_FADV_NOREUSE for the read(2) case such that instead of using direct I/O it allows read-ahead similar to POSIX_FADV_NORMAL, but invokes VOP

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

2012-01-30 Thread Konstantin Belousov
Author: kib Date: Mon Jan 30 19:31:17 2012 New Revision: 230779 URL: http://svn.freebsd.org/changeset/base/230779 Log: Fix build for the case of powerpc64 kernel without COMPAT_FREEBSD32. MFC after:2 months Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/mm

svn commit: r230778 - head/sys/kern

2012-01-30 Thread Doug Ambrisko
Author: ambrisko Date: Mon Jan 30 19:19:22 2012 New Revision: 230778 URL: http://svn.freebsd.org/changeset/base/230778 Log: When detaching an AIO or LIO requests grab the lock and tell knlist_remove that we have the lock now. This cleans up a locking panic ASSERT when knlist_empty is called

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

2012-01-30 Thread David Schultz
On Mon, Jan 30, 2012, Kostik Belousov wrote: > On Sun, Jan 29, 2012 at 05:39:04PM -0500, David Schultz wrote: > > On Sun, Jan 29, 2012, Kostik Belousov wrote: > > > On Sat, Jan 28, 2012 at 07:12:25PM -0500, David Schultz wrote: > > > > On Sat, Jan 28, 2012, Kostik Belousov wrote: > > > > > On Fri,

Re: svn commit: r227753 - in head: contrib/gdtoa include lib/libc/gdtoa lib/libc/gen lib/libc/locale lib/libc/regex lib/libc/stdio lib/libc/stdlib lib/libc/stdtime lib/libc/string

2012-01-30 Thread David Chisnall
On 18 Jan 2012, at 19:07, David Schultz wrote: > This patch appears to cause a large performance regression. For > example, I measured a 78% slowdown for strtol("42", ...). That's definitely worth taking a closer look at. I think we can cache some things in TLS and avoid some pthread_getsp

Re: svn commit: r193833 - in head: share/man/man9 sys/kern sys/sys

2012-01-30 Thread John Baldwin
On Sunday, January 29, 2012 10:41:24 am Marius Strobl wrote: > On Tue, Jun 09, 2009 at 02:26:23PM +, John Baldwin wrote: > > Author: jhb > > Date: Tue Jun 9 14:26:23 2009 > > New Revision: 193833 > > URL: http://svn.freebsd.org/changeset/base/193833 > > > > Log: > > Add support for multiple

svn commit: r230777 - head/sys/amd64/acpica

2012-01-30 Thread Jung-uk Kim
Author: jkim Date: Mon Jan 30 18:28:56 2012 New Revision: 230777 URL: http://svn.freebsd.org/changeset/base/230777 Log: Naturally align a newly added wakeup_fpusave. Modified: head/sys/amd64/acpica/acpi_wakecode.S Modified: head/sys/amd64/acpica/acpi_wakecode.S ==

svn commit: r230775 - in head/sys: conf dev/ixgbe modules/ixgbe

2012-01-30 Thread Jack F Vogel
Author: jfv Date: Mon Jan 30 16:42:02 2012 New Revision: 230775 URL: http://svn.freebsd.org/changeset/base/230775 Log: New hardware support: Intel X540 adapter support added. Some shared code reorganization along with the new adapter. Sync changes to OACTIVE in igb into this driver. Misc

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

2012-01-30 Thread John Baldwin
Author: jhb Date: Mon Jan 30 15:09:03 2012 New Revision: 230774 URL: http://svn.freebsd.org/changeset/base/230774 Log: Add a constant for the PCI-e surprise link down uncorrectable error. Modified: head/sys/dev/pci/pcireg.h Modified: head/sys/dev/pci/pcireg.h

Re: svn commit: r230230 - head/sys/dev/random

2012-01-30 Thread Andrey Chernov
On Mon, Jan 30, 2012 at 11:30:15AM +, Mark Murray wrote: > > Well, I almost forget about my special case: I have personal prohibition > > from @secteam (5 years old already) to commit anything to all RNG areas. > > > > So, the question is: could anyone of you commit some version from this >

Re: svn commit: r230230 - head/sys/dev/random

2012-01-30 Thread Mark Murray
Andrey Chernov writes: > On Thu, Jan 26, 2012 at 10:13:41PM +0400, Andrey Chernov wrote: > > On Thu, Jan 26, 2012 at 12:52:43PM -0500, David Schultz wrote: > > > Why complicate things with atomics at all? A race might result in > > > arc4random(9) being seeded multiple times, but that's harmless.

svn commit: r230768 - head/sys/dev/sound/pci/hda

2012-01-30 Thread Alexander Motin
Author: mav Date: Mon Jan 30 09:59:33 2012 New Revision: 230768 URL: http://svn.freebsd.org/changeset/base/230768 Log: Fix typo in comments. Modified: head/sys/dev/sound/pci/hda/hdac.h Modified: head/sys/dev/sound/pci/hda/hdac.h ===

Re: svn commit: r230628 - head/sys/sparc64/include

2012-01-30 Thread Alexey Dokuchaev
On Sat, Jan 28, 2012 at 10:37:40PM -0800, Doug Barton wrote: > On 01/28/2012 18:39, Julian Elischer wrote: > > Bruce these comments are valid. > > please make use of your commit bit and make the appropriate changes! > > Completely aside from the pedantic value of having the person who broke > it b