svn commit: r211730 - in head/usr.sbin/pc-sysinstall: backend backend-query pc-sysinstall

2010-08-24 Thread Warner Losh
Author: imp Date: Tue Aug 24 06:11:46 2010 New Revision: 211730 URL: http://svn.freebsd.org/changeset/base/211730 Log: Indent things consistently PR: 149926 Submitted by: John Hixson Modified: head/usr.sbin/pc-sysinstall/backend-query/disk-info.sh

svn commit: r211731 - head/gnu/lib/libdialog

2010-08-24 Thread Warner Losh
Author: imp Date: Tue Aug 24 06:30:46 2010 New Revision: 211731 URL: http://svn.freebsd.org/changeset/base/211731 Log: Create a checklist and call one of the *printw() functions from the selected() callback. When the dialog first appears, you will not see the printed statement on the

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

2010-08-24 Thread David Xu
Author: davidxu Date: Tue Aug 24 07:22:24 2010 New Revision: 211732 URL: http://svn.freebsd.org/changeset/base/211732 Log: - According to specification, SI_USER code should only be generated by standard kill(). On other systems, SI_LWP is generated by lwp_kill(). This will allow

svn commit: r211733 - head/sys/kern

2010-08-24 Thread David Xu
Author: davidxu Date: Tue Aug 24 07:29:55 2010 New Revision: 211733 URL: http://svn.freebsd.org/changeset/base/211733 Log: Optimize thr_suspend, if timeout is zero, don't call msleep, just return immediately. Modified: head/sys/kern/kern_thr.c Modified: head/sys/kern/kern_thr.c

svn commit: r211735 - head/sys/sys

2010-08-24 Thread David Xu
Author: davidxu Date: Tue Aug 24 08:09:30 2010 New Revision: 211735 URL: http://svn.freebsd.org/changeset/base/211735 Log: Bump __FreeBSD_version for revision 211732. Noticed by: thompa Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r211737 - in head/lib/libthr: . thread

2010-08-24 Thread David Xu
Author: davidxu Date: Tue Aug 24 09:57:06 2010 New Revision: 211737 URL: http://svn.freebsd.org/changeset/base/211737 Log: Add wrapper for setcontext() and swapcontext(), the wrappers unblock SIGCANCEL which is needed by thread cancellation. Modified: head/lib/libthr/pthread.map

svn commit: r211738 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 11:11:58 2010 New Revision: 211738 URL: http://svn.freebsd.org/changeset/base/211738 Log: Port the fasttrap provider to FreeBSD. This provider is responsible for injecting debugging probes in the userland programs and is the basis for the pid provider and the

Re: svn commit: r211738 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2010-08-24 Thread Kostik Belousov
On Tue, Aug 24, 2010 at 11:11:58AM +, Rui Paulo wrote: Author: rpaulo Date: Tue Aug 24 11:11:58 2010 New Revision: 211738 URL: http://svn.freebsd.org/changeset/base/211738 Log: Port the fasttrap provider to FreeBSD. This provider is responsible for injecting debugging probes in

svn commit: r211741 - head/sys/sys

2010-08-24 Thread Konstantin Belousov
Author: kib Date: Tue Aug 24 11:53:30 2010 New Revision: 211741 URL: http://svn.freebsd.org/changeset/base/211741 Log: Use preferred spelling for the __attribute__. MFC after:3 days Modified: head/sys/sys/cdefs.h Modified: head/sys/sys/cdefs.h

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

2010-08-24 Thread Konstantin Belousov
Author: kib Date: Tue Aug 24 11:54:48 2010 New Revision: 211742 URL: http://svn.freebsd.org/changeset/base/211742 Log: The __hidden definition is provided by sys/cdefs.h. MFC after:2 weeks Modified: head/lib/libthr/thread/thr_private.h Modified: head/lib/libthr/thread/thr_private.h

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

2010-08-24 Thread Konstantin Belousov
Author: kib Date: Tue Aug 24 11:55:25 2010 New Revision: 211743 URL: http://svn.freebsd.org/changeset/base/211743 Log: Remove unused source. MFC after:2 weeks Deleted: head/lib/libthr/thread/thr_atfork.c ___ svn-src-head@freebsd.org

