Re: svn commit: r234014 - head/lib/libc/arm/gen

2012-04-09 Thread Juli Mallett
On Sun, Apr 8, 2012 at 21:14, Andrew Turner wrote: > We can implement it as a naked function but we will need to store all > registers other than r0 and pc which seems a waste. > > The problem implementing it in an assembly file is we are unable to use > ARM_TP_ADDRESS is defined as: > #define ARM

Re: svn commit: r234014 - head/lib/libc/arm/gen

2012-04-09 Thread Andrew Turner
On Mon, 9 Apr 2012 01:03:15 -0700 Juli Mallett wrote: > On Sun, Apr 8, 2012 at 21:14, Andrew Turner > wrote: > > We can implement it as a naked function but we will need to store > > all registers other than r0 and pc which seems a waste. > > > > The problem implementing it in an assembly file i

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

2012-04-09 Thread Idwer Vollering
This commit broke HT/SMP bootup. http://lists.freebsd.org/pipermail/freebsd-current/2012-April/033038.html ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsu

svn commit: r234057 - head/lib/libc/gen

2012-04-09 Thread Jilles Tjoelker
Author: jilles Date: Mon Apr 9 14:17:22 2012 New Revision: 234057 URL: http://svn.freebsd.org/changeset/base/234057 Log: sem_open: Make sure to fail an O_CREAT|O_EXCL open, even if that semaphore is already open in this process. If the named semaphore is already open, sem_open() only inc

svn commit: r234058 - head/usr.bin/kdump

2012-04-09 Thread Dimitry Andric
Author: dim Date: Mon Apr 9 14:47:18 2012 New Revision: 234058 URL: http://svn.freebsd.org/changeset/base/234058 Log: In kdump's mkioctls script, use '${CPP}' instead of hardcodedly using 'gcc -E'. This fixes building when WITH_CLANG_IS_CC is in effect. Report by:Niclas Zeising M

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread John Baldwin
On Friday, April 06, 2012 5:19:29 pm Justin T. Gibbs wrote: > Author: gibbs > Date: Fri Apr 6 21:19:28 2012 > New Revision: 233961 > URL: http://svn.freebsd.org/changeset/base/233961 > > Log: > Fix interrupt load balancing regression, introduced in revision > 222813, that left all un-pinned i

svn commit: r234059 - in head/sys: amd64/amd64 i386/i386 x86/include

2012-04-09 Thread John Baldwin
Author: jhb Date: Mon Apr 9 15:20:16 2012 New Revision: 234059 URL: http://svn.freebsd.org/changeset/base/234059 Log: Recognize the RDRAND instruction feature. Submitted by: Michael Fuckner michael fuckner net MFC after:3 days Modified: head/sys/amd64/amd64/identcpu.c head/sys/

svn commit: r234060 - head/usr.bin/truss

2012-04-09 Thread Dimitry Andric
Author: dim Date: Mon Apr 9 15:34:22 2012 New Revision: 234060 URL: http://svn.freebsd.org/changeset/base/234060 Log: Since truss also uses kdump's mkioctls script, pass the value of ${CPP} there too, similar to r234058. MFC after:1 week Modified: head/usr.bin/truss/Makefile Modi

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread Jaakko Heinonen
Hi, On 2012-04-06, Justin T. Gibbs wrote: > Fix interrupt load balancing regression, introduced in revision > 222813, that left all un-pinned interrupts assigned to CPU 0. > > sys/x86/x86/intr_machdep.c: > In intr_shuffle_irqs(), remove CPU_SETOF() call that initialized > the

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread Nathan Whitehorn
On 04/09/12 10:45, Jaakko Heinonen wrote: Hi, On 2012-04-06, Justin T. Gibbs wrote: Fix interrupt load balancing regression, introduced in revision 222813, that left all un-pinned interrupts assigned to CPU 0. sys/x86/x86/intr_machdep.c: In intr_shuffle_irqs(), remove CPU_SETO

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread John Baldwin
On Monday, April 09, 2012 11:45:11 am Jaakko Heinonen wrote: > > Hi, > > On 2012-04-06, Justin T. Gibbs wrote: > > Fix interrupt load balancing regression, introduced in revision > > 222813, that left all un-pinned interrupts assigned to CPU 0. > > > > sys/x86/x86/intr_machdep.c: > >

Re: svn commit: r234014 - head/lib/libc/arm/gen

2012-04-09 Thread Juli Mallett
On Mon, Apr 9, 2012 at 01:44, Andrew Turner wrote: > How does the attached (untested) patch look. It explicitly loads > ARM_TP_ADDRESS into a r0 to ensure r1-3 are not touched. The example file I pointed at was for the kernel, where the LOCORE-related ifdefs (almost) make sense, but for userland

Re: svn commit: r232491 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-04-09 Thread David Schultz
On Sun, Mar 04, 2012, Tijl Coosemans wrote: > Log: > Copy amd64 float.h to x86 and merge with i386 float.h. Replace > amd64/i386/pc98 float.h with stubs. [...] > --- head/sys/amd64/include/float.hSun Mar 4 12:52:48 2012 > (r232490, copy source) > +++ head/sys/x86/include/float.h

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread Attilio Rao
Il 09 aprile 2012 17:34, John Baldwin ha scritto: > On Monday, April 09, 2012 11:45:11 am Jaakko Heinonen wrote: >> >> Hi, >> >> On 2012-04-06, Justin T. Gibbs wrote: >> >   Fix interrupt load balancing regression, introduced in revision >> >   222813, that left all un-pinned interrupts assigned t

svn commit: r234064 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs vm

2012-04-09 Thread Attilio Rao
Author: attilio Date: Mon Apr 9 17:05:18 2012 New Revision: 234064 URL: http://svn.freebsd.org/changeset/base/234064 Log: - Introduce a cache-miss optimization for consistency with other accesses of the cache member of vm_object objects. - Use novel vm_page_is_cached() for checks outside

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread Jaakko Heinonen
On 2012-04-09, John Baldwin wrote: > I suspect in your case intr_add_cpu() is never called. I think Attilio is > not > correct in that it is not called for the BSP. > > Yes, it is not called for the BSP in set_interrupt_apic_ids(). This used to > work because bit 0 was assigned statically. A

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread John Baldwin
On Monday, April 09, 2012 12:58:07 pm Attilio Rao wrote: > Il 09 aprile 2012 17:34, John Baldwin ha scritto: > > On Monday, April 09, 2012 11:45:11 am Jaakko Heinonen wrote: > >> > >> Hi, > >> > >> On 2012-04-06, Justin T. Gibbs wrote: > >> > Fix interrupt load balancing regression, introduced i

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread Attilio Rao
Il 09 aprile 2012 18:14, John Baldwin ha scritto: > On Monday, April 09, 2012 12:58:07 pm Attilio Rao wrote: >> Il 09 aprile 2012 17:34, John Baldwin ha scritto: >> > On Monday, April 09, 2012 11:45:11 am Jaakko Heinonen wrote: >> >> >> >> Hi, >> >> >> >> On 2012-04-06, Justin T. Gibbs wrote: >>

svn commit: r234066 - head/sys/kern

2012-04-09 Thread Alexander Motin
Author: mav Date: Mon Apr 9 18:24:58 2012 New Revision: 234066 URL: http://svn.freebsd.org/changeset/base/234066 Log: Microoptimize cpu_search(). According to profiling, it makes one take 6% of CPU time on hackbench with its million of context switches per second, instead of 8% before.

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread John Baldwin
On Monday, April 09, 2012 1:59:13 pm Attilio Rao wrote: > Il 09 aprile 2012 18:14, John Baldwin ha scritto: > > On Monday, April 09, 2012 12:58:07 pm Attilio Rao wrote: > >> Il 09 aprile 2012 17:34, John Baldwin ha scritto: > >> > On Monday, April 09, 2012 11:45:11 am Jaakko Heinonen wrote: > >>

svn commit: r234069 - head/sbin/savecore

2012-04-09 Thread Robert Millan
Author: rmh Date: Mon Apr 9 20:55:23 2012 New Revision: 234069 URL: http://svn.freebsd.org/changeset/base/234069 Log: Include (for SIGINFO). Modified: head/sbin/savecore/savecore.c Modified: head/sbin/savecore/savecore.c =

svn commit: r234070 - head/usr.sbin/powerd

2012-04-09 Thread Robert Millan
Author: rmh Date: Mon Apr 9 20:59:14 2012 New Revision: 234070 URL: http://svn.freebsd.org/changeset/base/234070 Log: Improve error reporting when no cpufreq(4) support is available. Reviewed by: njl, acpi Modified: head/usr.sbin/powerd/powerd.c Modified: head/usr.sbin/powerd/powerd.c

Re: svn commit: r233773 - head/usr.sbin/arp

2012-04-09 Thread Qing Li
You missed my points. That "if" check as part of r201282 was meant to resolve a couple of issues related to PPP links, as noted in my commit message. In this PPP/proxy resolution context the error message applies, which is why I actually used the word "context" in my previous reply. Your removing

svn commit: r234072 - head/sys/kern

