Re: svn commit: r227520 - head/lib/libc/gen

2011-11-14 Thread Andrey Chernov
On Tue, Nov 15, 2011 at 05:49:24AM +, David Schultz wrote: > Author: das > Date: Tue Nov 15 05:49:24 2011 > New Revision: 227520 > URL: http://svn.freebsd.org/changeset/base/227520 > > Log: > Further reduce diffs with OpenBSD's arc4random. The main functional > change here is to ensure th

svn commit: r227526 - head/usr.sbin/pmcstat

2011-11-14 Thread David E. O'Brien
Author: obrien Date: Tue Nov 15 06:50:10 2011 New Revision: 227526 URL: http://svn.freebsd.org/changeset/base/227526 Log: KNF Modified: head/usr.sbin/pmcstat/pmcstat_log.c Modified: head/usr.sbin/pmcstat/pmcstat_log.c ==

svn commit: r227524 - in head/usr.sbin: pmccontrol pmcstat

2011-11-14 Thread David E. O'Brien
Author: obrien Date: Tue Nov 15 06:44:07 2011 New Revision: 227524 URL: http://svn.freebsd.org/changeset/base/227524 Log: Improve the chances of matching an outputted string with the line of code. Modified: head/usr.sbin/pmccontrol/pmccontrol.c head/usr.sbin/pmcstat/pmcpl_calltree.c head/

svn commit: r227522 - head/tools/regression/lib/libc/gen

2011-11-14 Thread David Schultz
Author: das Date: Tue Nov 15 05:55:15 2011 New Revision: 227522 URL: http://svn.freebsd.org/changeset/base/227522 Log: A regression test to ensure that arc4random returns different sequences in parent and child processes after a fork. Added: head/tools/regression/lib/libc/gen/test-arc4rando

svn commit: r227520 - head/lib/libc/gen

2011-11-14 Thread David Schultz
Author: das Date: Tue Nov 15 05:49:24 2011 New Revision: 227520 URL: http://svn.freebsd.org/changeset/base/227520 Log: Further reduce diffs with OpenBSD's arc4random. The main functional change here is to ensure that when a process forks after arc4random is seeded, the parent and child don'

svn commit: r227519 - head/lib/libc/gen

2011-11-14 Thread David Schultz
Author: das Date: Tue Nov 15 05:45:46 2011 New Revision: 227519 URL: http://svn.freebsd.org/changeset/base/227519 Log: Sync the style, comments, and variable names of arc4random.c with OpenBSD's version (r1.22). While some of our style changes were indeed small improvements, being able to e

svn commit: r227518 - head/sys/kern

2011-11-14 Thread David E. O'Brien
Author: obrien Date: Tue Nov 15 01:48:53 2011 New Revision: 227518 URL: http://svn.freebsd.org/changeset/base/227518 Log: Reformat comment to be more readable in standard Xterm. (while I'm here, wrap other long lines) Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_desc

svn commit: r227517 - head/sys/fs/nfsclient

2011-11-14 Thread Rick Macklem
Author: rmacklem Date: Tue Nov 15 01:39:02 2011 New Revision: 227517 URL: http://svn.freebsd.org/changeset/base/227517 Log: Move the setting of the default value for nm_wcommitsize to before the nfs_decode_args() call in the new NFS client, so that a specfied command line value won't be over

svn commit: r227516 - head/release/doc/en_US.ISO8859-1/hardware

2011-11-14 Thread Christian Brueffer
Author: brueffer Date: Mon Nov 14 23:01:08 2011 New Revision: 227516 URL: http://svn.freebsd.org/changeset/base/227516 Log: Re-apply r227466 to generate hardware notes for mps(4) and mvs(4), the issues were fixes. Thanks to:gjb, manolis Pointy hat ++:brueffer MFC after:

svn commit: r227515 - head/share/man/man4

2011-11-14 Thread Christian Brueffer
Author: brueffer Date: Mon Nov 14 22:57:47 2011 New Revision: 227515 URL: http://svn.freebsd.org/changeset/base/227515 Log: Remove list nesting in the hardware notes section, thus making it compatible with the hardware notes generation script. MFC after:3 days Modified: head/share

svn commit: r227514 - head/share/man/man4

