svn commit: r232912 - head/sys/mips/atheros

2012-03-13 Thread Adrian Chadd
Author: adrian Date: Tue Mar 13 06:15:20 2012 New Revision: 232912 URL: http://svn.freebsd.org/changeset/base/232912 Log: Correctly (I hope) deallocate the if_arge RX buffer ring on arge_stop(). I had some interesting hangs until I realised I should try flushing the DDR FIFO register and

svn commit: r232913 - in head/sys: conf mips/conf

2012-03-13 Thread Juli Mallett
Author: jmallett Date: Tue Mar 13 06:22:49 2012 New Revision: 232913 URL: http://svn.freebsd.org/changeset/base/232913 Log: Don't build kernel.tramp on Octeon. Probably building it should be opt-in not opt-out, but I don't know enough about which ports need it to get the defaults right.

svn commit: r232914 - head/sys/mips/atheros

2012-03-13 Thread Adrian Chadd
Author: adrian Date: Tue Mar 13 06:28:52 2012 New Revision: 232914 URL: http://svn.freebsd.org/changeset/base/232914 Log: Fix link status handling on if_arge upon system boot to allow bootp/NFS to function. From the submitter: This patch fixes an issue I encountered using an NFS

svn commit: r232915 - head/sys/contrib/octeon-sdk

2012-03-13 Thread Juli Mallett
Author: jmallett Date: Tue Mar 13 06:48:26 2012 New Revision: 232915 URL: http://svn.freebsd.org/changeset/base/232915 Log: Remove some files not used by the FreeBSD kernel which have been adding quite a bit of bloat to the kernel source tree's size. Deleted:

svn commit: r232916 - head/sys/mips/atheros

2012-03-13 Thread Adrian Chadd
Author: adrian Date: Tue Mar 13 06:50:56 2012 New Revision: 232916 URL: http://svn.freebsd.org/changeset/base/232916 Log: Remove a now unneeded ARGE_UNLOCK(). Whilst I'm here, remove a couple blank lines. Modified: head/sys/mips/atheros/if_arge.c Modified:

Re: svn commit: r232901 - head/usr.sbin/pc-sysinstall/backend

2012-03-13 Thread Alexander Motin
On 03/12/12 23:41, Josh Paetzel wrote: Author: jpaetzel Date: Mon Mar 12 21:41:29 2012 New Revision: 232901 URL: http://svn.freebsd.org/changeset/base/232901 Log: Use gpart -a flag to 4k alignment. Submitted by:kris Obtained from: PC-BSD Modified:

svn commit: r232917 - head/sys/kern

2012-03-13 Thread Alexander Motin
Author: mav Date: Tue Mar 13 08:18:54 2012 New Revision: 232917 URL: http://svn.freebsd.org/changeset/base/232917 Log: Rewrite thread CPU usage percentage math to not depend on periodic calls with HZ rate through the sched_tick() calls from hardclock(). Potentially it can be used to

svn commit: r232918 - in head/sys/fs: fdescfs nullfs portalfs unionfs

2012-03-13 Thread Kevin Lo
Author: kevlo Date: Tue Mar 13 10:04:13 2012 New Revision: 232918 URL: http://svn.freebsd.org/changeset/base/232918 Log: Use NULL instead of 0 Modified: head/sys/fs/fdescfs/fdesc_vfsops.c head/sys/fs/nullfs/null_vfsops.c head/sys/fs/portalfs/portal_vfsops.c

svn commit: r232919 - in head: share/man/man4 sys/kern

2012-03-13 Thread Alexander Motin
Author: mav Date: Tue Mar 13 10:21:08 2012 New Revision: 232919 URL: http://svn.freebsd.org/changeset/base/232919 Log: Add kern.eventtimer.activetick tunable/sysctl, specifying whether each hardclock() tick should be run on every active CPU, or on only one. On my tests, avoiding extra

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

2012-03-13 Thread Alexander Motin
Author: mav Date: Tue Mar 13 10:54:14 2012 New Revision: 232920 URL: http://svn.freebsd.org/changeset/base/232920 Log: Some formatting for r232919. Submitted by: pluknet Modified: head/share/man/man4/eventtimers.4 Modified: head/share/man/man4/eventtimers.4

Re: svn commit: r232921 - in head/sys: modules/netgraph/netflow netgraph/netflow

