Re: svn commit: r216591 - head

2010-12-21 Thread Alexander Leidinger
On Mon, 20 Dec 2010 19:42:51 -0500 Ben Kaduk minimar...@gmail.com wrote: On Mon, Dec 20, 2010 at 10:17 AM, Alexander Leidinger netch...@freebsd.org wrote: == --- head/UPDATING       Mon Dec 20 14:54:24 2010        

svn commit: r216614 - head/sys/dev/atkbdc

2010-12-21 Thread John Baldwin
Author: jhb Date: Tue Dec 21 12:49:37 2010 New Revision: 216614 URL: http://svn.freebsd.org/changeset/base/216614 Log: Only use the BIOS-supplied IRQ for the atkbdc device for a child atkbd device. Specifically, do not reuse it for a child psm device. Tested by:many Modified:

svn commit: r216615 - in head/sys: conf kern sys

2010-12-21 Thread Lawrence Stewart
Author: lstewart Date: Tue Dec 21 13:45:29 2010 New Revision: 216615 URL: http://svn.freebsd.org/changeset/base/216615 Log: - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9), and in many respects can be thought of as a more generic superset of pfil. Hhook

svn commit: r216616 - in head/sys: kern sys

2010-12-21 Thread Matthew D Fleming
Author: mdf Date: Tue Dec 21 16:29:58 2010 New Revision: 216616 URL: http://svn.freebsd.org/changeset/base/216616 Log: Move the fail_point_entry definition from fail.h to kern_fail.c, which allows putting the enumeration constants of fail point types with the text string that matches them.

Re: svn commit: r216616 - in head/sys: kern sys

2010-12-21 Thread mdf
On Tue, Dec 21, 2010 at 8:29 AM, Matthew D Fleming m...@freebsd.org wrote: Author: mdf Date: Tue Dec 21 16:29:58 2010 New Revision: 216616 URL: http://svn.freebsd.org/changeset/base/216616 Log:  Move the fail_point_entry definition from fail.h to kern_fail.c, which  allows putting the

Re: svn commit: r216616 - in head/sys: kern sys

2010-12-21 Thread Stefan Farfeleder
On Tue, Dec 21, 2010 at 04:29:58PM +, Matthew D Fleming wrote: Author: mdf Date: Tue Dec 21 16:29:58 2010 New Revision: 216616 URL: http://svn.freebsd.org/changeset/base/216616 Log: Move the fail_point_entry definition from fail.h to kern_fail.c, which allows putting the

Re: svn commit: r216616 - in head/sys: kern sys

2010-12-21 Thread mdf
On Tue, Dec 21, 2010 at 8:52 AM, Stefan Farfeleder stef...@freebsd.org wrote: On Tue, Dec 21, 2010 at 04:29:58PM +, Matthew D Fleming wrote: Author: mdf Date: Tue Dec 21 16:29:58 2010 New Revision: 216616 URL: http://svn.freebsd.org/changeset/base/216616 Log:   Move the

svn commit: r216619 - head/sbin/geom/class/part

2010-12-21 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 21 17:24:32 2010 New Revision: 216619 URL: http://svn.freebsd.org/changeset/base/216619 Log: Check number of arguments before trying to read arg0. This prevents access to arg0 and dumping core when `gpart bootcode` called without arguments. Modified:

svn commit: r216620 - in head/sys: kern sys

2010-12-21 Thread Matthew D Fleming
Author: mdf Date: Tue Dec 21 18:23:03 2010 New Revision: 216620 URL: http://svn.freebsd.org/changeset/base/216620 Log: Initialize fp_location for explicitly managed fail points, and push the parentheses around the location for simple fail points into the location string. This makes the

svn commit: r216621 - head/sys/netinet

2010-12-21 Thread John Baldwin
Author: jhb Date: Tue Dec 21 19:30:24 2010 New Revision: 216621 URL: http://svn.freebsd.org/changeset/base/216621 Log: Fix a typo in a comment. MFC after:1 week Modified: head/sys/netinet/tcp_timer.c Modified: head/sys/netinet/tcp_timer.c

svn commit: r216622 - in head/bin/sh: . bltin

2010-12-21 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 21 20:47:06 2010 New Revision: 216622 URL: http://svn.freebsd.org/changeset/base/216622 Log: sh: Add a function to print warnings (with command name and newline). This is like error() but without raising an exception. It is particularly useful as a replacement

svn commit: r216623 - head/sys/dev/mii

2010-12-21 Thread Marius Strobl
Author: marius Date: Tue Dec 21 21:12:18 2010 New Revision: 216623 URL: http://svn.freebsd.org/changeset/base/216623 Log: - Add a comment regarding the fact that as documented in the datasheet manual 1000BASE-T modes of DP83865 only work together with other National Semiconductor PHYs.

svn commit: r216625 - head/sys/sparc64/include

2010-12-21 Thread Marius Strobl
Author: marius Date: Tue Dec 21 21:32:17 2010 New Revision: 216625 URL: http://svn.freebsd.org/changeset/base/216625 Log: Revert r216080 so kmem_map is capped at 3/5 of the currently rather modest kernel address space in order to leave space for the buffer cache, pipes, thread stacks, etc

Re: svn commit: r216625 - head/sys/sparc64/include

2010-12-21 Thread Alan Cox
Marius Strobl wrote: Author: marius Date: Tue Dec 21 21:32:17 2010 New Revision: 216625 URL: http://svn.freebsd.org/changeset/base/216625 Log: Revert r216080 so kmem_map is capped at 3/5 of the currently rather modest kernel address space in order to leave space for the buffer cache, pipes,

svn commit: r216626 - head/sys/sys

2010-12-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Dec 21 21:59:21 2010 New Revision: 216626 URL: http://svn.freebsd.org/changeset/base/216626 Log: Close body of the VFS_UNLOCK_GIANT() macro into do { } while (0) loop, so it can be used in code like this: if (cond) VFS_UNLOCK_GIANT(vfslocked);

svn commit: r216627 - head/sys/nfsserver

2010-12-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Dec 21 22:01:26 2010 New Revision: 216627 URL: http://svn.freebsd.org/changeset/base/216627 Log: After r216626 no extra { } are needed with VFS_UNLOCK_GIANT(). Modified: head/sys/nfsserver/nfs_srvsubs.c Modified: head/sys/nfsserver/nfs_srvsubs.c

svn commit: r216628 - in head/sys/sparc64: include sparc64

2010-12-21 Thread Marius Strobl
Author: marius Date: Tue Dec 21 22:03:12 2010 New Revision: 216628 URL: http://svn.freebsd.org/changeset/base/216628 Log: Extend the hack of r182730 to trick GAS/GCC into compiling access to STICK/STICK_COMPARE independently of the selected instruction set by TICK_COMPARE so tick.c as of

svn commit: r216629 - in head: bin/kill bin/sh bin/sh/bltin share/man/man1

2010-12-21 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 21 22:47:34 2010 New Revision: 216629 URL: http://svn.freebsd.org/changeset/base/216629 Log: sh: Add kill builtin. This allows specifying a %job (which is equivalent to the corresponding process group). Additionally, it improves reliability of kill from

svn commit: r216630 - head/bin/sh

2010-12-21 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 21 22:48:56 2010 New Revision: 216630 URL: http://svn.freebsd.org/changeset/base/216630 Log: sh(1): Explain why it is a bad idea to use aliases in scripts. Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1

svn commit: r216631 - head/sys/nfsserver

2010-12-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Dec 21 23:04:04 2010 New Revision: 216631 URL: http://svn.freebsd.org/changeset/base/216631 Log: On error, unbusy file system and jump to the end, so we won't try to unlock NULL *vpp. Reviewed by: kib MFC after:5 days Modified:

svn commit: r216632 - head/sys/nfsserver

2010-12-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Dec 21 23:12:45 2010 New Revision: 216632 URL: http://svn.freebsd.org/changeset/base/216632 Log: - Move pubflag and lockflag handling from nfsrv_fhtovp() to nfs_namei() - this is the only place that is different from all the other nfsrv_fhtovp() consumers. This

svn commit: r216633 - head/sys/nfsserver

2010-12-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Dec 21 23:15:40 2010 New Revision: 216633 URL: http://svn.freebsd.org/changeset/base/216633 Log: Use newly added NFSRV_FLAG_BUSY flag for nfsrv_fhtovp() to keep mount point busy. This fixes a race where we can pass invalid mount point to VFS_VGET() via vp-v_mount when

svn commit: r216634 - in head/sys/amd64: amd64 ia32 include linux32

2010-12-21 Thread Jung-uk Kim
Author: jkim Date: Wed Dec 22 00:18:42 2010 New Revision: 216634 URL: http://svn.freebsd.org/changeset/base/216634 Log: Improve PCB flags handling and make it more robust. Add two new functions for manipulating pcb_flags. These inline functions are very similar to atomic_set_char(9) and

svn commit: r216641 - in head: lib/libthr/thread sys/kern sys/sys

2010-12-21 Thread David Xu
Author: davidxu Date: Wed Dec 22 05:01:52 2010 New Revision: 216641 URL: http://svn.freebsd.org/changeset/base/216641 Log: MFp4: - Add flags CVWAIT_ABSTIME and CVWAIT_CLOCKID for umtx kernel based condition variable, this should eliminate an extra system call to get current time.

svn commit: r216642 - head/lib/libthr/thread

2010-12-21 Thread David Xu
Author: davidxu Date: Wed Dec 22 05:03:24 2010 New Revision: 216642 URL: http://svn.freebsd.org/changeset/base/216642 Log: Add sleep queue code. Added: head/lib/libthr/thread/thr_sleepq.c (contents, props changed) Added: head/lib/libthr/thread/thr_sleepq.c