Re: svn commit: r211738 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2010-08-24 Thread Rui Paulo
On 24 Aug 2010, at 12:48, Kostik Belousov wrote: On Tue, Aug 24, 2010 at 11:11:58AM +, Rui Paulo wrote: Author: rpaulo Date: Tue Aug 24 11:11:58 2010 New Revision: 211738 URL: http://svn.freebsd.org/changeset/base/211738 Log: Port the fasttrap provider to FreeBSD. This provider is

Re: svn commit: r211738 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2010-08-24 Thread Kostik Belousov
On Tue, Aug 24, 2010 at 12:59:30PM +0100, Rui Paulo wrote: On 24 Aug 2010, at 12:48, Kostik Belousov wrote: +#if defined(sun) for (i = 0; i NCPU; i++) { mutex_enter(cpu_core[i].cpuc_pid_lock); mutex_exit(cpu_core[i].cpuc_pid_lock); } +#else + /* XXX

svn commit: r211744 - head/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 12:05:58 2010 New Revision: 211744 URL: http://svn.freebsd.org/changeset/base/211744 Log: MD fasttrap implementation. Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c Modified:

svn commit: r211745 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 12:12:03 2010 New Revision: 211745 URL: http://svn.freebsd.org/changeset/base/211745 Log: Replace a pksignal() call with tdksignal(). Pointed out by: kib Modified: head/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c Modified:

svn commit: r211746 - head/sys/modules/dtrace/fasttrap

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 12:18:39 2010 New Revision: 211746 URL: http://svn.freebsd.org/changeset/base/211746 Log: Update for the recent location of the fasttrap code. Sponsored by: The FreeBSD Foundation Modified: head/sys/modules/dtrace/fasttrap/Makefile Modified:

svn commit: r211747 - head/sys/boot/common

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 12:56:45 2010 New Revision: 211747 URL: http://svn.freebsd.org/changeset/base/211747 Log: Replace structure assignments with explicity memcpy calls. This allows Clang to compile this file: it was using the builtin memcpy and we want to use the memcpy defined

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

2010-08-24 Thread Konstantin Belousov
Author: kib Date: Tue Aug 24 12:58:54 2010 New Revision: 211748 URL: http://svn.freebsd.org/changeset/base/211748 Log: Move the __stack_chk_fail_lo...@fbsd_1.0 compat symbol definition into the separate .o for libc_pic.a. This prevents rtld from making the symbol global. Putting the

svn commit: r211749 - head/libexec/rtld-elf

2010-08-24 Thread Konstantin Belousov
Author: kib Date: Tue Aug 24 13:01:14 2010 New Revision: 211749 URL: http://svn.freebsd.org/changeset/base/211749 Log: Remove exports table. Export control by the version script is enough. Reviewed by: kan MFC after:3 weeks Modified: head/libexec/rtld-elf/rtld.c Modified:

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

2010-08-24 Thread Konstantin Belousov
Author: kib Date: Tue Aug 24 13:02:22 2010 New Revision: 211750 URL: http://svn.freebsd.org/changeset/base/211750 Log: Remove extra FreeBSD tag. MFC after:3 days Modified: head/lib/libc/sys/stack_protector.c Modified: head/lib/libc/sys/stack_protector.c

svn commit: r211751 - head/sys/sys

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 13:11:24 2010 New Revision: 211751 URL: http://svn.freebsd.org/changeset/base/211751 Log: Add a trap code for DTrace induced traps. Sponsored by: The FreeBSD Foundation Modified: head/sys/sys/signal.h Modified: head/sys/sys/signal.h

svn commit: r211752 - in head/sys: amd64/include i386/include

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 13:13:24 2010 New Revision: 211752 URL: http://svn.freebsd.org/changeset/base/211752 Log: Add two DTrace trap type values. Used by fasttrap. Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/include/trap.h head/sys/i386/include/trap.h

svn commit: r211753 - in head/sys/modules/dtrace: . dtraceall

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 13:21:05 2010 New Revision: 211753 URL: http://svn.freebsd.org/changeset/base/211753 Log: Enable fasttrap and make dtraceall depend on fasttrap when building i386 or amd64. Sponsored by: The FreeBSD Foundation Description of fields to fill in above:

