svn commit: r253662 - in head: lib/libc/gen sys/vm tools/tools/sysdoc

2013-07-25 Thread Andrey Zonov
Author: zont Date: Fri Jul 26 02:00:06 2013 New Revision: 253662 URL: http://svnweb.freebsd.org/changeset/base/253662 Log: Remove define and documentation for vm_pageout_algorithm missed in r253587 Modified: head/lib/libc/gen/sysctl.3 head/sys/vm/vm_param.h head/tools/tools/sysdoc/tunable

svn commit: r253661 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2013-07-25 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 26 00:28:19 2013 New Revision: 253661 URL: http://svnweb.freebsd.org/changeset/base/253661 Log: Fix a segfault in ctfmerge due to a bug in gcc. GCC can generate bogus dwarf attributes with DW_AT_byte_size set to 0x. The issue was originaly detected in N

Re: svn commit: r253587 - head/sys/vm

2013-07-25 Thread Alan Cox
On Jul 25, 2013, at 3:40 PM, Andrey Zonov wrote: > On 7/23/13 6:25 PM, Jeff Roberson wrote: >> Author: jeff >> Date: Wed Jul 24 01:25:56 2013 >> New Revision: 253587 >> URL: http://svnweb.freebsd.org/changeset/base/253587 >> >> Log: >> - Remove the long obsolete 'vm_pageout_algorithm' experime

Re: svn commit: r253587 - head/sys/vm

2013-07-25 Thread Andrey Zonov
On 7/23/13 6:25 PM, Jeff Roberson wrote: > Author: jeff > Date: Wed Jul 24 01:25:56 2013 > New Revision: 253587 > URL: http://svnweb.freebsd.org/changeset/base/253587 > > Log: >- Remove the long obsolete 'vm_pageout_algorithm' experiment. > There is more of it. diff --git a/lib/libc/gen/s

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

2013-07-25 Thread Brooks Davis
Author: brooks Date: Thu Jul 25 20:53:15 2013 New Revision: 253660 URL: http://svnweb.freebsd.org/changeset/base/253660 Log: Document the sbinuptime() and getsbinuptime() functions introduced in r247452. Sponsored by: DARPA, AFRL Modified: head/share/man/man9/Makefile head/share/man/

svn commit: r253659 - head/bin/sh

2013-07-25 Thread Jilles Tjoelker
Author: jilles Date: Thu Jul 25 20:50:35 2013 New Revision: 253659 URL: http://svnweb.freebsd.org/changeset/base/253659 Log: sh: Remove an incorrect comment. Modified: head/bin/sh/parser.c Modified: head/bin/sh/parser.c

svn commit: r253658 - head/bin/sh

2013-07-25 Thread Jilles Tjoelker
Author: jilles Date: Thu Jul 25 19:48:15 2013 New Revision: 253658 URL: http://svnweb.freebsd.org/changeset/base/253658 Log: sh: Remove #define MKINIT. MKINIT only served for the removed mkinit. Many variables can be static now. Modified: head/bin/sh/eval.c head/bin/sh/input.c head/b

svn commit: r253657 - head/sys/fs/ext2fs

2013-07-25 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jul 25 19:37:49 2013 New Revision: 253657 URL: http://svnweb.freebsd.org/changeset/base/253657 Log: ext2fs: Return EINVAL for negative uio_offset as in UFS. While here drop old comment that doesn't really apply. MFC after:1 month Discussed with: gleb

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

2013-07-25 Thread John Baldwin
Author: jhb Date: Thu Jul 25 19:34:24 2013 New Revision: 253656 URL: http://svnweb.freebsd.org/changeset/base/253656 Log: Enhance the description of NOTE_TRACK: - NOTE_TRACK has never triggered a NOTE_TRACK event from the parent pid. If NOTE_FORK is set, the listener will get a NOTE_FORK e

svn commit: r253655 - head/sys/net

2013-07-25 Thread Adrian Chadd
Author: adrian Date: Thu Jul 25 19:10:23 2013 New Revision: 253655 URL: http://svnweb.freebsd.org/changeset/base/253655 Log: Fix typo. Sponsored by: Netflix Modified: head/sys/net/ieee8023ad_lacp.c Modified: head/sys/net/ieee8023ad_lacp.c