2011-11-14 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 14 22:16:12 2011 New Revision: 227514 URL: http://svn.freebsd.org/changeset/base/227514 Log: Clarify hw.ti.%d.dac tunable. Modified: head/share/man/man4/ti.4 Modified: head/share/man/man4/ti.4 =

svn commit: r227513 - head/share/man/man4

2011-11-14 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 14 21:59:49 2011 New Revision: 227513 URL: http://svn.freebsd.org/changeset/base/227513 Log: Document newly introduced a loader tunable and sysctl variables. Modified: head/share/man/man4/ti.4 Modified: head/share/man/man4/ti.4 ==

svn commit: r227512 - head/sys/dev/ti

2011-11-14 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 14 20:38:14 2011 New Revision: 227512 URL: http://svn.freebsd.org/changeset/base/227512 Log: Overhaul bus_dma(9) usage in driver: - Don't use a single big DMA block for all rings. Create separate DMA area for each ring instead. Currently the following DMA

svn commit: r227511 - head/share/misc

2011-11-14 Thread Ruslan Mahmatkhanov
Author: rm (ports committer) Date: Mon Nov 14 20:32:39 2011 New Revision: 227511 URL: http://svn.freebsd.org/changeset/base/227511 Log: - add my co-mentors Approved by: novel (mentor) Modified: head/share/misc/committers-ports.dot Modified: head/share/misc/committers-ports.dot

Re: svn commit: r227009 - head/sys/geom

2011-11-14 Thread Marius Strobl
On Mon, Nov 14, 2011 at 09:39:08PM +0200, Alexander Motin wrote: > On 11/12/11 23:09, Marius Strobl wrote: > > On Tue, Nov 01, 2011 at 11:12:23PM +, Alexander Motin wrote: > >> Author: mav > >> Date: Tue Nov 1 23:12:22 2011 > >> New Revision: 227009 > >> URL: http://svn.freebsd.org/changeset/b

Re: svn commit: r227009 - head/sys/geom

2011-11-14 Thread Alexander Motin
On 11/12/11 23:09, Marius Strobl wrote: > On Tue, Nov 01, 2011 at 11:12:23PM +, Alexander Motin wrote: >> Author: mav >> Date: Tue Nov 1 23:12:22 2011 >> New Revision: 227009 >> URL: http://svn.freebsd.org/changeset/base/227009 >> >> Log: >> Make orphan() method in geom_dev asynchronous usin

svn commit: r227510 - head/sys/geom

2011-11-14 Thread Alexander Motin
Author: mav Date: Mon Nov 14 19:32:05 2011 New Revision: 227510 URL: http://svn.freebsd.org/changeset/base/227510 Log: Temporary revert r227009 to fix freeze on UP systems without PREEMPTION. Before r215687, if some withered geom or provider could not be destroyed, g_event thread went to

Re: svn commit: r227487 - head/include

2011-11-14 Thread David Schultz
On Mon, Nov 14, 2011, David Chisnall wrote: > On 14 Nov 2011, at 18:02, David Schultz wrote: > > > On Mon, Nov 14, 2011, Dimitry Andric wrote: > >> On 2011-11-14 09:21, Stefan Farfeleder wrote: > >>> On Sun, Nov 13, 2011 at 04:18:48PM +, David Chisnall wrote: > Author: theraven > Dat

svn commit: r227509 - head/sys/dev/ti

2011-11-14 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 14 19:10:20 2011 New Revision: 227509 URL: http://svn.freebsd.org/changeset/base/227509 Log: Export sysctl node for various interrupt moderation parameters and have administrators control them. ti(4) provides a character device to control various other features

svn commit: r227508 - head/sys/boot/fdt/dts

2011-11-14 Thread Marcel Moolenaar
Author: marcel Date: Mon Nov 14 19:06:28 2011 New Revision: 227508 URL: http://svn.freebsd.org/changeset/base/227508 Log: Add DTS for the Freescale P1020RDB. Added: head/sys/boot/fdt/dts/p1020rdb.dts (contents, props changed) Added: head/sys/boot/fdt/dts/p1020rdb.dts ==

Re: svn commit: r227487 - head/include

