svn commit: r209683 - head/sys/dev/ata

2010-07-04 Thread Warner Losh
Author: imp Date: Sun Jul 4 07:42:52 2010 New Revision: 209683 URL: http://svn.freebsd.org/changeset/base/209683 Log: Add a safety-belt. If the identified disk has 0 blocks, don't attach it. This can happen in some cases when plugging in SD/SmartCard PC Cards with empty slots. It is bett

svn commit: r209684 - head/lib/libc/net

2010-07-04 Thread Bruce Cran
Author: brucec Date: Sun Jul 4 08:09:33 2010 New Revision: 209684 URL: http://svn.freebsd.org/changeset/base/209684 Log: Use ISO C99 integer types instead of the BSD-specific u_int*_t. Approved by: rrs (mentor) Modified: head/lib/libc/net/sctp_recvmsg.3 head/lib/libc/net/sctp_send.3

svn commit: r209685 - head/sys/vm

2010-07-04 Thread Konstantin Belousov
Author: kib Date: Sun Jul 4 11:13:33 2010 New Revision: 209685 URL: http://svn.freebsd.org/changeset/base/209685 Log: Introduce a helper function vm_page_find_least(). Use it in several places, which inline the function. Reviewed by: alc Tested by:pho MFC after:1 week Modif

svn commit: r209686 - head/sys/vm

2010-07-04 Thread Konstantin Belousov
Author: kib Date: Sun Jul 4 11:26:56 2010 New Revision: 209686 URL: http://svn.freebsd.org/changeset/base/209686 Log: Reimplement vm_object_page_clean(), using the fact that vm object memq is ordered by page index. This greatly simplifies the implementation, since we no longer need to mark

svn commit: r209687 - head/sys/compat/freebsd32

2010-07-04 Thread Konstantin Belousov
Author: kib Date: Sun Jul 4 11:43:53 2010 New Revision: 209687 URL: http://svn.freebsd.org/changeset/base/209687 Log: Constify source argument for siginfo_to_siginfo32(). MFC after:1 week Modified: head/sys/compat/freebsd32/freebsd32_misc.c head/sys/compat/freebsd32/freebsd32_sign

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

2010-07-04 Thread Konstantin Belousov
Author: kib Date: Sun Jul 4 11:48:30 2010 New Revision: 209688 URL: http://svn.freebsd.org/changeset/base/209688 Log: Extend ptrace(PT_LWPINFO) to report siginfo for the signal that caused debugee stop. The change should keep the ABI. Take care of compat32. Discussed with: davidxu,

svn commit: r209689 - head/lib/libthread_db

2010-07-04 Thread Konstantin Belousov
Author: kib Date: Sun Jul 4 12:08:04 2010 New Revision: 209689 URL: http://svn.freebsd.org/changeset/base/209689 Log: Extend the td_thrinfo_t to include siginfo for the signal that stopped the target. Take care of ABI. Suggested by: davidxu MFC after:2 weeks Modified: head/lib/l

svn commit: r209690 - head/gnu/usr.bin/gdb/libgdb

2010-07-04 Thread Konstantin Belousov
Author: kib Date: Sun Jul 4 12:09:30 2010 New Revision: 209690 URL: http://svn.freebsd.org/changeset/base/209690 Log: For "thread signal" command, print some information from siginfo when available. Suggested by: davidxu MFC after:2 weeks Modified: head/gnu/usr.bin/gdb/libgdb/fb

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

2010-07-04 Thread Marius Strobl
Author: marius Date: Sun Jul 4 12:43:12 2010 New Revision: 209695 URL: http://svn.freebsd.org/changeset/base/209695 Log: - Pin the IPI cache and TLB demap functions in order to prevent migration between determining the other CPUs and calling cpu_ipi_selected(), which apart from generall

svn commit: r209697 - head/sys/kern

2010-07-04 Thread Konstantin Belousov
Author: kib Date: Sun Jul 4 18:16:17 2010 New Revision: 209697 URL: http://svn.freebsd.org/changeset/base/209697 Log: Obey sv_syscallnames bounds in syscallname(). Reported and tested by: pho Modified: head/sys/kern/subr_trap.c Modified: head/sys/kern/subr_trap.c

svn commit: r209702 - head/sys/vm

2010-07-04 Thread Konstantin Belousov
Author: kib Date: Sun Jul 4 19:02:32 2010 New Revision: 209702 URL: http://svn.freebsd.org/changeset/base/209702 Log: Several cleanups for the r209686: - remove unused defines; - remove unused curgeneration argument for vm_object_page_collect_flush(); - always assert that vm_object_page_c

svn commit: r209703 - head/sbin/reboot

2010-07-04 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Sun Jul 4 20:39:07 2010 New Revision: 209703 URL: http://svn.freebsd.org/changeset/base/209703 Log: Let boot(8) refer to the uart(4) serial driver, which is the replacement for the obsolete sio(4) driver. PR: docs/144498 Submitted by: Bru

svn commit: r209704 - head/sbin/geom/class/multipath

2010-07-04 Thread Matt Jacob
Author: mjacob Date: Sun Jul 4 22:17:56 2010 New Revision: 209704 URL: http://svn.freebsd.org/changeset/base/209704 Log: Fix the clear function which has been broken for a bit. MFC after:1 week Modified: head/sbin/geom/class/multipath/geom_multipath.c Modified: head/sbin/geom/class

Re: svn commit: r209634 - head/sys/x86/isa

2010-07-04 Thread Doug Barton
This commit results in a panic at boot time for me very early on. Screenshots at: http://people.freebsd.org/~dougb/panic-01.jpg http://people.freebsd.org/~dougb/panic-02.jpg http://people.freebsd.org/~dougb/panic-03.jpg Not sure if it's relevant or not, but after the trace is done I typed 'call

svn commit: r209709 - head/lib/libc/net

2010-07-04 Thread Bruce Cran
Author: brucec Date: Mon Jul 5 03:55:49 2010 New Revision: 209709 URL: http://svn.freebsd.org/changeset/base/209709 Log: Increment 'sa' at the end of the loop; otherwise, only the first address ever gets checked. Approved by: rrs (mentor) MFC after: 1 month Modified: head/lib/libc/n