Re: svn commit: r253563 - head/contrib/libstdc++/include/c_std

2013-07-25 Thread Tijl Coosemans
On Tue, 23 Jul 2013 10:23:43 + (UTC) David Chisnall wrote: > Author: theraven > Date: Tue Jul 23 10:23:43 2013 > New Revision: 253563 > URL: http://svnweb.freebsd.org/changeset/base/253563 > > Log: > Add isnan() and isinf() to the global namespace in libstdc++'s . > > The standard (n324

Re: svn commit: r253618 - head/sys/dev/usb/gadget

2013-07-25 Thread Bruce Evans
On Wed, 24 Jul 2013, John Baldwin wrote: On Wednesday, July 24, 2013 2:32:15 pm David E. O'Brien wrote: Author: obrien Date: Wed Jul 24 18:32:15 2013 New Revision: 253618 URL: http://svnweb.freebsd.org/changeset/base/253618 Log: per style(9): Kernel include files (i.e. sys/*.h) come fir

svn commit: r253654 - head/sys/dev/uart

2013-07-25 Thread Marcel Moolenaar
Author: marcel Date: Thu Jul 25 16:57:27 2013 New Revision: 253654 URL: http://svnweb.freebsd.org/changeset/base/253654 Log: Set the device description after we call uart_probe(). In uart_probe() we call device-specific probe functions, which can (and typically will) set the device descripti

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marko Zec
On Thursday 25 July 2013 16:27:43 Marius Strobl wrote: > On Thu, Jul 25, 2013 at 12:24:53PM +0200, Marko Zec wrote: > > On Thursday 25 July 2013 11:36:46 Craig Rodrigues wrote: > > > On Thu, Jul 25, 2013 at 1:07 AM, Marius Strobl > > > > wrote: > > > > Uhm - do we really need to have that layering

Re: svn commit: r253644 - head/sys/dev/ata/chipsets

2013-07-25 Thread Alexander Motin
On 25.07.2013 19:14, John Baldwin wrote: On Thursday, July 25, 2013 5:12:46 am Alexander Motin wrote: Author: mav Date: Thu Jul 25 09:12:46 2013 New Revision: 253644 URL: http://svnweb.freebsd.org/changeset/base/253644 Log: Add missing NULL check after malloc(M_NOWAIT). Submitted by:

Re: svn commit: r253636 - head/sys/vm

2013-07-25 Thread Bruce Evans
On Thu, 25 Jul 2013, David Chisnall wrote: On 25 Jul 2013, at 09:11, Hans Petter Selasky wrote: The structure looks like some size, so bzero() might run faster than memset() depending on the compiler settings. Should be profiled before changed! They will generate identical code for small s

Re: svn commit: r253644 - head/sys/dev/ata/chipsets

2013-07-25 Thread John Baldwin
On Thursday, July 25, 2013 5:12:46 am Alexander Motin wrote: > Author: mav > Date: Thu Jul 25 09:12:46 2013 > New Revision: 253644 > URL: http://svnweb.freebsd.org/changeset/base/253644 > > Log: > Add missing NULL check after malloc(M_NOWAIT). > > Submitted by: Dmitry Luhtionov > >

svn commit: r253653 - head/sys/ofed/drivers/net/mlx4

2013-07-25 Thread John Baldwin
Author: jhb Date: Thu Jul 25 16:34:34 2013 New Revision: 253653 URL: http://svnweb.freebsd.org/changeset/base/253653 Log: Avoid trashing IP fragments: - Only enable UDP/TCP hardware checksums if CSUM_UDP or CSUM_TCP is set. - Only enable IP hardware checksums if CSUM_IP is set. PR:

svn commit: r253652 - head/sys/fs/ext2fs

2013-07-25 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jul 25 16:04:55 2013 New Revision: 253652 URL: http://svnweb.freebsd.org/changeset/base/253652 Log: ext2fs: Drop a check that wan't supposed to be in r253651. MFC after:1 month Modified: head/sys/fs/ext2fs/ext2_lookup.c Modified: head/sys/fs/ext2fs/ext2_lookup.

Re: svn commit: r253618 - head/sys/dev/usb/gadget

