svn commit: r212533 - head/sys/dev/acpica

2010-09-13 Thread Alexander Motin
Author: mav Date: Mon Sep 13 06:32:56 2010 New Revision: 212533 URL: http://svn.freebsd.org/changeset/base/212533 Log: Add tunable 'hint.hpet.X.per_cpu' to specify how much per-CPU timers driver should provide if there is sufficient hardware. Default is 1. Modified:

svn commit: r212534 - in head/usr.bin/xlint: . arch/powerpc arch/powerpc64

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 06:35:35 2010 New Revision: 212534 URL: http://svn.freebsd.org/changeset/base/212534 Log: Revert r212513 and reimplement the search order to be ARCH, CPUARCH Added: head/usr.bin/xlint/arch/powerpc64/ - copied from r212512, head/usr.bin/xlint/arch/powerpc64/

svn commit: r212535 - head/usr.bin/xlint

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 06:50:07 2010 New Revision: 212535 URL: http://svn.freebsd.org/changeset/base/212535 Log: Doh! two last second refactoring typos crept in. Fix. Modified: head/usr.bin/xlint/Makefile.inc Modified: head/usr.bin/xlint/Makefile.inc

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

2010-09-13 Thread David Xu
Author: davidxu Date: Mon Sep 13 07:03:01 2010 New Revision: 212536 URL: http://svn.freebsd.org/changeset/base/212536 Log: Convert thread list lock from mutex to rwlock. Modified: head/lib/libthr/thread/thr_affinity.c head/lib/libthr/thread/thr_attr.c head/lib/libthr/thread/thr_cancel.c

svn commit: r212537 - head/usr.sbin/crunch/crunchide

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 07:15:01 2010 New Revision: 212537 URL: http://svn.freebsd.org/changeset/base/212537 Log: It turns out that TARGET_CPUARCH doesn't buy us much here, if anything, but costs us another copy of the transform. Revert it. # Maybe makefile.inc1 should set

svn commit: r212538 - head/sys/conf

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 07:16:48 2010 New Revision: 212538 URL: http://svn.freebsd.org/changeset/base/212538 Log: Use MACHINE_CPUARCH as appropriate Define __KLD_SHARED to be yes or no depending on if the target uses shared binaries for klds or not (this also eliminates 4 uses of

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

2010-09-13 Thread David Xu
Author: davidxu Date: Mon Sep 13 07:18:00 2010 New Revision: 212539 URL: http://svn.freebsd.org/changeset/base/212539 Log: PS_DEAD state needs not be checked because _thr_find_thread() has already checked it. Modified: head/lib/libthr/thread/thr_affinity.c Modified:

svn commit: r212540 - head/share/mk

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 07:22:14 2010 New Revision: 212540 URL: http://svn.freebsd.org/changeset/base/212540 Log: Prefer MACHINE_CPUARCH to MACHINE_ARCH unless there's a good reason... Modified: head/share/mk/bsd.cpu.mk Modified: head/share/mk/bsd.cpu.mk

svn commit: r212541 - in head/sys: amd64/amd64 amd64/include dev/acpica i386/i386 i386/include kern mips/include mips/mips pc98/pc98 powerpc/aim powerpc/booke powerpc/include powerpc/powerpc sparc6...

2010-09-13 Thread Alexander Motin
Author: mav Date: Mon Sep 13 07:25:35 2010 New Revision: 212541 URL: http://svn.freebsd.org/changeset/base/212541 Log: Refactor timer management code with priority to one-shot operation mode. The main goal of this is to generate timer interrupts only when there is some work to do. When CPU

svn commit: r212542 - head/sys/conf

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 07:27:03 2010 New Revision: 212542 URL: http://svn.freebsd.org/changeset/base/212542 Log: Prefer MACHINE_CPUARCH over MACHINE_ARCH Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk

svn commit: r212543 - in head/sys/modules: opensolaris zfs

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 07:29:02 2010 New Revision: 212543 URL: http://svn.freebsd.org/changeset/base/212543 Log: Simplify atomic selection Modified: head/sys/modules/opensolaris/Makefile head/sys/modules/zfs/Makefile Modified: head/sys/modules/opensolaris/Makefile

svn commit: r212544 - head/sys/kern

2010-09-13 Thread Andriy Gapon
Author: avg Date: Mon Sep 13 08:34:20 2010 New Revision: 212544 URL: http://svn.freebsd.org/changeset/base/212544 Log: bus_add_child: add specialized default implementation that calls panic If a kobj method doesn't have any explicitly provided default implementation, then it is

svn commit: r212547 - in head: sbin/geom/class/eli sbin/geom/class/mirror sbin/geom/class/part sbin/geom/class/sched sbin/geom/core sys/geom/eli sys/geom/mirror

2010-09-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 13 08:56:07 2010 New Revision: 212547 URL: http://svn.freebsd.org/changeset/base/212547 Log: - Allow to specify value as const pointers. - Make optional string values always an empty string. Modified: head/sbin/geom/class/eli/geom_eli.c

svn commit: r212548 - head/lib/libthr

2010-09-13 Thread David Xu
Author: davidxu Date: Mon Sep 13 09:23:38 2010 New Revision: 212548 URL: http://svn.freebsd.org/changeset/base/212548 Log: Update symbol. Modified: head/lib/libthr/pthread.map Modified: head/lib/libthr/pthread.map

Re: svn commit: r212543 - in head/sys/modules: opensolaris zfs

2010-09-13 Thread Pawel Jakub Dawidek
On Mon, Sep 13, 2010 at 07:29:02AM +, Warner Losh wrote: Author: imp Date: Mon Sep 13 07:29:02 2010 New Revision: 212543 URL: http://svn.freebsd.org/changeset/base/212543 Log: Simplify atomic selection Could you also update libzpool Makefile? -- Pawel Jakub Dawidek

svn commit: r212549 - head/sys/dev/acpica

2010-09-13 Thread Andriy Gapon
Author: avg Date: Mon Sep 13 09:51:24 2010 New Revision: 212549 URL: http://svn.freebsd.org/changeset/base/212549 Log: acpi_cpu: do not apply P_LVLx_LAT rules to latencies returned by _CST ACPI specification sates that if P_LVL2_LAT 100, then a system doesn't support C2; if P_LVL3_LAT

svn commit: r212550 - head/sys/mips/rmi

2010-09-13 Thread Jayachandran C.
Author: jchandra Date: Mon Sep 13 11:47:35 2010 New Revision: 212550 URL: http://svn.freebsd.org/changeset/base/212550 Log: bus_add_child method is needed now. Modified: head/sys/mips/rmi/iodi.c Modified: head/sys/mips/rmi/iodi.c

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

2010-09-13 Thread David Xu
Author: davidxu Date: Mon Sep 13 11:57:46 2010 New Revision: 212551 URL: http://svn.freebsd.org/changeset/base/212551 Log: Fix copypaste problem. Modified: head/lib/libthr/thread/thr_private.h Modified: head/lib/libthr/thread/thr_private.h

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

2010-09-13 Thread David Xu
Author: davidxu Date: Mon Sep 13 11:58:42 2010 New Revision: 212552 URL: http://svn.freebsd.org/changeset/base/212552 Log: Don't compare thread pointers again. Modified: head/lib/libthr/thread/thr_affinity.c Modified: head/lib/libthr/thread/thr_affinity.c

Re: svn commit: r212550 - head/sys/mips/rmi

2010-09-13 Thread Andriy Gapon
on 13/09/2010 14:47 Jayachandran C. said the following: Author: jchandra Date: Mon Sep 13 11:47:35 2010 New Revision: 212550 URL: http://svn.freebsd.org/changeset/base/212550 Log: bus_add_child method is needed now. Just a note: bus_add_child method needs to be defined only if it's

Re: svn commit: r212498 - head/sbin/newfs