2012-03-13 Thread Bjoern A. Zeeb
On 13. Mar 2012, at 11:08 , Alexander V. Chernikov wrote: Author: melifaro Date: Tue Mar 13 11:08:40 2012 New Revision: 232921 URL: http://svn.freebsd.org/changeset/base/232921 Log: Use rt_numfibs variable instead of compile-time RT_NUMFIBS. Thanks a lot for doing this! This will allow

Re: svn commit: r232921 - in head/sys: modules/netgraph/netflow netgraph/netflow

2012-03-13 Thread Alexander V. Chernikov
On 13.03.2012 16:51, Bjoern A. Zeeb wrote: On 13. Mar 2012, at 11:08 , Alexander V. Chernikov wrote: Author: melifaro Date: Tue Mar 13 11:08:40 2012 New Revision: 232921 URL: http://svn.freebsd.org/changeset/base/232921 Log: Use rt_numfibs variable instead of compile-time RT_NUMFIBS.

Re: svn commit: r232832 - in head/lib/csu: . amd64 arm common i386-elf mips powerpc powerpc64 sparc64

2012-03-13 Thread Nathan Whitehorn
On 03/11/12 15:04, Konstantin Belousov wrote: Author: kib Date: Sun Mar 11 20:04:09 2012 New Revision: 232832 URL: http://svn.freebsd.org/changeset/base/232832 Log: Stop calling _init/_fini methods from crt1 for dynamic binaries. Do call preinit, init and fini arrays methods from crt1

svn commit: r232926 - in head: include/xlocale lib/libc/locale

2012-03-13 Thread David Chisnall
Author: theraven Date: Tue Mar 13 14:14:13 2012 New Revision: 232926 URL: http://svn.freebsd.org/changeset/base/232926 Log: More xlocale cleanups. Approved by: dim (mentor) Modified: head/include/xlocale/_ctype.h head/lib/libc/locale/Symbol.map Modified:

svn commit: r232927 - head/include/xlocale

2012-03-13 Thread David Chisnall
Author: theraven Date: Tue Mar 13 15:21:14 2012 New Revision: 232927 URL: http://svn.freebsd.org/changeset/base/232927 Log: Add missing prototypes. Approved by: dim (mentor) Modified: head/include/xlocale/_ctype.h Modified: head/include/xlocale/_ctype.h

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

2012-03-13 Thread Marcel Moolenaar
On Mar 5, 2012, at 7:42 PM, Oleksandr Tymoshenko wrote: @@ -308,6 +308,13 @@ _init_tls() } } +#ifdef TLS_VARIANT_I + /* + * tls_static_space should include space for TLS structure + */ + tls_static_space += TLS_TCB_SIZE; +#endif + How does this

svn commit: r232929 - head/include/xlocale

2012-03-13 Thread David Chisnall
Author: theraven Date: Tue Mar 13 17:32:55 2012 New Revision: 232929 URL: http://svn.freebsd.org/changeset/base/232929 Log: Fix the other missing prototypes. Approved by: dim (mentor) Modified: head/include/xlocale/_ctype.h Modified: head/include/xlocale/_ctype.h

Re: svn commit: r232929 - head/include/xlocale

2012-03-13 Thread Andreas Tobler
On 13.03.12 18:32, David Chisnall wrote: Author: theraven Date: Tue Mar 13 17:32:55 2012 New Revision: 232929 URL: http://svn.freebsd.org/changeset/base/232929 Log: Fix the other missing prototypes. Approved by: dim (mentor) Modified: head/include/xlocale/_ctype.h Modified:

svn commit: r232931 - head/include/xlocale

2012-03-13 Thread David Chisnall
Author: theraven Date: Tue Mar 13 18:53:28 2012 New Revision: 232931 URL: http://svn.freebsd.org/changeset/base/232931 Log: And remove the duplicate inlines... Approved by: dim (mentor) Modified: head/include/xlocale/_ctype.h Modified: head/include/xlocale/_ctype.h

svn commit: r232932 - head/lib/csu/powerpc64

2012-03-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Mar 13 18:59:19 2012 New Revision: 232932 URL: http://svn.freebsd.org/changeset/base/232932 Log: Work around a binutils bug on powerpc64 where the TOC would not be properly reloaded when calling _fini() in large binaries with multiple TOC sections (e.g. GCC),

svn commit: r232933 - head/sys/conf

2012-03-13 Thread Dimitry Andric
Author: dim Date: Tue Mar 13 19:18:34 2012 New Revision: 232933 URL: http://svn.freebsd.org/changeset/base/232933 Log: Update comments and CFLAGS in sys/conf/kern.mk, introduced in r221879, to match reality: clang does _not_ disable SSE automatically when -mno-mmx is used, you have to

Re: svn commit: r232894 - head/contrib/llvm/tools/clang/lib/Basic

2012-03-13 Thread Dimitry Andric
On 2012-03-13 03:15, Alexander Best wrote: On Mon Mar 12 12, Dimitry Andric wrote: Author: dim Date: Mon Mar 12 21:07:22 2012 New Revision: 232894 URL: http://svn.freebsd.org/changeset/base/232894 Log: Pull in r145194 from upstream clang trunk: Make our handling of MMX x SSE

svn commit: r232937 - in head/sys/modules: . acl_nfs4 acl_posix1e

2012-03-13 Thread Adrian Chadd
Author: adrian Date: Tue Mar 13 20:28:42 2012 New Revision: 232937 URL: http://svn.freebsd.org/changeset/base/232937 Log: Add module building Makefile entries for NFSv4 and POSIX.1e ACL handling. Added: head/sys/modules/acl_nfs4/ head/sys/modules/acl_nfs4/Makefile (contents, props

svn commit: r232939 - head/sys/conf

2012-03-13 Thread Adrian Chadd
Author: adrian Date: Tue Mar 13 20:29:56 2012 New Revision: 232939 URL: http://svn.freebsd.org/changeset/base/232939 Log: (Re)-make these ACL routines optional. They're only currently used by ZFS and UFS_ACL. They're just wasting space on embedded platforms with neither enabled.

svn commit: r232940 - in head/tools/tools/wtap: vis_map wtap

2012-03-13 Thread Adrian Chadd
Author: adrian Date: Tue Mar 13 20:30:23 2012 New Revision: 232940 URL: http://svn.freebsd.org/changeset/base/232940 Log: Add a BINDIR so make install works. Modified: head/tools/tools/wtap/vis_map/Makefile head/tools/tools/wtap/wtap/Makefile Modified:

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

2012-03-13 Thread Oleksandr Tymoshenko
On 13/03/2012 9:21 AM, Marcel Moolenaar wrote: On Mar 5, 2012, at 7:42 PM, Oleksandr Tymoshenko wrote: @@ -308,6 +308,13 @@ _init_tls() } } +#ifdef TLS_VARIANT_I + /* +* tls_static_space should include space for TLS structure +*/ +

svn commit: r232946 - in head/sys: contrib/dev/ral modules/ralfw modules/ralfw/rt2860

2012-03-13 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Mar 13 21:25:25 2012 New Revision: 232946 URL: http://svn.freebsd.org/changeset/base/232946 Log: Update the rt2860's firmware and add a Makefile for the module. While here remove the ucode header file which was used to generate the fw files but by now is outdated.

svn commit: r232947 - head/sys/kern

2012-03-13 Thread Konstantin Belousov
Author: kib Date: Tue Mar 13 22:00:46 2012 New Revision: 232947 URL: http://svn.freebsd.org/changeset/base/232947 Log: Lock the process around manipulations with p_flag. Reported and reviewed by: jh MFC after:3 days Modified: head/sys/kern/kern_exit.c Modified:

svn commit: r232948 - head/sys/ufs/ffs

2012-03-13 Thread Konstantin Belousov
Author: kib Date: Tue Mar 13 22:04:27 2012 New Revision: 232948 URL: http://svn.freebsd.org/changeset/base/232948 Log: Supply boolean as the second argument to ffs_update(), and not a MNT_[NO]WAIT constants, which in fact always caused sync operation. Based on the submission by: bde

svn commit: r232951 - head/sys/dev/fxp

2012-03-13 Thread Pyun YongHyeon
Author: yongari Date: Wed Mar 14 00:26:36 2012 New Revision: 232951 URL: http://svn.freebsd.org/changeset/base/232951 Log: fxp(4) does not handle deferred dma map loading. Tell bus_dmamap_load(9) that it should return immediately with error when there are insufficient mapping resources.

svn commit: r232953 - head/sys/dev/fxp

2012-03-13 Thread Pyun YongHyeon
Author: yongari Date: Wed Mar 14 00:54:37 2012 New Revision: 232953 URL: http://svn.freebsd.org/changeset/base/232953 Log: Fix white space nits. Modified: head/sys/dev/fxp/if_fxp.c Modified: head/sys/dev/fxp/if_fxp.c