2013-07-25 Thread John Baldwin
On Wednesday, July 24, 2013 2:32:15 pm David E. O'Brien wrote: > Author: obrien > Date: Wed Jul 24 18:32:15 2013 > New Revision: 253618 > URL: http://svnweb.freebsd.org/changeset/base/253618 > > Log: > per style(9): > Kernel include files (i.e. sys/*.h) come first; normally, include >

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Adrian Chadd
There's already a layering violation. It's called "giving a default vnet context during initial system bring up rather than properly figuring out where to sneak it in." That's the root cause that hid all of this crap. -adrian ___ svn-src-head@freebsd.

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Bruce Evans
On Thu, 25 Jul 2013, Marko Zec wrote: On Thursday 25 July 2013 10:07:58 Marius Strobl wrote: On Mon, Jul 15, 2013 at 01:32:55AM +, Craig Rodrigues wrote: Author: rodrigc Date: Mon Jul 15 01:32:55 2013 New Revision: 253346 URL: http://svnweb.freebsd.org/changeset/base/253346 Log: PR: 168

svn commit: r253651 - head/sys/fs/ext2fs

2013-07-25 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jul 25 15:34:20 2013 New Revision: 253651 URL: http://svnweb.freebsd.org/changeset/base/253651 Log: ext2fs: Don't assume that on-disk format of a directory is the same as in ext2_readdir() has always been very fs specific and different with respect to its ufs_ cou

Re: svn commit: r253614 - head/usr.bin/patch

2013-07-25 Thread Pedro Giffuni
On 25.07.2013 05:27, Alexey Dokuchaev wrote: All the comments in that file have that same problem. At least now we are consistently inconsistent. ;-) Yes, I defininitely missed a wink there :). This is not a change I feel I should spend more time on though. Submitted by:gogolok

Re: svn commit: r253636 - head/sys/vm

2013-07-25 Thread mdf
On Thu, Jul 25, 2013 at 4:43 AM, David Chisnall wrote: > However(), memset is to be preferred in this idiom because the compiler > provides better diagnostics in the case of error: > > bzero.c:9:22: warning: 'memset' call operates on objects of type 'struct > foo' > while the size is based o

svn commit: r253650 - head/bin/sh

2013-07-25 Thread Jilles Tjoelker
Author: jilles Date: Thu Jul 25 15:08:41 2013 New Revision: 253650 URL: http://svnweb.freebsd.org/changeset/base/253650 Log: sh: Remove mkinit. Replace the RESET blocks with regular functions and a reset() function that calls them all. This code generation tool is unusual and does no

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marius Strobl
On Thu, Jul 25, 2013 at 12:24:53PM +0200, Marko Zec wrote: > On Thursday 25 July 2013 11:36:46 Craig Rodrigues wrote: > > On Thu, Jul 25, 2013 at 1:07 AM, Marius Strobl > wrote: > > > Uhm - do we really need to have that layering violation in subr_bus.c? > > > Wouldn't it be sufficient to set curt

svn commit: r253649 - head/bin/sh

2013-07-25 Thread Jilles Tjoelker
Author: jilles Date: Thu Jul 25 13:09:17 2013 New Revision: 253649 URL: http://svnweb.freebsd.org/changeset/base/253649 Log: sh: Remove output.c's reset() handler. These cleanup operations are not needed because they are already performed after an optimized command substitution (whether t

Re: svn commit: r253636 - head/sys/vm

2013-07-25 Thread David Chisnall
On 25 Jul 2013, at 09:11, Hans Petter Selasky wrote: > The structure looks like some size, so bzero() might run faster than memset() > depending on the compiler settings. Should be profiled before changed! They will generate identical code for small structures with known sizes. Both clang and

svn commit: r253647 - head/sys/dev/ahci

2013-07-25 Thread Alexander Motin
Author: mav Date: Thu Jul 25 10:29:40 2013 New Revision: 253647 URL: http://svnweb.freebsd.org/changeset/base/253647 Log: Decode some bits defined in AHCI 1.3.1 Device Sleep Technical Proposal. For now this is only conmetics to report HBA capabilities (Haswell?). Submitted by: Dmitry Luht

Re: svn commit: r253614 - head/usr.bin/patch