svn commit: r211755 - in head/contrib/libstdc++: include/ext src

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 13:38:53 2010 New Revision: 211755 URL: http://svn.freebsd.org/changeset/base/211755 Log: Some fixes so we can build libstdc++ with clang: o Make the value_type, vector_type, iterator, __mutex_type types of free_list class so we can access them o In some

Re: svn commit: r211755 - in head/contrib/libstdc++: include/ext src

2010-08-24 Thread Dimitry Andric
On 2010-08-24 15:38, Rui Paulo wrote: Some fixes so we can build libstdc++ with clang: o Make the value_type, vector_type, iterator, __mutex_type types of free_list class so we can access them That should have been: o Make the value_type, vector_type, iterator, __mutex_type types of

svn commit: r211756 - head/sys/x86/x86

2010-08-24 Thread Alexander Motin
Author: mav Date: Tue Aug 24 16:08:01 2010 New Revision: 211756 URL: http://svn.freebsd.org/changeset/base/211756 Log: Enable timer interrupt before starting timer. This allows to handle very short periods without interrupt loss. Modified: head/sys/x86/x86/local_apic.c Modified:

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

2010-08-24 Thread Andriy Gapon
Author: avg Date: Tue Aug 24 17:48:22 2010 New Revision: 211762 URL: http://svn.freebsd.org/changeset/base/211762 Log: zfs arc_reclaim_thread: no need to call arc_reclaim_needed when resetting needfree needfree is checked at the very start of arc_reclaim_needed. This change makes code

Re: svn commit: r211609 - head/tools/regression/bin/sh/builtins

2010-08-24 Thread Brian Somers
On Mon, 23 Aug 2010 23:58:50 +0200, Jilles Tjoelker jil...@stack.nl wrote: [.] == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/builtins/break3.0

svn commit: r211763 - head/usr.sbin/acpi/acpiconf

2010-08-24 Thread Alexander Motin
Author: mav Date: Tue Aug 24 18:07:59 2010 New Revision: 211763 URL: http://svn.freebsd.org/changeset/base/211763 Log: When ACPI reports current battery consumption rate in mAmps, print it also in mWatts. Values in mAmps are not always suitable, because they depend on battery voltage, which

svn commit: r211764 - head/sys/dev/ed

2010-08-24 Thread Pyun YongHyeon
Author: yongari Date: Tue Aug 24 18:17:40 2010 New Revision: 211764 URL: http://svn.freebsd.org/changeset/base/211764 Log: Add PNP id for Compex RL2000. I'm not sure whether adding this logical id is correct or not because Compex RL2000 is in the list of supported hardware list. I guess

svn commit: r211765 - head/sys/dev/vr

2010-08-24 Thread Pyun YongHyeon
Author: yongari Date: Tue Aug 24 18:40:11 2010 New Revision: 211765 URL: http://svn.freebsd.org/changeset/base/211765 Log: Remove unnecessary controller reinitialization. CAM filter handling was rewritten long time ago so it should not require controller reinitialization. PR:

svn commit: r211766 - head/sys/dev/vr

2010-08-24 Thread Pyun YongHyeon
Author: yongari Date: Tue Aug 24 18:44:12 2010 New Revision: 211766 URL: http://svn.freebsd.org/changeset/base/211766 Log: vr_init_locked() will stop and reset the controller. Remove unnecessary vr_stop()/vr_reset() calls. Modified: head/sys/dev/vr/if_vr.c Modified:

svn commit: r211767 - head/sys/pci

2010-08-24 Thread Pyun YongHyeon
Author: yongari Date: Tue Aug 24 18:52:24 2010 New Revision: 211767 URL: http://svn.freebsd.org/changeset/base/211767 Log: Remove unnecessary controller reinitialization. PR: kern/87506 Modified: head/sys/pci/if_rl.c Modified: head/sys/pci/if_rl.c

svn commit: r211768 - head/sys/dev/age

2010-08-24 Thread Pyun YongHyeon
Author: yongari Date: Tue Aug 24 19:41:15 2010 New Revision: 211768 URL: http://svn.freebsd.org/changeset/base/211768 Log: Remove unnecessary controller reinitialization. PR: kern/87506 Modified: head/sys/dev/age/if_age.c Modified: head/sys/dev/age/if_age.c

svn commit: r211773 - in head/lib/libthr: . arch/powerpc arch/powerpc/include arch/powerpc64

2010-08-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Aug 24 20:50:08 2010 New Revision: 211773 URL: http://svn.freebsd.org/changeset/base/211773 Log: Unify 32-bit and 64-bit PowerPC libthr support. This reduces code duplication, and simplifies the TBEMD import. Requested by: imp Deleted:

svn commit: r211774 - in head/lib/libc: . compat-43 gen locale quad softfloat stdlib string sys

2010-08-24 Thread Warner Losh
Author: imp Date: Tue Aug 24 20:54:43 2010 New Revision: 211774 URL: http://svn.freebsd.org/changeset/base/211774 Log: Powerpc is special here. powerpc and powerpc64 use different ABIs, so their implementations aren't in the same files. Introduce LIBC_ARCH and use that in preference to

svn commit: r211778 - head/lib/libc

2010-08-24 Thread Warner Losh
Author: imp Date: Tue Aug 24 21:28:34 2010 New Revision: 211778 URL: http://svn.freebsd.org/changeset/base/211778 Log: Fix an accidental sed... Modified: head/lib/libc/Makefile Modified: head/lib/libc/Makefile ==

svn commit: r211780 - head/share/man/man9

2010-08-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 24 21:38:44 2010 New Revision: 211780 URL: http://svn.freebsd.org/changeset/base/211780 Log: s/ithread/interrupt thread/ Modified: head/share/man/man9/locking.9 Modified: head/share/man/man9/locking.9

svn commit: r211782 - head/cddl/contrib/dtracetoolkit

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 23:14:02 2010 New Revision: 211782 URL: http://svn.freebsd.org/changeset/base/211782 Log: Remove this directory for an attempt to merge from the vendor tree. Deleted: head/cddl/contrib/dtracetoolkit/ ___

svn commit: r211784 - head/cddl/contrib/dtracetoolkit

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 23:17:30 2010 New Revision: 211784 URL: http://svn.freebsd.org/changeset/base/211784 Log: Merge dtracetoolkit/dtruss from the vendor. Sponsored by: The FreeBSD Foundation Added: head/cddl/contrib/dtracetoolkit/ - copied from r211783,

svn commit: r211785 - head/libexec/rtld-elf

2010-08-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Aug 24 23:19:14 2010 New Revision: 211785 URL: http://svn.freebsd.org/changeset/base/211785 Log: Make RTLD work on powerpc64 again. If there is a sub-directory named MACHINE_ARCH, use that specific one, otherwise use MACHINE_CPUARCH. Reviewed by: imp

svn commit: r211786 - head/cddl/contrib/dtracetoolkit

2010-08-24 Thread Rui Paulo
Author: rpaulo Date: Tue Aug 24 23:24:43 2010 New Revision: 211786 URL: http://svn.freebsd.org/changeset/base/211786 Log: Port dtruss to FreeBSD. Sponsored by: The FreeBSD Foundation Modified: head/cddl/contrib/dtracetoolkit/dtruss Modified: head/cddl/contrib/dtracetoolkit/dtruss

svn commit: r211789 - head/sys/rpc

2010-08-24 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 25 00:35:58 2010 New Revision: 211789 URL: http://svn.freebsd.org/changeset/base/211789 Log: If the first iteration of the do loop in replay_prune() succeeded and a subsequent interation failed to find an entry to prune, it could loop infinitely, since the

svn commit: r211792 - head/sys/dev/ed

2010-08-24 Thread Warner Losh
Author: imp Date: Wed Aug 25 02:03:48 2010 New Revision: 211792 URL: http://svn.freebsd.org/changeset/base/211792 Log: Prodded by Yongari, add support for Holtek HT80232. Add the device ID, plus the ability to force '16-bit mode' which really means NE-2000 mode. Other open source drivers

svn commit: r211794 - head/sys/kern

2010-08-24 Thread David Xu
Author: davidxu Date: Wed Aug 25 03:14:32 2010 New Revision: 211794 URL: http://svn.freebsd.org/changeset/base/211794 Log: If a thread is removed from umtxq while sleeping, reset error code to zero, this gives userland a better indication that a thread needn't to be cancelled. Modified: