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

2012-04-22 Thread Xin LI
Author: delphij Date: Sun Apr 22 07:42:44 2012 New Revision: 234565 URL: http://svn.freebsd.org/changeset/base/234565 Log: Use 10.0 instead of 10 for FreeBSD version number. The latter undefined. Modified: head/share/man/man4/carp.4 Modified: head/share/man/man4/carp.4 =

svn commit: r234566 - head/cddl/contrib/opensolaris/cmd/zfs

2012-04-22 Thread Xin LI
Author: delphij Date: Sun Apr 22 07:50:24 2012 New Revision: 234566 URL: http://svn.freebsd.org/changeset/base/234566 Log: - Correct a typo which prevents 'lzjb' be displayed; - Use quotes when tab is used. Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs.8 Modified: head/cddl/contrib

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

2012-04-22 Thread Xin LI
Author: delphij Date: Sun Apr 22 07:51:49 2012 New Revision: 234567 URL: http://svn.freebsd.org/changeset/base/234567 Log: - Use quote when tab is used; - Follow the same macros used in device driver manual pages. Modified: head/lib/libc/sys/setfib.2 Modified: head/lib/libc/sys/setfib.2

svn commit: r234568 - head/usr.bin/rctl

2012-04-22 Thread Xin LI
Author: delphij Date: Sun Apr 22 07:55:56 2012 New Revision: 234568 URL: http://svn.freebsd.org/changeset/base/234568 Log: The .Fx macro needs the version number be in its own word separated by a space. This change have no visible effect for rendering. Modified: head/usr.bin/rctl/rctl.8 M

Re: svn commit: r234549 - head/share/mk

2012-04-22 Thread Bruce Evans
On Sat, 21 Apr 2012, Warner Losh wrote: Log: Fix partially merged patch from my external compiler tree in r234546. Define NM except when we're in strict POSIX mode. Modified: head/share/mk/sys.mk Modified: head/share/mk/sys.mk

svn commit: r234569 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src lib/libc/gen

2012-04-22 Thread Jason Evans
Author: jasone Date: Sun Apr 22 08:49:13 2012 New Revision: 234569 URL: http://svn.freebsd.org/changeset/base/234569 Log: Import jemalloc a8f8d7540d66ddee7337db80c92890916e1063ca (dev branch, prior to 3.0.0 release). This fixes several bugs related to memory initialization. Mangle __je

svn commit: r234572 - head/sys/net

2012-04-22 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Apr 22 16:13:23 2012 New Revision: 234572 URL: http://svn.freebsd.org/changeset/base/234572 Log: Do not require radix write lock to be held while dumping route table via sysctl(4) interface. This permits router not to stop forwarding packets while route table is be

svn commit: r234573 - head/include/xlocale

2012-04-22 Thread David Chisnall
Author: theraven Date: Sun Apr 22 16:58:14 2012 New Revision: 234573 URL: http://svn.freebsd.org/changeset/base/234573 Log: Fix a bug caused by some misplaced brackets. Reported by: das Modified: head/include/xlocale/_ctype.h Modified: head/include/xlocale/_ctype.h

svn commit: r234574 - head/sys/netgraph

2012-04-22 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Apr 22 17:00:52 2012 New Revision: 234574 URL: http://svn.freebsd.org/changeset/base/234574 Log: Fix panic in ng_patch(4) caused by checksum flags being added to mbuf flags. Tested by:Maxim Ignatenko Approved by: kib(mentor) MFC after:

Re: svn commit: r234482 - in head/sys: fs/msdosfs fs/nfsserver kern sys

2012-04-22 Thread Pawel Jakub Dawidek
On Fri, Apr 20, 2012 at 06:50:44AM +, Kirk McKusick wrote: > Author: mckusick > Date: Fri Apr 20 06:50:44 2012 > New Revision: 234482 > URL: http://svn.freebsd.org/changeset/base/234482 > > Log: > This change creates a new list of active vnodes associated with > a mount point. Active vnode

svn commit: r234575 - head/share/mk

2012-04-22 Thread Warner Losh
Author: imp Date: Sun Apr 22 17:14:11 2012 New Revision: 234575 URL: http://svn.freebsd.org/changeset/base/234575 Log: Sort nm in order. Submitted by: bde Modified: head/share/mk/sys.mk Modified: head/share/mk/sys.mk ==

Re: svn commit: r234549 - head/share/mk