2013-07-25 Thread Alexey Dokuchaev
On Wed, Jul 24, 2013 at 01:14:25PM -0500, Pedro Giffuni wrote: > El 24/07/2013 11:52 a. m., Alexey Dokuchaev escribiцЁ: > >On Wed, Jul 24, 2013 at 03:46:50PM +, Pedro F. Giffuni wrote: > >>New Revision: 253614 > >>URL: http://svnweb.freebsd.org/changeset/base/253614 > >> > >>Log: > >> patch:

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marko Zec
On Thursday 25 July 2013 11:36:46 Craig Rodrigues wrote: > On Thu, Jul 25, 2013 at 1:07 AM, Marius Strobl wrote: > > Uhm - do we really need to have that layering violation in subr_bus.c? > > Wouldn't it be sufficient to set curthread->td_vnet to vnet0 in > > if_alloc(9) or if_attach(9) at least i

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Craig Rodrigues
On Thu, Jul 25, 2013 at 1:07 AM, Marius Strobl wrote: > > Uhm - do we really need to have that layering violation in subr_bus.c? > Wouldn't it be sufficient to set curthread->td_vnet to vnet0 in if_alloc(9) > or if_attach(9) at least instead? > There was some discussion about this involving Mark

svn commit: r253646 - head/sys/dev/aic7xxx

2013-07-25 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jul 25 09:30:00 2013 New Revision: 253646 URL: http://svnweb.freebsd.org/changeset/base/253646 Log: Match function definition to declaration and call-site. SVN r95378 refactored ahc_9005_subdevinfo_valid out into a separate function but swapped the vendor/subvendor a

svn commit: r253645 - head/sys/dev/sound/pci

2013-07-25 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jul 25 09:29:48 2013 New Revision: 253645 URL: http://svnweb.freebsd.org/changeset/base/253645 Log: snd_ds1(4): Fix order of arguments for stereo/16bit mode This function is called 4 times in this file, with swapped parameter ordering. Fix the function definition ins

svn commit: r253644 - head/sys/dev/ata/chipsets

2013-07-25 Thread Alexander Motin
Author: mav Date: Thu Jul 25 09:12:46 2013 New Revision: 253644 URL: http://svnweb.freebsd.org/changeset/base/253644 Log: Add missing NULL check after malloc(M_NOWAIT). Submitted by: Dmitry Luhtionov Modified: head/sys/dev/ata/chipsets/ata-promise.c Modified: head/sys/dev/ata/chipsets/

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marko Zec
On Thursday 25 July 2013 10:07:58 Marius Strobl wrote: > On Mon, Jul 15, 2013 at 01:32:55AM +, Craig Rodrigues wrote: > > Author: rodrigc > > Date: Mon Jul 15 01:32:55 2013 > > New Revision: 253346 > > URL: http://svnweb.freebsd.org/changeset/base/253346 > > > > Log: > > PR: 168520 170096 > >

svn commit: r253643 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2013-07-25 Thread Alexander Motin
Author: mav Date: Thu Jul 25 08:41:22 2013 New Revision: 253643 URL: http://svnweb.freebsd.org/changeset/base/253643 Log: Following r222950, revert unintentional change cls -> class in argument name in r245264. Aside from non-uniformity, that again confused C++ compilers. Modified: head/sy

Re: svn commit: r253636 - head/sys/vm

2013-07-25 Thread Hans Petter Selasky
On 07/25/13 09:26, Bruce Evans wrote: On Thu, 25 Jul 2013, Tim Kientzle wrote: Log: Clear entire map structure including locks so that the locks don't accidentally appear to have been already initialized. In particular, this fixes a consistent kernel crash on armv6 with: panic: lock "v

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marius Strobl
On Mon, Jul 15, 2013 at 01:32:55AM +, Craig Rodrigues wrote: > Author: rodrigc > Date: Mon Jul 15 01:32:55 2013 > New Revision: 253346 > URL: http://svnweb.freebsd.org/changeset/base/253346 > > Log: > PR: 168520 170096 > Submitted by: adrian, zec > > Fix multiple kernel panics when VI

Re: svn commit: r253636 - head/sys/vm

2013-07-25 Thread Bruce Evans
On Thu, 25 Jul 2013, Tim Kientzle wrote: Log: Clear entire map structure including locks so that the locks don't accidentally appear to have been already initialized. In particular, this fixes a consistent kernel crash on armv6 with: panic: lock "vm map (user)" 0xc09cc050 already initia