2010-09-13 Thread Glen Barber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/13/10 8:37 AM, Alexander Best wrote: On Sun Sep 12 10, Glen Barber wrote: [snip] Modified: head/sbin/newfs/newfs.8 [snip] could you also have a look at PR #61716? thanks. Sure will. Cheers, - -- Glen Barber FreeBSD

svn commit: r212553 - in head/sys/mips/rmi: . dev/nlge dev/xlr

2010-09-13 Thread Jayachandran C.
Author: jchandra Date: Mon Sep 13 13:11:50 2010 New Revision: 212553 URL: http://svn.freebsd.org/changeset/base/212553 Log: sys/mips/rmi/msgring.h - fixes and clean up. - Remove sync from msgrng_send, sync needs to be called just once before sending. - Fix retry logic - don't reload

svn commit: r212554 - in head: sbin/geom/class/cache sbin/geom/class/concat sbin/geom/class/eli sbin/geom/class/journal sbin/geom/class/label sbin/geom/class/mirror sbin/geom/class/mountver sbin/ge...

2010-09-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 13 13:48:18 2010 New Revision: 212554 URL: http://svn.freebsd.org/changeset/base/212554 Log: - Remove gc_argname field. It was introduced for gpart(8), but if I understand everything correctly, we don't really need it. - Provide default numeric value as strings.

svn commit: r212555 - head/sbin/geom/core

2010-09-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 13 13:59:28 2010 New Revision: 212555 URL: http://svn.freebsd.org/changeset/base/212555 Log: Add G_TYPE_MULTI flag, which when set for the given option, will allow the option to be specified multiple times. This will help to implement things like passing multiple

Re: svn commit: r212549 - head/sys/dev/acpica

2010-09-13 Thread Norikatsu Shigemura
Hi avg! On Mon, 13 Sep 2010 09:51:24 + (UTC) Andriy Gapon a...@freebsd.org wrote: Author: avg Date: Mon Sep 13 09:51:24 2010 New Revision: 212549 URL: http://svn.freebsd.org/changeset/base/212549 Log: acpi_cpu: do not apply P_LVLx_LAT rules to latencies returned by _CST ACPI

Re: svn commit: r212554 - in head: sbin/geom/class/cache sbin/geom/class/concat sbin/geom/class/eli sbin/geom/class/journal sbin/geom/class/label sbin/geom/class/mirror sbin/geom/class/mountver sbin/g

2010-09-13 Thread Alexander Best
hi there, could you take a quick peek at PR #150239 to see if the patch for g_part.c is a reasonable change? thanks. alex -- a13x ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send

Re: svn commit: r212550 - head/sys/mips/rmi

2010-09-13 Thread John Baldwin
On Monday, September 13, 2010 8:08:44 am Andriy Gapon wrote: on 13/09/2010 14:47 Jayachandran C. said the following: Author: jchandra Date: Mon Sep 13 11:47:35 2010 New Revision: 212550 URL: http://svn.freebsd.org/changeset/base/212550 Log: bus_add_child method is needed now.

svn commit: r212558 - head/usr.bin

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 15:30:09 2010 New Revision: 212558 URL: http://svn.freebsd.org/changeset/base/212558 Log: Move to using Makefile.arch to include the proper target-specific programs. Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile

svn commit: r212559 - head/sys/powerpc/powerpc

2010-09-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Sep 13 15:36:42 2010 New Revision: 212559 URL: http://svn.freebsd.org/changeset/base/212559 Log: Fix a subtle bug uncovered by the recent one-shot timer import in which any spin locks acquired between the enabling of interrupts in machdep_ap_bootstrap() and the

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

2010-09-13 Thread Warner Losh
Author: imp Date: Mon Sep 13 16:39:33 2010 New Revision: 212560 URL: http://svn.freebsd.org/changeset/base/212560 Log: TARGET_64BIT isn't needed anymore, GC it (partial merge from tbemd). Modified: head/sys/conf/Makefile.mips head/sys/mips/conf/MALTA64 head/sys/mips/conf/OCTEON1

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