2012-04-22 Thread Warner Losh
On Apr 22, 2012, at 2:35 AM, Bruce Evans wrote: > On Sat, 21 Apr 2012, Warner Losh wrote: >> Log: >> Fix partially merged patch from my external compiler tree in r234546. >> Define NM except when we're in strict POSIX mode. >> >> Modified: >> head/share/mk/sys.mk >> >> Modified: head/share/mk/sy

svn commit: r234576 - in head/sys: powerpc/aim vm

2012-04-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 22 17:58:30 2012 New Revision: 234576 URL: http://svn.freebsd.org/changeset/base/234576 Log: Avoid a lock order reversal in pmap_extract_and_hold() from relocking the page. This PMAP requires an additional lock besides the PMAP lock in pmap_extract_and_hold()

svn commit: r234577 - head/usr.bin/stat

2012-04-22 Thread Christian Brueffer
Author: brueffer Date: Sun Apr 22 18:18:49 2012 New Revision: 234577 URL: http://svn.freebsd.org/changeset/base/234577 Log: Remove duplicate -l description. Submitted by: Rainer Hurling MFC after:1 week Modified: head/usr.bin/stat/stat.1 Modified: head/usr.bin/stat/stat.1 ===

Re: svn commit: r234577 - head/usr.bin/stat

2012-04-22 Thread Steve Kargl
On Sun, Apr 22, 2012 at 06:18:49PM +, Christian Brueffer wrote: > Author: brueffer > Date: Sun Apr 22 18:18:49 2012 > New Revision: 234577 > URL: http://svn.freebsd.org/changeset/base/234577 > > Log: > Remove duplicate -l description. > > Submitted by: Rainer Hurling > MFC afte

svn commit: r234578 - head/lib/libc/locale

2012-04-22 Thread David Chisnall
Author: theraven Date: Sun Apr 22 18:51:38 2012 New Revision: 234578 URL: http://svn.freebsd.org/changeset/base/234578 Log: Fix some incorrect symbol versions. Reported by: das Modified: head/lib/libc/locale/Symbol.map Modified: head/lib/libc/locale/Symbol.map =

svn commit: r234579 - in head/sys/powerpc: include mpc85xx powerpc

2012-04-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 22 18:54:51 2012 New Revision: 234579 URL: http://svn.freebsd.org/changeset/base/234579 Log: Replace eieio; sync for creating bus-space memory barriers with sync. sync performs a strict superset of the functions of eieio, so using both is redundant. While her

svn commit: r234580 - in head/sys: conf powerpc/include powerpc/powerpc

2012-04-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 22 18:56:56 2012 New Revision: 234580 URL: http://svn.freebsd.org/changeset/base/234580 Log: Remove dead code. The routines in atomic.S did not work properly anyway, and were everywhere unused. If we turn out to need them, they should be reimplemented. M

svn commit: r234581 - in head/sys/powerpc: aim include

2012-04-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 22 19:00:51 2012 New Revision: 234581 URL: http://svn.freebsd.org/changeset/base/234581 Log: Use lwsync to provide memory barriers on systems that support it instead of sync (lwsync is an alternate encoding of sync on systems that do not support it, providing

svn commit: r234583 - head/sys/powerpc/include

2012-04-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 22 20:23:34 2012 New Revision: 234583 URL: http://svn.freebsd.org/changeset/base/234583 Log: On non-64-bit systems (which generally don't have lwsync), use eieio and isync to implement read and write barriers, following Appendix B.2 of Book II of the architec

Re: svn commit: r234356 - in head: gnu/lib/csu lib/clang lib/csu/powerpc

2012-04-22 Thread Andreas Tobler
On 16.04.12 23:36, Dimitry Andric wrote: Author: dim Date: Mon Apr 16 21:36:55 2012 New Revision: 234356 URL: http://svn.freebsd.org/changeset/base/234356 Log: Work around an issue on 32-bit PowerPC, where clang executable can get too big, causing 'relocation truncated to fit' errors at li

svn commit: r234584 - head/sys/powerpc/include

2012-04-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 22 21:11:01 2012 New Revision: 234584 URL: http://svn.freebsd.org/changeset/base/234584 Log: Clarify what we are doing in r234583 a little better: eieio and isync do not provide general barriers, but only barriers in the context of the atomic sequences here.

svn commit: r234585 - head/lib/libc/stdio

2012-04-22 Thread David Schultz
Author: das Date: Sun Apr 22 21:18:41 2012 New Revision: 234585 URL: http://svn.freebsd.org/changeset/base/234585 Log: Refactor scanf to improve modularity. Conversions are now performed by separate conversion functions. This will hopefully make bugs more noticeable (I noticed several alre