2011-11-14 Thread David Chisnall
On 14 Nov 2011, at 18:02, David Schultz wrote: > On Mon, Nov 14, 2011, Dimitry Andric wrote: >> On 2011-11-14 09:21, Stefan Farfeleder wrote: >>> On Sun, Nov 13, 2011 at 04:18:48PM +, David Chisnall wrote: Author: theraven Date: Sun Nov 13 16:18:48 2011 New Revision: 227487

svn commit: r227507 - in head: sbin/mount_nfs sys/fs/nfsclient sys/nfsclient

2011-11-14 Thread John Baldwin
Author: jhb Date: Mon Nov 14 18:52:07 2011 New Revision: 227507 URL: http://svn.freebsd.org/changeset/base/227507 Log: Finish making 'wcommitsize' an NFS client mount option. Reviewed by: rmacklem MFC after:1 week Modified: head/sbin/mount_nfs/mount_nfs.8 head/sbin/mount_nfs/mou

svn commit: r227506 - head/sys/boot/fdt/dts

2011-11-14 Thread Marcel Moolenaar
Author: marcel Date: Mon Nov 14 18:51:39 2011 New Revision: 227506 URL: http://svn.freebsd.org/changeset/base/227506 Log: Add DTS for the Freescale P3041DS. Added: head/sys/boot/fdt/dts/p3041ds.dts (contents, props changed) Added: head/sys/boot/fdt/dts/p3041ds.dts =

svn commit: r227505 - head/sys/dev/ti

2011-11-14 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 14 18:40:04 2011 New Revision: 227505 URL: http://svn.freebsd.org/changeset/base/227505 Log: It's bad idea to allocate large memory, 4KB, from stack. Pre-allocate the memory in device attach time. While I'm here remove unnecessary reassignment of error variable

svn commit: r227504 - head/sys/fs/nfsclient

2011-11-14 Thread John Baldwin
Author: jhb Date: Mon Nov 14 18:23:50 2011 New Revision: 227504 URL: http://svn.freebsd.org/changeset/base/227504 Log: Sync with the old NFS client: Remove an obsolete comment. Modified: head/sys/fs/nfsclient/nfs_clvfsops.c Modified: head/sys/fs/nfsclient/nfs_clvfsops.c =

svn commit: r227503 - in head/sys: dev/bktr kern net

2011-11-14 Thread Robert Millan
Author: rmh Date: Mon Nov 14 18:21:27 2011 New Revision: 227503 URL: http://svn.freebsd.org/changeset/base/227503 Log: Remove a few bits of FreeBSD 2.x compatibility code. Approved by: kib (mentor) Modified: head/sys/dev/bktr/bktr_reg.h head/sys/kern/uipc_socket.c head/sys/net/if_sp

Re: svn commit: r227487 - head/include

2011-11-14 Thread David Schultz
On Mon, Nov 14, 2011, Dimitry Andric wrote: > On 2011-11-14 09:21, Stefan Farfeleder wrote: > > On Sun, Nov 13, 2011 at 04:18:48PM +, David Chisnall wrote: > >> Author: theraven > >> Date: Sun Nov 13 16:18:48 2011 > >> New Revision: 227487 > >> URL: http://svn.freebsd.org/changeset/base/227487

svn commit: r227502 - in head/sys: compat/freebsd32 kern sys

2011-11-14 Thread John Baldwin
Author: jhb Date: Mon Nov 14 18:00:15 2011 New Revision: 227502 URL: http://svn.freebsd.org/changeset/base/227502 Log: - Split out a kern_posix_fadvise() from the posix_fadvise() system call so it can be used by in-kernel consumers. - Make kern_posix_fallocate() public. - Use kern_posix_

svn commit: r227501 - head/share/man/man4

2011-11-14 Thread Andre Oppermann
Author: andre Date: Mon Nov 14 15:57:03 2011 New Revision: 227501 URL: http://svn.freebsd.org/changeset/base/227501 Log: mdoc fix for r227499. Reported by: brueffer Modified: head/share/man/man4/ip.4 Modified: head/share/man/man4/ip.4 ===

Re: svn commit: r227499 - head/share/man/man4

2011-11-14 Thread Andre Oppermann
On 14.11.2011 16:38, Garrett Cooper wrote: On Mon, Nov 14, 2011 at 7:10 AM, Andre Oppermann wrote: Author: andre Date: Mon Nov 14 15:10:42 2011 New Revision: 227499 URL: http://svn.freebsd.org/changeset/base/227499 Log: Note the ip_len bug fixed in r226105 in the BUGS section. Modified: h

Re: svn commit: r227499 - head/share/man/man4

2011-11-14 Thread Garrett Cooper
On Mon, Nov 14, 2011 at 7:10 AM, Andre Oppermann wrote: > Author: andre > Date: Mon Nov 14 15:10:42 2011 > New Revision: 227499 > URL: http://svn.freebsd.org/changeset/base/227499 > > Log: >  Note the ip_len bug fixed in r226105 in the BUGS section. > > Modified: >  head/share/man/man4/ip.4 > > Mo

svn commit: r227500 - head/share/man/man4

2011-11-14 Thread Andre Oppermann
Author: andre Date: Mon Nov 14 15:14:42 2011 New Revision: 227500 URL: http://svn.freebsd.org/changeset/base/227500 Log: Remove mention of ss_fltsz and ss_fltsz_local which were retired in r226447. Modified: head/share/man/man4/tcp.4 Modified: head/share/man/man4/tcp.4 ==

svn commit: r227499 - head/share/man/man4

2011-11-14 Thread Andre Oppermann
Author: andre Date: Mon Nov 14 15:10:42 2011 New Revision: 227499 URL: http://svn.freebsd.org/changeset/base/227499 Log: Note the ip_len bug fixed in r226105 in the BUGS section. Modified: head/share/man/man4/ip.4 Modified: head/share/man/man4/ip.4 ===

svn commit: r227498 - stable/8/sys/fs/tmpfs

2011-11-14 Thread Peter Holm
Author: pho Date: Mon Nov 14 15:10:01 2011 New Revision: 227498 URL: http://svn.freebsd.org/changeset/base/227498 Log: MFC: r226987 Added missing cache purge of from argument for rename(). Modified: stable/8/sys/fs/tmpfs/tmpfs_vnops.c Directory Properties: stable/8/sys/ (props change

Re: svn commit: r227487 - head/include

2011-11-14 Thread Dimitry Andric
On 2011-11-14 09:21, Stefan Farfeleder wrote: > On Sun, Nov 13, 2011 at 04:18:48PM +, David Chisnall wrote: >> Author: theraven >> Date: Sun Nov 13 16:18:48 2011 >> New Revision: 227487 >> URL: http://svn.freebsd.org/changeset/base/227487 >> >> Log: >> The spec says that FILE must be defined

Re: svn commit: r227483 - head/usr.sbin/portsnap/portsnap

2011-11-14 Thread Alfred Perlstein
* Doug Barton [13 13:26] wrote: > On 11/13/2011 04:21, Jilles Tjoelker wrote: > > Given that you are already using 'local', why not use it everywhere? You > > may need to split up some functions to do this. > > You might want to look more deeply at the portsnap code before you > recommend tha

svn commit: r227497 - head/cddl/contrib/opensolaris/cmd/zpool

2011-11-14 Thread Martin Matuska
Author: mm Date: Mon Nov 14 08:29:49 2011 New Revision: 227497 URL: http://svn.freebsd.org/changeset/base/227497 Log: Import upstream changesets for the output of the "zpool" command: 952 separate intent logs should be obvious in 'zpool iostat' output 1337 `zpool status -D' should tell if

Re: svn commit: r227487 - head/include

2011-11-14 Thread Stefan Farfeleder
On Sun, Nov 13, 2011 at 04:18:48PM +, David Chisnall wrote: > Author: theraven > Date: Sun Nov 13 16:18:48 2011 > New Revision: 227487 > URL: http://svn.freebsd.org/changeset/base/227487 > > Log: > The spec says that FILE must be defined in wchar.h, but it wasn't. It > is now. Also hide

Re: svn commit: r227474 - head/sys/amd64/include

2011-11-14 Thread Dimitry Andric
On 2011-11-14 06:31, Peter Jeremy wrote: > On 2011-Nov-12 20:16:07 +, David Chisnall wrote: ... >> +#define SIG_ATOMIC_MIN LONG_MIN >> +#define SIG_ATOMIC_MAX LONG_MAX > > 2) As far as I can see, all other defines in _stdint.h, across all > architectures, have explicit lengths, so I