2012-04-09 Thread Jilles Tjoelker
Author: jilles Date: Mon Apr 9 21:58:58 2012 New Revision: 234072 URL: http://svn.freebsd.org/changeset/base/234072 Log: Remove unused and wrong SA_PROC internal signal property. The SA_PROC signal property indicated whether each signal number is directed at a specific thread or at the p

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread Attilio Rao
Il 09 aprile 2012 19:35, John Baldwin ha scritto: > On Monday, April 09, 2012 1:59:13 pm Attilio Rao wrote: >> Il 09 aprile 2012 18:14, John Baldwin ha scritto: >> > On Monday, April 09, 2012 12:58:07 pm Attilio Rao wrote: >> >> Il 09 aprile 2012 17:34, John Baldwin ha scritto: >> >> > On Monday

svn commit: r234074 - in head/sys: amd64/amd64 i386/i386

2012-04-09 Thread Attilio Rao
Author: attilio Date: Mon Apr 9 22:41:19 2012 New Revision: 234074 URL: http://svn.freebsd.org/changeset/base/234074 Log: BSP is not added to the mask of valid target CPUs for interrupts in set_apic_interrupt_ids(). Besides, set_apic_interrupts_ids() is not called in the !SMP case too. Fi

Re: svn commit: r234074 - in head/sys: amd64/amd64 i386/i386

2012-04-09 Thread Marius Strobl
On Mon, Apr 09, 2012 at 10:41:19PM +, Attilio Rao wrote: > Author: attilio > Date: Mon Apr 9 22:41:19 2012 > New Revision: 234074 > URL: http://svn.freebsd.org/changeset/base/234074 > > Log: > BSP is not added to the mask of valid target CPUs for interrupts > in set_apic_interrupt_ids().

Re: svn commit: r234074 - in head/sys: amd64/amd64 i386/i386

2012-04-09 Thread Attilio Rao
Il 10 aprile 2012 00:09, Marius Strobl ha scritto: > On Mon, Apr 09, 2012 at 10:41:19PM +, Attilio Rao wrote: >> Author: attilio >> Date: Mon Apr  9 22:41:19 2012 >> New Revision: 234074 >> URL: http://svn.freebsd.org/changeset/base/234074 >> >> Log: >>   BSP is not added to the mask of valid

Re: svn commit: r232491 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-04-09 Thread Bruce Evans
On Mon, 9 Apr 2012, David Schultz wrote: On Sun, Mar 04, 2012, Tijl Coosemans wrote: Log: Copy amd64 float.h to x86 and merge with i386 float.h. Replace amd64/i386/pc98 float.h with stubs. [...] --- head/sys/amd64/include/float.h Sun Mar 4 12:52:48 2012 (r232490, copy source

svn commit: r234077 - head/share/examples/csh

2012-04-09 Thread Eitan Adler
Author: eadler Date: Tue Apr 10 01:49:31 2012 New Revision: 234077 URL: http://svn.freebsd.org/changeset/base/234077 Log: Update examples with corrections from the author PR: ports/160689 Submitted by: mickael.mail...@gmail.com Approved by: cperciva (implicit) MFC after:

svn commit: r234084 - head/sys/netinet

2012-04-09 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 10 05:42:48 2012 New Revision: 234084 URL: http://svn.freebsd.org/changeset/base/234084 Log: CARP should be capable to run on if_bridge(4). Unfortunately, this commit is not enough to enable CARP operation on if_bridge(4), because the latter doesn't handle or ev

Re: svn commit: r233773 - head/usr.sbin/arp

2012-04-09 Thread Gleb Smirnoff
Qing, On Mon, Apr 09, 2012 at 02:26:06PM -0700, Qing Li wrote: Q> You missed my points. Q> Q> That "if" check as part of r201282 was meant to resolve a couple of Q> issues related Q> to PPP links, as noted in my commit message. In this PPP/proxy Q> resolution context Q> the error message applie

svn commit: r234085 - head/sys/dev/ath

2012-04-09 Thread Adrian Chadd
Author: adrian Date: Tue Apr 10 06:25:11 2012 New Revision: 234085 URL: http://svn.freebsd.org/changeset/base/234085 Log: * Since the API changed along the -CURRENT path (december 2011), add a FreeBSD_version check. It should work fine for compiling on -HEAD, 9.x and 8.x. * Conditi

svn commit: r234086 - head/sys/dev/sfxge

2012-04-09 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 10 06:52:21 2012 New Revision: 234086 URL: http://svn.freebsd.org/changeset/base/234086 Log: M_DONTWAIT is a flag from historical mbuf(9) allocator, not malloc(9) or uma(9) flag. Modified: head/sys/dev/sfxge/sfxge_rx.c Modified: head/sys/dev/sfxge/sfxge_rx.c =

svn commit: r234087 - head/sys/netinet

2012-04-09 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 10 06:52:39 2012 New Revision: 234087 URL: http://svn.freebsd.org/changeset/base/234087 Log: M_DONTWAIT is a flag from historical mbuf(9) allocator, not malloc(9) or uma(9) flag. Modified: head/sys/netinet/in.c Modified: head/sys/netinet/in.c =