svn commit: r234586 - head/lib/libc/stdio

2012-04-22 Thread David Schultz
Author: das Date: Sun Apr 22 21:22:14 2012 New Revision: 234586 URL: http://svn.freebsd.org/changeset/base/234586 Log: Bugfix: %n doesn't count as a conversion, so sscanf("abc", "ab%ncd", &i) returns EOF, not 0. Modified: head/lib/libc/stdio/vfscanf.c head/lib/libc/stdio/vfwscanf.c Modif

svn commit: r234587 - head/lib/libc/stdio

2012-04-22 Thread David Schultz
Author: das Date: Sun Apr 22 21:28:14 2012 New Revision: 234587 URL: http://svn.freebsd.org/changeset/base/234587 Log: Bugfix: Correctly count the number of characters read for %l[ conversions. Modified: head/lib/libc/stdio/vfscanf.c Modified: head/lib/libc/stdio/vfscanf.c ==

svn commit: r234588 - head/lib/libc/stdio

2012-04-22 Thread David Schultz
Author: das Date: Sun Apr 22 21:28:33 2012 New Revision: 234588 URL: http://svn.freebsd.org/changeset/base/234588 Log: Bugfix: Include whitespace characters in the count of the number of characters read. Modified: head/lib/libc/stdio/vfwscanf.c Modified: head/lib/libc/stdio/vfwscanf.c

svn commit: r234589 - head/sys/powerpc/include

2012-04-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 22 21:55:19 2012 New Revision: 234589 URL: http://svn.freebsd.org/changeset/base/234589 Log: Correctly specify assembler constrains for synchronization instructions. MFC after: 3 days Modified: head/sys/powerpc/include/cpufunc.h Modified: head/sys/powerp

svn commit: r234590 - head/sys/powerpc/include

2012-04-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 22 22:27:35 2012 New Revision: 234590 URL: http://svn.freebsd.org/changeset/base/234590 Log: Provide a clearer split between read/write and acquire/release barriers. This should really, actually be correct now. Modified: head/sys/powerpc/include/atomic.h Mo

svn commit: r234592 - head/libexec/rtld-elf/powerpc

2012-04-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Apr 23 00:54:06 2012 New Revision: 234592 URL: http://svn.freebsd.org/changeset/base/234592 Log: Fix a missed file in r234580: replace the now-obsolete powerpc_mb() with regular mb(). Modified: head/libexec/rtld-elf/powerpc/reloc.c Modified: head/libexec/rtld-e

Re: svn commit: r234356 - in head: gnu/lib/csu lib/clang lib/csu/powerpc

2012-04-22 Thread Nathan Whitehorn
On 04/22/12 15:41, Andreas Tobler wrote: On 16.04.12 23:36, Dimitry Andric wrote: Author: dim Date: Mon Apr 16 21:36:55 2012 New Revision: 234356 URL: http://svn.freebsd.org/changeset/base/234356 Log: Work around an issue on 32-bit PowerPC, where clang executable can get too big, causin

Re: svn commit: r234356 - in head: gnu/lib/csu lib/clang lib/csu/powerpc

2012-04-22 Thread Andreas Tobler
On 23.04.12 02:55, Nathan Whitehorn wrote: On 04/22/12 15:41, Andreas Tobler wrote: On 16.04.12 23:36, Dimitry Andric wrote: Author: dim Date: Mon Apr 16 21:36:55 2012 New Revision: 234356 URL: http://svn.freebsd.org/changeset/base/234356 Log: Work around an issue on 32-bit PowerPC, where

svn commit: r234596 - in head: gnu/lib/csu lib/clang lib/csu/powerpc

2012-04-22 Thread Dimitry Andric
Author: dim Date: Mon Apr 23 06:33:27 2012 New Revision: 234596 URL: http://svn.freebsd.org/changeset/base/234596 Log: Revert r234356 for now, as it leads to run-time problems on 32-bit PowerPC. Note this will break world. Reported by: andreast Pointy hat to:dim Modified: h

Re: svn commit: r234356 - in head: gnu/lib/csu lib/clang lib/csu/powerpc

2012-04-22 Thread Dimitry Andric
On 2012-04-23 02:55, Nathan Whitehorn wrote: > On 04/22/12 15:41, Andreas Tobler wrote: >> On 16.04.12 23:36, Dimitry Andric wrote: >>> Author: dim >>> Date: Mon Apr 16 21:36:55 2012 >>> New Revision: 234356 >>> URL: http://svn.freebsd.org/changeset/base/234356 >>> >>> Log: >>>Work around an is