2010-09-13 Thread Alan Cox
Kostik Belousov wrote: On Tue, Sep 07, 2010 at 12:23:45AM +, Ryan Stone wrote: Author: rstone Date: Tue Sep 7 00:23:45 2010 New Revision: 212281 URL: http://svn.freebsd.org/changeset/base/212281 Log: In munmap() downgrade the vm_map_lock to a read lock before taking a read lock on

svn commit: r212567 - head

2010-09-13 Thread Rui Paulo
-s aj /etc/malloc.conf.) +20100913: + DTrace has grown support for userland tracing. Due to this, DTrace is + now i386 and amd64 only. + dtruss(1) is now installed by default on those systems and a new + kernel module is needed for userland tracing: fasttrap

svn commit: r212572 - in head/sys: dev/cxgb kern sys vm

2010-09-13 Thread Matthew D Fleming
Author: mdf Date: Mon Sep 13 18:48:23 2010 New Revision: 212572 URL: http://svn.freebsd.org/changeset/base/212572 Log: Revert r212370, as it causes a LOR on powerpc. powerpc does a few unexpected things in copyout(9) and so wiring the user buffer is not sufficient to perform a copyout(9)

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

2010-09-13 Thread Kostik Belousov
On Mon, Sep 13, 2010 at 12:30:29PM -0500, Alan Cox wrote: Kostik Belousov wrote: On Tue, Sep 07, 2010 at 12:23:45AM +, Ryan Stone wrote: Author: rstone Date: Tue Sep 7 00:23:45 2010 New Revision: 212281 URL: http://svn.freebsd.org/changeset/base/212281 Log: In munmap()

Re: svn commit: r212572 - in head/sys: dev/cxgb kern sys vm

2010-09-13 Thread Nathan Whitehorn
On Mon, 13 Sep 2010 15:18:38 -0400 John Baldwin j...@freebsd.org wrote: On Monday, September 13, 2010 2:48:23 pm Matthew D Fleming wrote: Author: mdf Date: Mon Sep 13 18:48:23 2010 New Revision: 212572 URL: http://svn.freebsd.org/changeset/base/212572 Log: Revert r212370, as it

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

2010-09-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 13 19:47:09 2010 New Revision: 212573 URL: http://svn.freebsd.org/changeset/base/212573 Log: Remove the page queues lock around vm_page_undirty() - it is no longer needed. Reviewed by: alc Modified:

svn commit: r212574 - in head: etc etc/defaults etc/rc.d share/man/man5

2010-09-13 Thread Hiroki Sato
Author: hrs Date: Mon Sep 13 19:51:15 2010 New Revision: 212574 URL: http://svn.freebsd.org/changeset/base/212574 Log: Revert changes in r206408. Discussed with: dougb, core.5, and core.6 Modified: head/etc/defaults/rc.conf head/etc/network.subr head/etc/rc.d/ip6addrctl

svn commit: r212575 - in head/etc: . defaults

2010-09-13 Thread Hiroki Sato
Author: hrs Date: Mon Sep 13 19:52:04 2010 New Revision: 212575 URL: http://svn.freebsd.org/changeset/base/212575 Log: Fix $ipv6_network_interfaces and set it as AUTO by default. Based on: changes in r206408 by dougb Modified: head/etc/defaults/rc.conf head/etc/network.subr

svn commit: r212576 - in head: etc/defaults etc/rc.d share/man/man5

2010-09-13 Thread Hiroki Sato
Author: hrs Date: Mon Sep 13 19:52:46 2010 New Revision: 212576 URL: http://svn.freebsd.org/changeset/base/212576 Log: Add $ipv6_privacy to support net.inet6.ip6.use_tempaddr. Note that this will be replaced with a per-IF version later. Based on: changes in r206408 by dougb

svn commit: r212577 - head/etc

2010-09-13 Thread Hiroki Sato
Author: hrs Date: Mon Sep 13 19:53:22 2010 New Revision: 212577 URL: http://svn.freebsd.org/changeset/base/212577 Log: - Check some specific IFs first in ipv6_autoconfif(). - $ipv6_enable supports YES|TRUE|ON|1 as in checkyesno(). Based on: changes in r206408 by dougb Modified:

