svn commit: r207461 - head/usr.sbin/config

2010-05-01 Thread Warner Losh
Author: imp Date: Sat May 1 07:25:28 2010 New Revision: 207461 URL: http://svn.freebsd.org/changeset/base/207461 Log: sparc64, and possibly other architectures, pads the length of the section holding the config file to sh_addralign bytes using NULs. This bogusly triggers an assert. Break

svn commit: r207462 - head/sbin/tunefs

2010-05-01 Thread Edwin Groothuis
Author: edwin Date: Sat May 1 09:05:06 2010 New Revision: 207462 URL: http://svn.freebsd.org/changeset/base/207462 Log: Improve usage of tunefs: Document -j switch in usage() to reflect recent SUJ work. Submitted by: Alastair Hogge MFC after: 1 week Modified:

svn commit: r207463 - head/sys/amd64/amd64

2010-05-01 Thread Konstantin Belousov
Author: kib Date: Sat May 1 13:15:35 2010 New Revision: 207463 URL: http://svn.freebsd.org/changeset/base/207463 Log: Remove debugging code that was not used once since commit. Suggested by: bde MFC after:1 week Modified: head/sys/amd64/amd64/trap.c Modified:

svn commit: r207465 - stable/8/bin/ln

2010-05-01 Thread Jilles Tjoelker
Author: jilles Date: Sat May 1 14:33:26 2010 New Revision: 207465 URL: http://svn.freebsd.org/changeset/base/207465 Log: MFC r207021: ln: Allow a trailing slash when creating a link to a directory. In the 'ln source... directory' synopsis, the basename of each source determines the name

svn commit: r207466 - stable/8/usr.bin/stat

2010-05-01 Thread Jilles Tjoelker
Author: jilles Date: Sat May 1 14:36:04 2010 New Revision: 207466 URL: http://svn.freebsd.org/changeset/base/207466 Log: MFC r207153: stat: Allow -f %Sf to display the file flags symbolically. PR: 124349 Modified: stable/8/usr.bin/stat/stat.1 stable/8/usr.bin/stat/stat.c

svn commit: r207467 - stable/8/share/man/man1

2010-05-01 Thread Jilles Tjoelker
Author: jilles Date: Sat May 1 14:41:37 2010 New Revision: 207467 URL: http://svn.freebsd.org/changeset/base/207467 Log: MFC r207166: builtin(1): Mention [ sh builtin. Modified: stable/8/share/man/man1/builtin.1 Directory Properties: stable/8/share/man/man1/ (props changed) Modified:

svn commit: r207468 - head/sys/kern

2010-05-01 Thread Konstantin Belousov
Author: kib Date: Sat May 1 14:46:17 2010 New Revision: 207468 URL: http://svn.freebsd.org/changeset/base/207468 Log: Extract thread_lock()/ruxagg()/thread_unlock() fragment into utility function ruxagg_tlock(). Convert the definition of kern_getrusage() to ANSI C. Submitted by:

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

2010-05-01 Thread Attilio Rao
2010/5/1 Konstantin Belousov k...@freebsd.org: Author: kib Date: Sat May  1 14:46:17 2010 New Revision: 207468 URL: http://svn.freebsd.org/changeset/base/207468 Log:  Extract thread_lock()/ruxagg()/thread_unlock() fragment into utility  function ruxagg_tlock().  Convert the definition of

svn commit: r207469 - stable/8/share/man/man1

2010-05-01 Thread Jilles Tjoelker
Author: jilles Date: Sat May 1 14:49:20 2010 New Revision: 207469 URL: http://svn.freebsd.org/changeset/base/207469 Log: MFC r207168: builtin(1): Add missing escaping for !, . and : in the table. This caused these commands to look differently (not bold) from the other commands in the

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

2010-05-01 Thread Attilio Rao
2010/5/1 Kip Macy km...@freebsd.org: Author: kmacy Date: Sat May  1 03:41:21 2010 New Revision: 207460 URL: http://svn.freebsd.org/changeset/base/207460 Log:  Update locking comment above vm_page:         - re-assign page queue lock Q         - assign page lock P         - update several

svn commit: r207470 - stable/7/share/man/man1

2010-05-01 Thread Jilles Tjoelker
Author: jilles Date: Sat May 1 14:57:35 2010 New Revision: 207470 URL: http://svn.freebsd.org/changeset/base/207470 Log: MFC r207166: builtin(1): Mention [ sh builtin. Modified: stable/7/share/man/man1/builtin.1 Directory Properties: stable/7/share/man/man1/ (props changed) Modified:

svn commit: r207471 - stable/7/share/man/man1

2010-05-01 Thread Jilles Tjoelker
Author: jilles Date: Sat May 1 15:00:00 2010 New Revision: 207471 URL: http://svn.freebsd.org/changeset/base/207471 Log: MFC r207168: builtin(1): Add missing escaping for !, . and : in the table. This caused these commands to look differently (not bold) from the other commands in the

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

2010-05-01 Thread Kostik Belousov
On Sat, May 01, 2010 at 04:47:36PM +0200, Attilio Rao wrote: 2010/5/1 Konstantin Belousov k...@freebsd.org: Author: kib Date: Sat May  1 14:46:17 2010 New Revision: 207468 URL: http://svn.freebsd.org/changeset/base/207468 Log:  Extract thread_lock()/ruxagg()/thread_unlock() fragment

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

2010-05-01 Thread Alan Cox
Kip Macy wrote: Author: kmacy Date: Fri Apr 30 21:20:14 2010 New Revision: 207450 URL: http://svn.freebsd.org/changeset/base/207450 Log: - acquire the page lock in vm_contig_launder_page before checking page fields - release page queue lock before calling vm_pageout_flush This change

svn commit: r207472 - in head/sys: conf dev/ath/ath_hal/ar5212

2010-05-01 Thread Warner Losh
Author: imp Date: Sat May 1 16:36:14 2010 New Revision: 207472 URL: http://svn.freebsd.org/changeset/base/207472 Log: The Atheros AR71xx CPUs, when paired with the AR5212 parts, has a bug that generates a fatal bus trap. Normally, the chips are setup to do 128 byte DMA bursts, but when on

svn commit: r207473 - head/sys/mips/conf

2010-05-01 Thread Warner Losh
Author: imp Date: Sat May 1 16:38:40 2010 New Revision: 207473 URL: http://svn.freebsd.org/changeset/base/207473 Log: Put the -current debugging options back into AR71XX. Modified: head/sys/mips/conf/AR71XX Modified: head/sys/mips/conf/AR71XX

svn commit: r207474 - head/sys/mips/conf

2010-05-01 Thread Warner Losh
Author: imp Date: Sat May 1 16:39:46 2010 New Revision: 207474 URL: http://svn.freebsd.org/changeset/base/207474 Log: Enable AH_RXCFG_SDMAMW_4BYTES option. See NOTES file for why this is workaround (WAR) is needed. Modified: head/sys/mips/conf/AR71XX Modified: head/sys/mips/conf/AR71XX

svn commit: r207475 - head/sys/kern

2010-05-01 Thread Marko Zec
Author: zec Date: Sat May 1 18:34:50 2010 New Revision: 207475 URL: http://svn.freebsd.org/changeset/base/207475 Log: Remove a redundant variable assignment. Reviewed by: bz, rwatson MFC after:3 days Modified: head/sys/kern/uipc_mbuf.c Modified: head/sys/kern/uipc_mbuf.c

svn commit: r207476 - head/lib/libufs

2010-05-01 Thread Ed Maste
Author: emaste Date: Sat May 1 18:56:45 2010 New Revision: 207476 URL: http://svn.freebsd.org/changeset/base/207476 Log: Search beyond the first 1/8th of inodes. Submitted by: jeff Modified: head/lib/libufs/cgroup.c Modified: head/lib/libufs/cgroup.c

svn commit: r207477 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-05-01 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat May 1 19:00:33 2010 New Revision: 207477 URL: http://svn.freebsd.org/changeset/base/207477 Log: MFC r207068,r207334: r207068: Allow to modify directory's content even if the ZFS_NOUNLINK (SF_NOUNLINK, sunlnk) flag is set. We only deny dirctory's removal or

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

2010-05-01 Thread Martin Matuska
Author: mm Date: Sat May 1 19:53:15 2010 New Revision: 207480 URL: http://svn.freebsd.org/changeset/base/207480 Log: Change description of tunable group vfs.zfs.txg to be more understandable. Approved by: pjd, delphij (mentor) MFC after:3 days Modified:

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

2010-05-01 Thread Martin Matuska
Author: mm Date: Sat May 1 20:44:37 2010 New Revision: 207481 URL: http://svn.freebsd.org/changeset/base/207481 Log: Add sysctl and loader tunable vfs.zfs.txg.write_limit_override. This tunable improves fine-tuning of ZFS write throttling. PR: kern/146108 Suggested by:

svn commit: r207482 - head/lib/libpmc

2010-05-01 Thread Ryan Stone
Author: rstone Date: Sat May 1 21:59:06 2010 New Revision: 207482 URL: http://svn.freebsd.org/changeset/base/207482 Log: When configuring hwpmc to use the EXT_SNOOP event, only send a default cachestate qualifier on the Atom processor. Other Intel processors do not accept a cachestate

svn commit: r207483 - head/usr.bin/pathchk

2010-05-01 Thread Jilles Tjoelker
Author: jilles Date: Sat May 1 22:00:28 2010 New Revision: 207483 URL: http://svn.freebsd.org/changeset/base/207483 Log: pathchk: Add the new POSIX -P option. This option checks for empty pathnames and components starting with '-'. Our -p option also checks for the latter, which remains

svn commit: r207484 - head/sys/dev/hwpmc

2010-05-01 Thread Ryan Stone
Author: rstone Date: Sat May 1 22:04:58 2010 New Revision: 207484 URL: http://svn.freebsd.org/changeset/base/207484 Log: When configuring a system-wide couting PMC, hwpmc was incorrectly logging process mappings for that PMC. Nothing ever reads pmc logs out of a counting PMC, so the log

svn commit: r207485 - head/usr.bin/pathchk

2010-05-01 Thread Jilles Tjoelker
Author: jilles Date: Sat May 1 22:10:45 2010 New Revision: 207485 URL: http://svn.freebsd.org/changeset/base/207485 Log: pathchk(1): Fix the example so it allows arbitrary pathnames. Spaces and various other characters in pathnames are not passed through literally by xargs in its

Re: svn commit: r207472 - in head/sys: conf dev/ath/ath_hal/ar5212

2010-05-01 Thread Daniel O'Connor
On 02/05/2010, at 2:06 AM, Warner Losh wrote: Unfortunately, this condition is impossible to detect at runtime without MIPS specific ifdefs. Rather than cast an overly-broad net like Linux/OpenWRT dues (which enables this workaround all the time on MIPS32 platforms), we put this option

svn commit: r207487 - head/sys/vm

2010-05-01 Thread Alan Cox
Author: alc Date: Sun May 2 01:25:03 2010 New Revision: 207487 URL: http://svn.freebsd.org/changeset/base/207487 Log: Correct an error of omission in r206819. If VMFS_TLB_ALIGNED_SPACE is specified to vm_map_find(), then retry the vm_map_findspace() if vm_map_insert() fails because the

Re: svn commit: r207472 - in head/sys: conf dev/ath/ath_hal/ar5212

2010-05-01 Thread M. Warner Losh
In message: 9624cc6a-eeb1-4492-9e62-7acd0bf6f...@gsoft.com.au Daniel O'Connor docon...@gsoft.com.au writes: : : On 02/05/2010, at 2:06 AM, Warner Losh wrote: : Unfortunately, this condition is impossible to detect at runtime : without MIPS specific ifdefs. Rather than cast an

Re: svn commit: r207472 - in head/sys: conf dev/ath/ath_hal/ar5212

2010-05-01 Thread Daniel O'Connor
On 02/05/2010, at 11:17 AM, M. Warner Losh wrote: : Could you do TUNABLE_INT in the MIPS code and TUNABLE_INT_FETCH in ath_hal? How is that better than a kernel option? The only place this would ever happen is atheros AR71xx SoC. It isn't like some of the Atheros 71xx SoCs would have it

svn commit: r207490 - head/sys/cam

2010-05-01 Thread Alexander Motin
Author: mav Date: Sun May 2 04:16:39 2010 New Revision: 207490 URL: http://svn.freebsd.org/changeset/base/207490 Log: Add xpt_schedule_dev_sendq() call, lost at r203108. It is not needed in usual operation, but required in some conditions to make queue running after being shrinked.