svn commit: r212579 - in head: . etc etc/defaults etc/rc.d share/man/man5

2010-09-13 Thread Hiroki Sato
/etc/malloc.conf.) 20100913: + The $ipv6_prefer variable in rc.conf(5) has been split into + $ip6addrctl_policy and $ipv6_activate_all_interfaces. + + The $ip6addrctl_policy is a variable to choose a pre-defined + address selection policy set by ip6addrctl(8). A value

svn commit: r212586 - head/sys/powerpc/powerpc

2010-09-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Sep 13 22:50:05 2010 New Revision: 212586 URL: http://svn.freebsd.org/changeset/base/212586 Log: Fix a missing set of parantheses that could cause recent versions of libthr to crash deferencing a NULL pointer to the user context on powerpc64 systems with

svn commit: r212589 - head/sys/mips/mips

2010-09-13 Thread Neel Natu
Author: neel Date: Tue Sep 14 01:27:53 2010 New Revision: 212589 URL: http://svn.freebsd.org/changeset/base/212589 Log: Enforce that pmap_mapdev() always returns uncacheable mappings. Reviewed by: imp, jchandra, jmallett Modified: head/sys/mips/mips/pmap.c Modified:

svn commit: r212591 - head/usr.bin/calendar

2010-09-13 Thread Ed Maste
Author: emaste Date: Tue Sep 14 01:33:21 2010 New Revision: 212591 URL: http://svn.freebsd.org/changeset/base/212591 Log: Remove extra ; Modified: head/usr.bin/calendar/parsedata.c Modified: head/usr.bin/calendar/parsedata.c

svn commit: r212592 - head/contrib/libf2c

2010-09-13 Thread Ed Maste
Author: emaste Date: Tue Sep 14 01:40:59 2010 New Revision: 212592 URL: http://svn.freebsd.org/changeset/base/212592 Log: Remove libf2c. It hasn't been used for more than 11 years, since revision 1.90 (CVS; SVN r45770) of lib/Makefile. Deleted: head/contrib/libf2c/

svn commit: r212593 - head/sys/mips/mips

2010-09-13 Thread Neel Natu
Author: neel Date: Tue Sep 14 01:48:01 2010 New Revision: 212593 URL: http://svn.freebsd.org/changeset/base/212593 Log: Port r212559 to mips. Do not explicitly enable interrupts in smp_init_secondary() because it renders any spinlock protected code after that point to run with

svn commit: r212594 - head/sys/dev/aac

2010-09-13 Thread Ed Maste
Author: emaste Date: Tue Sep 14 01:51:04 2010 New Revision: 212594 URL: http://svn.freebsd.org/changeset/base/212594 Log: Avoid repeatedly spamming the console while a timed out command is waiting to complete. Instead, print one message after the timeout period expires, and one more when

svn commit: r212597 - head/sys/powerpc/aim

2010-09-13 Thread Peter Grehan
Author: grehan Date: Tue Sep 14 03:18:11 2010 New Revision: 212597 URL: http://svn.freebsd.org/changeset/base/212597 Log: Resurrect PSIM support by moving the cacheline size-detection warning printf outside of the MMU-disabled region. A call into OpenFirmware with the MMU off resulted in an

svn commit: r212600 - head/sys/kern

2010-09-13 Thread Alexander Motin
Author: mav Date: Tue Sep 14 04:48:04 2010 New Revision: 212600 URL: http://svn.freebsd.org/changeset/base/212600 Log: Add some foot shooting protection by checking singlemul value correctness. Rephrase sysctls descriptions. Suggested by: edmaste Modified:

svn commit: r212601 - head/sys/kern

2010-09-13 Thread Alexander Motin
Author: mav Date: Tue Sep 14 04:57:30 2010 New Revision: 212601 URL: http://svn.freebsd.org/changeset/base/212601 Log: Replace spin lock with the set of atomics. It is impractical for one tc_ticktock() call to wait for another's completion -- just skip it. Modified: