Re: svn commit: r207607 - head/usr.bin/tftp

2010-05-04 Thread John Baldwin
. Edwin tested it at a prior employer, but can't test it today. I've found that it works a lot better with the various uboot versions that I've used in my embedded work. Here's the pkg-descr from the port that describes the changes: bin/67550 and bin/118874 perhaps? -- John Baldwin

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

2010-05-19 Thread John Baldwin
Author: jhb Date: Wed May 19 19:52:41 2010 New Revision: 208311 URL: http://svn.freebsd.org/changeset/base/208311 Log: Add constants for the optional EOI suppression support in local APICs and EOI registers in I/O APICs. Modified: head/sys/amd64/include/apicreg.h

svn commit: r208350 - head/sys/dev/puc

2010-05-20 Thread John Baldwin
Author: jhb Date: Thu May 20 13:16:42 2010 New Revision: 208350 URL: http://svn.freebsd.org/changeset/base/208350 Log: Add support for the Perle Speed4 LE. Submitted by: Douglas K. Rand rand of meridian-enviro com MFC after:3 days Modified: head/sys/dev/puc/pucdata.c Modified:

svn commit: r208362 - head/sys/dev/e1000

2010-05-20 Thread John Baldwin
Author: jhb Date: Thu May 20 20:01:54 2010 New Revision: 208362 URL: http://svn.freebsd.org/changeset/base/208362 Log: Restore part of 200671 which was lost in previous driver changes: - Add interrupt descriptions when using mulitple MSI-X interrupts. Modified: head/sys/dev/e1000/if_igb.c

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

2010-05-21 Thread John Baldwin
Author: jhb Date: Fri May 21 17:14:36 2010 New Revision: 208390 URL: http://svn.freebsd.org/changeset/base/208390 Log: Allow a const char * to be passed as the process name to kproc_kthread_add() without generating a warning. MFC after:1 month Modified:

svn commit: r208391 - head/sys/kern

2010-05-21 Thread John Baldwin
Author: jhb Date: Fri May 21 17:15:56 2010 New Revision: 208391 URL: http://svn.freebsd.org/changeset/base/208391 Log: Assert that the thread passed to sched_bind() and sched_unbind() is curthread as those routines are only supported for curthread currently. MFC after:1 month

Re: svn commit: r208452 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-05-24 Thread John Baldwin
On Sunday 23 May 2010 1:45:02 pm Alexander Motin wrote: Author: mav Date: Sun May 23 17:45:01 2010 New Revision: 208452 URL: http://svn.freebsd.org/changeset/base/208452 Log: Unify local_apic.c for x86 archs, Aiee! I have local changes here you just hosed! -- John Baldwin

Re: svn commit: r208452 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-05-24 Thread John Baldwin
On Monday 24 May 2010 9:33:43 am Alexander Motin wrote: John Baldwin wrote: On Sunday 23 May 2010 1:45:02 pm Alexander Motin wrote: Author: mav Date: Sun May 23 17:45:01 2010 New Revision: 208452 URL: http://svn.freebsd.org/changeset/base/208452 Log: Unify local_apic.c for x86

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

2010-05-24 Thread John Baldwin
Author: jhb Date: Mon May 24 15:45:05 2010 New Revision: 208507 URL: http://svn.freebsd.org/changeset/base/208507 Log: Add support for corrected machine check interrupts. CMCI is a new local APIC interrupt that fires when a threshold of corrected machine check events is reached. CMCI also

svn commit: r208603 - head/sys/nfsclient

2010-05-27 Thread John Baldwin
Author: jhb Date: Thu May 27 18:07:20 2010 New Revision: 208603 URL: http://svn.freebsd.org/changeset/base/208603 Log: More gracefully handle stale file handles and attributes when opening a file via NFS. Specifically, to satisfy close-to-open-consistency, the NFS client always performs at

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

2010-05-28 Thread John Baldwin
Author: jhb Date: Fri May 28 17:50:24 2010 New Revision: 208621 URL: http://svn.freebsd.org/changeset/base/208621 Log: Defer initializing machine checks for the boot CPU until the local APIC is fully configured. MFC after:1 month Modified: head/sys/amd64/amd64/machdep.c

svn commit: r208742 - head/sys/i386/include

2010-06-02 Thread John Baldwin
Author: jhb Date: Wed Jun 2 15:09:36 2010 New Revision: 208742 URL: http://svn.freebsd.org/changeset/base/208742 Log: MFamd64: Add a new macro PCPU_XEN_FIELDS to hold XEN-specific per-CPU fields that is always included in PCPU_MD_FIELDS. The macro is empty for non-XEN kernels. This

svn commit: r208912 - head/sys/kern

2010-06-08 Thread John Baldwin
Author: jhb Date: Tue Jun 8 16:17:47 2010 New Revision: 208912 URL: http://svn.freebsd.org/changeset/base/208912 Log: Fix a sign bug that caused adaptive spinning in sx_xlock() to not work properly. Among other things it did not drop Giant while spinning leading to livelocks.

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

2010-06-08 Thread John Baldwin
Author: jhb Date: Tue Jun 8 17:08:13 2010 New Revision: 208915 URL: http://svn.freebsd.org/changeset/base/208915 Log: - Use a bit more care when moving I/O APIC interrupts between CPUs. Mask the interrupt followed by a brief delay if it is not currently masked before moving the

svn commit: r208919 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-06-08 Thread John Baldwin
/io_apic.c Tue Jun 8 17:51:21 2010(r208919, copy of r208915, head/sys/i386/i386/io_apic.c) @@ -0,0 +1,922 @@ +/*- + * Copyright (c) 2003 John Baldwin j...@freebsd.org + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification

svn commit: r208921 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-06-08 Thread John Baldwin
Author: jhb Date: Tue Jun 8 18:04:07 2010 New Revision: 208921 URL: http://svn.freebsd.org/changeset/base/208921 Log: Move the machine check support code to the x86 tree since it is identical on i386 and amd64. Requested by: alc Added: head/sys/x86/x86/mca.c - copied, changed

svn commit: r208922 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-06-08 Thread John Baldwin
(r208922, copy of r208893, head/sys/i386/i386/msi.c) @@ -0,0 +1,602 @@ +/*- + * Copyright (c) 2006 Yahoo!, Inc. + * All rights reserved. + * Written by: John Baldwin j...@freebsd.org + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided

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

2010-06-08 Thread John Baldwin
Author: jhb Date: Tue Jun 8 21:27:05 2010 New Revision: 208925 URL: http://svn.freebsd.org/changeset/base/208925 Log: The lock associated with the /dev/apm knote is already held, so use KNOTE_LOCKED() instead of KNOTE_UNLOCKED(). Reported by: mav MFC after:3 days Modified:

Re: svn commit: r208921 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-06-08 Thread John Baldwin
On Tuesday 08 June 2010 3:22:10 pm M. Warner Losh wrote: In message: 201006081446.09423@freebsd.org John Baldwin j...@freebsd.org writes: : On Tuesday 08 June 2010 2:04:07 pm John Baldwin wrote: : Author: jhb : Date: Tue Jun 8 18:04:07 2010 : New Revision: 208921 : URL

Re: svn commit: r208921 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-06-09 Thread John Baldwin
On Tuesday 08 June 2010 6:39:30 pm M. Warner Losh wrote: In message: 201006081725.24684@freebsd.org John Baldwin j...@freebsd.org writes: : On Tuesday 08 June 2010 3:22:10 pm M. Warner Losh wrote: : In message: 201006081446.09423@freebsd.org : John Baldwin j

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread John Baldwin
BUS_DMA_NOWAIT). It is common practice to just drop the packet in that case. -- John Baldwin ___ 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-unsubscr

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

2010-06-11 Thread John Baldwin
On Friday 11 June 2010 8:41:49 am Kostik Belousov wrote: On Fri, Jun 11, 2010 at 08:10:40AM -0400, John Baldwin wrote: On Friday 11 June 2010 4:31:37 am Kostik Belousov wrote: On Thu, Jun 10, 2010 at 04:14:05PM +, Alexander Motin wrote: Author: mav Date: Thu Jun 10 16:14:05 2010

Re: svn commit: r209050 - head/sys/sys

2010-06-11 Thread John Baldwin
On Friday 11 June 2010 11:56:18 am John Baldwin wrote: Author: jhb Date: Fri Jun 11 15:56:18 2010 New Revision: 209050 URL: http://svn.freebsd.org/changeset/base/209050 Log: Add helper macros to iterate over available CPUs in the system. CPU_FOREACH(i) iterates over the CPU IDs of all

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread John Baldwin
On Friday 11 June 2010 1:04:36 pm Marcel Moolenaar wrote: On Jun 11, 2010, at 9:12 AM, Scott Long wrote: On Jun 11, 2010, at 5:51 AM, John Baldwin wrote: On Thursday 10 June 2010 11:00:33 pm Marcel Moolenaar wrote: Author: marcel Date: Fri Jun 11 03:00:32 2010 New Revision: 209026

svn commit: r209059 - in head/sys: amd64/acpica amd64/amd64 cddl/contrib/opensolaris/uts/common/dtrace cddl/dev/cyclic cddl/dev/dtrace cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 compat/linprocfs de...

2010-06-11 Thread John Baldwin
Author: jhb Date: Fri Jun 11 18:46:34 2010 New Revision: 209059 URL: http://svn.freebsd.org/changeset/base/209059 Log: Update several places that iterate over CPUs to use CPU_FOREACH(). Modified: head/sys/amd64/acpica/madt.c head/sys/amd64/amd64/legacy.c

Re: svn commit: r209068 - head/sys/dev/e1000

2010-06-11 Thread John Baldwin
not allocate header mbufs in rx ring if not doing hdr split. Release the lock in rxeof call to stack. MFC for 8.1 asap You just removed the bus_describe_intr() calls again. Can you _please_ put those into your tree so you don't keep losing them? -- John Baldwin

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

2010-06-15 Thread John Baldwin
Author: jhb Date: Tue Jun 15 19:14:39 2010 New Revision: 209213 URL: http://svn.freebsd.org/changeset/base/209213 Log: When updating individual CPU's lowest Cx state to use, never set it to a state lower than the lowest one supported by the current CPU. This closes some races with changes

Re: svn commit: r209218 - head/sys/dev/e1000

2010-06-15 Thread John Baldwin
On Tuesday 15 June 2010 5:11:51 pm Jack F Vogel wrote: Author: jfv Date: Tue Jun 15 21:11:51 2010 New Revision: 209218 URL: http://svn.freebsd.org/changeset/base/209218 Log: Change to have legacy interrupts use the same handler had a flaw, thanks to John Baldwin for finding

svn commit: r209588 - head/share/man/man3

2010-06-29 Thread John Baldwin
Author: jhb Date: Tue Jun 29 14:32:01 2010 New Revision: 209588 URL: http://svn.freebsd.org/changeset/base/209588 Log: - The ETIMEDOUT error applies to pthread_timedjoin_np(), not pthread_join(). - Tweak wording in history section for pthread_timedjoin_np(). MFC after:3 days

svn commit: r209592 - in head/sys: compat/linux kern sys

2010-06-29 Thread John Baldwin
Author: jhb Date: Tue Jun 29 20:41:52 2010 New Revision: 209592 URL: http://svn.freebsd.org/changeset/base/209592 Log: Tweak the in-kernel API for sending signals to threads: - Rename tdsignal() to tdsendsignal() and make it private to kern_sig.c. - Add tdsignal() and tdksignal() routines

svn commit: r209595 - head/sys/kern

2010-06-29 Thread John Baldwin
Author: jhb Date: Tue Jun 29 20:44:19 2010 New Revision: 209595 URL: http://svn.freebsd.org/changeset/base/209595 Log: Send SIGPIPE to the thread that issued the offending system call rather than to the entire process. Reported by: Anit Chakraborty Reviewed by: kib, deischen

Re: svn commit: r209595 - head/sys/kern

2010-06-30 Thread John Baldwin
On Tuesday 29 June 2010 5:05:22 pm Ed Schouten wrote: * John Baldwin j...@freebsd.org wrote: Log: Send SIGPIPE to the thread that issued the offending system call rather than to the entire process. Should something similar be used inside the TTY layer, where reads/writes may cause

svn commit: r209612 - head/sys/kern

2010-06-30 Thread John Baldwin
Author: jhb Date: Wed Jun 30 18:00:45 2010 New Revision: 209612 URL: http://svn.freebsd.org/changeset/base/209612 Log: Update comment for tdsignal() - tdsendsignal() rename. Forgot to include this in 209592. Modified: head/sys/kern/subr_sleepqueue.c Modified:

svn commit: r209613 - in head/sys: amd64/amd64 amd64/ia32 arm/arm i386/i386 ia64/ia64 kern mips/mips pc98/pc98 powerpc/aim powerpc/booke sparc64/sparc64 sun4v/sun4v sys

2010-06-30 Thread John Baldwin
Author: jhb Date: Wed Jun 30 18:03:42 2010 New Revision: 209613 URL: http://svn.freebsd.org/changeset/base/209613 Log: Move prototypes for kern_sigtimedwait() and kern_sigprocmask() to sys/syscallsubr.h where all other kern_syscall prototypes live. Modified: head/sys/amd64/amd64/machdep.c

Re: svn commit: r209609 - head/sys/dev/ixgbe

2010-06-30 Thread John Baldwin
port without the other changing. Should 209607 be reverted now? -- John Baldwin ___ 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-unsubscr...@freebsd.org

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

2010-07-01 Thread John Baldwin
(for example by `systat -vm`) easier. As I said on the mailing lists, I actually think that the old way is a feature. I believe bde@ also has useful input on appropriately parsing interrupt names for systat -vmstat output. -- John Baldwin ___ svn-src-head

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

2010-07-08 Thread John Baldwin
Author: jhb Date: Thu Jul 8 19:15:26 2010 New Revision: 209819 URL: http://svn.freebsd.org/changeset/base/209819 Log: - Various style and whitespace fixes. - Make sugid_coredump and kern_logsigexit private to kern_sig.c. Submitted by: bde (partially) MFC after:1 month Modified:

Re: svn commit: r209832 - head/usr.sbin/sysinstall

2010-07-09 Thread John Baldwin
that the existing code is completely broken, but that isn't true. Some people find the existing functionality useful. I'm sure it could be improved, but if the existing functionality is useful I don't see why it has to be disabled. -- John Baldwin ___ svn

svn commit: r209847 - head/sys/kern

2010-07-09 Thread John Baldwin
Author: jhb Date: Fri Jul 9 13:53:25 2010 New Revision: 209847 URL: http://svn.freebsd.org/changeset/base/209847 Log: Refine a comment. Reviewed by: bde Modified: head/sys/kern/kern_exec.c Modified: head/sys/kern/kern_exec.c

svn commit: r209848 - head/sys/kern

2010-07-09 Thread John Baldwin
Author: jhb Date: Fri Jul 9 13:59:53 2010 New Revision: 209848 URL: http://svn.freebsd.org/changeset/base/209848 Log: Accidentally committed an older version of this comment rather than the final one. Modified: head/sys/kern/kern_exec.c Modified: head/sys/kern/kern_exec.c

Re: svn commit: r209900 - head/sys/kern

2010-07-12 Thread John Baldwin
long/short messages when HZ set below 256. Hmm, did you ask phk@ about this? I notice that the printfs only trigger if you have bootverbose enabled, so they were not affecting normal users as most people do not run their systems with bootverbose enabled. -- John Baldwin

svn commit: r209946 - head/sys/nfsclient

2010-07-12 Thread John Baldwin
Author: jhb Date: Mon Jul 12 14:19:23 2010 New Revision: 209946 URL: http://svn.freebsd.org/changeset/base/209946 Log: - Add missing locking around flushing of an NFS node's attribute cache in the NMODIFIED case of nfs_open(). - Cosmetic tweak to simplify an expression in nfs_lookup().

svn commit: r209948 - head/sys/nfsclient

2010-07-12 Thread John Baldwin
Author: jhb Date: Mon Jul 12 14:27:49 2010 New Revision: 209948 URL: http://svn.freebsd.org/changeset/base/209948 Log: A previous change moved the GETATTR RPC for open() calls that hit in the name cache up into nfs_lookup() instead of nfs_open(). Continue this trend by flushing the

Re: svn commit: r209948 - head/sys/nfsclient

2010-07-12 Thread John Baldwin
On Monday, July 12, 2010 10:27:49 am John Baldwin wrote: Author: jhb Date: Mon Jul 12 14:27:49 2010 New Revision: 209948 URL: http://svn.freebsd.org/changeset/base/209948 Log: A previous change moved the GETATTR RPC for open() calls that hit in the name cache up into nfs_lookup

Re: svn commit: r209900 - head/sys/kern

2010-07-12 Thread John Baldwin
On Monday, July 12, 2010 8:49:39 am Alexander Motin wrote: John Baldwin wrote: On Sunday, July 11, 2010 12:47:46 pm Alexander Motin wrote: Author: mav Date: Sun Jul 11 16:47:45 2010 New Revision: 209900 URL: http://svn.freebsd.org/changeset/base/209900 Log: Remove interval

svn commit: r209956 - head/sys/amd64/amd64

2010-07-12 Thread John Baldwin
Author: jhb Date: Mon Jul 12 20:45:37 2010 New Revision: 209956 URL: http://svn.freebsd.org/changeset/base/209956 Log: Remove a dead test. We already exclude NMI traps from this code in an earlier condition. MFC after:1 week Modified: head/sys/amd64/amd64/trap.c Modified:

Re: svn commit: r210054 - in head/sys: conf kern x86/x86

2010-07-14 Thread John Baldwin
/conf/files.pc98 Can this be merged with kern_et.c, or perhaps called subr_eventtimers.c instead? -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src

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

2010-07-14 Thread John Baldwin
Author: jhb Date: Wed Jul 14 17:38:01 2010 New Revision: 210064 URL: http://svn.freebsd.org/changeset/base/210064 Log: - Document layout of KTR_STRUCT payload in a comment. - Simplify ktrstruct() calling convention by having ktrstruct() use strlen() rather than requiring the caller to

svn commit: r210066 - head/sys/dev/ipmi

2010-07-14 Thread John Baldwin
Author: jhb Date: Wed Jul 14 18:06:21 2010 New Revision: 210066 URL: http://svn.freebsd.org/changeset/base/210066 Log: Rework the SMBIOS table walker to make it operate like other table walkers and remove a buffer overflow: - Remove the array of per-type dispatch functions. Instead, pass

svn commit: r210135 - head/sys/fs/nfsclient

2010-07-15 Thread John Baldwin
Author: jhb Date: Thu Jul 15 19:21:48 2010 New Revision: 210135 URL: http://svn.freebsd.org/changeset/base/210135 Log: Merge 208603, 209946, and 209948 to the new NFS client: Move attribute cache flushes from VOP_OPEN() to VOP_LOOKUP() to provide more graceful recovery for stale filehandles

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

2010-07-15 Thread John Baldwin
Author: jhb Date: Thu Jul 15 20:24:37 2010 New Revision: 210138 URL: http://svn.freebsd.org/changeset/base/210138 Log: Retire td_syscalls now that it is no longer needed. Modified: head/sys/kern/kern_thread.c head/sys/kern/subr_trap.c head/sys/sys/proc.h Modified:

Re: svn commit: r210151 - head/sys/conf

2010-07-16 Thread John Baldwin
the time to track it to ground (and even if I did, fixing it would require a MFC of the change to the very old systems we're targetting with this fix). Thanks! -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman

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

2010-07-16 Thread John Baldwin
On Friday, July 16, 2010 8:30:50 am Bjoern A. Zeeb wrote: On Fri, 16 Jul 2010, Kostik Belousov wrote: On Fri, Jul 16, 2010 at 06:44:39AM +, Bjoern A. Zeeb wrote: On Thu, 15 Jul 2010, John Baldwin wrote: Author: jhb Date: Thu Jul 15 20:24:37 2010 New Revision: 210138 URL: http

svn commit: r210171 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/cd9660 fs/udf ufs/ffs

2010-07-16 Thread John Baldwin
Author: jhb Date: Fri Jul 16 19:20:20 2010 New Revision: 210171 URL: http://svn.freebsd.org/changeset/base/210171 Log: When the MNTK_EXTENDED_SHARED mount option was added, some filesystems were changed to defer the setting of VN_LOCK_ASHARE() (which clears LK_NOSHARE in the vnode lock's

Re: svn commit: r210217 - head/sys/kern

2010-07-20 Thread John Baldwin
throughout the kernel is to provide spaces around operators like '/' and '*'. -- John Baldwin ___ 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-unsubscr...@freebsd.org

svn commit: r210505 - head/sys/dev/cxgb

2010-07-26 Thread John Baldwin
Author: jhb Date: Mon Jul 26 17:31:15 2010 New Revision: 210505 URL: http://svn.freebsd.org/changeset/base/210505 Log: - Change the warning about PCI-e links narrower than x8 to only apply to 10G cards. 1G cards are x4 only. - Use constants from pcireg.h for reading the current link

svn commit: r210550 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include sys vm

2010-07-27 Thread John Baldwin
Author: jhb Date: Tue Jul 27 20:33:50 2010 New Revision: 210550 URL: http://svn.freebsd.org/changeset/base/210550 Log: Very rough first cut at NUMA support for the physical page allocator. For now it uses a very dumb first-touch allocation policy. This will change in the future. - Each

svn commit: r210552 - in head/sys: conf x86/acpica

2010-07-27 Thread John Baldwin
Author: jhb Date: Tue Jul 27 20:40:46 2010 New Revision: 210552 URL: http://svn.freebsd.org/changeset/base/210552 Log: Add a parser for the ACPI SRAT table for amd64 and i386. It sets PCPU(domain) for each CPU and populates a mem_affinity array suitable for the NUMA support in the physical

Re: svn commit: r210552 - in head/sys: conf x86/acpica

2010-07-27 Thread John Baldwin
On Tuesday, July 27, 2010 4:40:46 pm John Baldwin wrote: Author: jhb Date: Tue Jul 27 20:40:46 2010 New Revision: 210552 URL: http://svn.freebsd.org/changeset/base/210552 Log: Add a parser for the ACPI SRAT table for amd64 and i386. It sets PCPU(domain) for each CPU and populates

Re: svn commit: r210550 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include sys vm

2010-07-27 Thread John Baldwin
On Tuesday, July 27, 2010 4:33:50 pm John Baldwin wrote: Author: jhb Date: Tue Jul 27 20:33:50 2010 New Revision: 210550 URL: http://svn.freebsd.org/changeset/base/210550 Log: Very rough first cut at NUMA support for the physical page allocator. For now it uses a very dumb first

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

2010-07-28 Thread John Baldwin
Author: jhb Date: Wed Jul 28 21:52:09 2010 New Revision: 210577 URL: http://svn.freebsd.org/changeset/base/210577 Log: The corrected error count field is dependent on CMCI, not TES. MFC after:1 week Modified: head/sys/amd64/include/specialreg.h head/sys/i386/include/specialreg.h

svn commit: r210620 - head/sys/x86/acpica

2010-07-29 Thread John Baldwin
Author: jhb Date: Thu Jul 29 17:37:35 2010 New Revision: 210620 URL: http://svn.freebsd.org/changeset/base/210620 Log: When performing a sanity check on the SRAT table to ensure that each memory domain has an assigned CPU, ignore disabled CPUs. Previously disabled CPUs were counted as

Re: svn commit: r210623 - in head/sys: amd64/include i386/include ia64/include

2010-07-29 Thread John Baldwin
On Thursday, July 29, 2010 2:44:10 pm John Baldwin wrote: Author: jhb Date: Thu Jul 29 18:44:10 2010 New Revision: 210623 URL: http://svn.freebsd.org/changeset/base/210623 Log: Mark the __curthread() functions as __pure2 and remove the volatile keyword from the inline assembly

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

2010-08-02 Thread John Baldwin
Author: jhb Date: Mon Aug 2 17:01:23 2010 New Revision: 210774 URL: http://svn.freebsd.org/changeset/base/210774 Log: Tweak the logic to disable CLFLUSH in virtual environments to work around problems with flushing the local APIC register range so that it checks vm_guest directly.

svn commit: r210852 - head/gnu/usr.bin/gdb/kgdb

2010-08-04 Thread John Baldwin
Author: jhb Date: Wed Aug 4 21:02:04 2010 New Revision: 210852 URL: http://svn.freebsd.org/changeset/base/210852 Log: Change kgdb_lookup() to resolve symbols via GDB instead of via libkvm(3). Modified: head/gnu/usr.bin/gdb/kgdb/kgdb.h head/gnu/usr.bin/gdb/kgdb/kthr.c

svn commit: r210868 - in head/sys: amd64/amd64 i386/i386 i386/pci

2010-08-05 Thread John Baldwin
Author: jhb Date: Thu Aug 5 17:48:37 2010 New Revision: 210868 URL: http://svn.freebsd.org/changeset/base/210868 Log: Change the MPTable and $PIR PCI-PCI bridge drivers to inherit from the generic PCI-PCI bridge driver and only override specific methods. This should fix suspend/resume of

svn commit: r210936 - in head: contrib/bsnmp/snmp_mibII sbin/ifconfig usr.sbin/ndp usr.sbin/ppp

2010-08-06 Thread John Baldwin
Author: jhb Date: Fri Aug 6 15:09:21 2010 New Revision: 210936 URL: http://svn.freebsd.org/changeset/base/210936 Log: Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but use a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLAN interfaces like

svn commit: r210937 - head/sys/net

2010-08-06 Thread John Baldwin
Author: jhb Date: Fri Aug 6 15:15:26 2010 New Revision: 210937 URL: http://svn.freebsd.org/changeset/base/210937 Log: Adjust the interface type in the link layer socket address for vlan(4) interfaces to be a vlan (IFT_L2VLAN) rather than an Ethernet interface (IFT_ETHER). The code already

svn commit: r210939 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include i386/xen ia64/ia64 ia64/include kern mips/include mips/mips powerpc/include powerpc/powerpc sparc64/include sun4v...

2010-08-06 Thread John Baldwin
Author: jhb Date: Fri Aug 6 15:36:59 2010 New Revision: 210939 URL: http://svn.freebsd.org/changeset/base/210939 Log: Add a new ipi_cpu() function to the MI IPI API that can be used to send an IPI to a specific CPU by its cpuid. Replace calls to ipi_selected() that constructed a mask for

Re: svn commit: r210946 - head/contrib/bsnmp/snmp_mibII

2010-08-06 Thread John Baldwin
= mib_rcvaddr_create(ifp, ether_bcast, 6)) != NULL) rcv-flags |= MIBRCVADDR_BCAST; Argh, sorry. :( -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any

svn commit: r211182 - head/sys/dev/iscsi/initiator

2010-08-11 Thread John Baldwin
Author: jhb Date: Wed Aug 11 16:56:38 2010 New Revision: 211182 URL: http://svn.freebsd.org/changeset/base/211182 Log: Do not use %z to print a time_t. Fixes build on architectures where time_t and size_t are different types. Modified: head/sys/dev/iscsi/initiator/iscsi.c Modified:

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

2010-08-11 Thread John Baldwin
architectures in p4 that I was doing universe builds on yesterday that this conflicts with. I will commit my other patch shortly. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe

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

2010-08-11 Thread John Baldwin
. -- John Baldwin ___ 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-unsubscr...@freebsd.org

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

2010-08-11 Thread John Baldwin
Attilio Rao wrote: 2010/8/11 John Baldwin j...@freebsd.org: Attilio Rao wrote: Author: attilio Date: Wed Aug 11 10:51:27 2010 New Revision: 211176 URL: http://svn.freebsd.org/changeset/base/211176 Log: IPI handlers may run generally with interrupts disabled because they are served via

Re: svn commit: r211157 - in head/sys: modules modules/if_carp net netinet netinet6

2010-08-11 Thread John Baldwin
in if_carp.c itself. -- John Baldwin ___ 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-unsubscr...@freebsd.org

svn commit: r211197 - in head/sys: amd64/amd64 arm/include i386/i386 i386/xen mips/include powerpc/include sparc64/include sparc64/sparc64 sun4v/include sun4v/sun4v

2010-08-12 Thread John Baldwin
Author: jhb Date: Wed Aug 11 23:22:53 2010 New Revision: 211197 URL: http://svn.freebsd.org/changeset/base/211197 Log: Update various places that store or manipulate CPU masks to use cpumask_t instead of int or u_int. Since cpumask_t is currently u_int on all platforms this should just be

Re: svn commit: r211221 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread John Baldwin
Dag-Erling Smørgrav wrote: John Baldwin j...@freebsd.org writes: Dag-Erling Smørgrav d...@des.no writes: Slightly better: printf(\tClass %u Base Address 0x%jx Length %ju\n\n, (unsigned int)tcpa-platform_class, (uintmax_t)paddr, (uintmax_t)len); but it would probably

svn commit: r211433 - head/sys/netinet

2010-08-17 Thread John Baldwin
Author: jhb Date: Tue Aug 17 16:41:16 2010 New Revision: 211433 URL: http://svn.freebsd.org/changeset/base/211433 Log: Ensure a minimum slop of 10 extra pcb structures when providing a memory size estimate to userland for pcb list sysctls. The previous behavior of a slop of n/8 does not

Re: svn commit: r210175 - head/usr.sbin/sysinstall

2010-08-17 Thread John Baldwin
on the motherboard. Has anyone actually verified that it still works? I know I haven't used it for more than a decade. Someone tested plip for me a year or so ago when I locked ppbus/ppc/ppi/lpt/plip/vpo. -- John Baldwin ___ svn-src-head@freebsd.org mailing list

svn commit: r211508 - head/sys/sys

2010-08-19 Thread John Baldwin
Author: jhb Date: Thu Aug 19 15:55:50 2010 New Revision: 211508 URL: http://svn.freebsd.org/changeset/base/211508 Log: Remove an unused macro. exit1() invokes ktrprocexit() directly. Modified: head/sys/sys/ktrace.h Modified: head/sys/sys/ktrace.h

svn commit: r211512 - head/sys/kern

2010-08-19 Thread John Baldwin
Author: jhb Date: Thu Aug 19 16:38:58 2010 New Revision: 211512 URL: http://svn.freebsd.org/changeset/base/211512 Log: Fix a whitespace nit and remove a questioning comment. STAILQ_CONCAT() does require the STAILQ the existing list is being added to to already be initialized (it is

svn commit: r211514 - head/sys/kern

2010-08-19 Thread John Baldwin
Author: jhb Date: Thu Aug 19 16:40:30 2010 New Revision: 211514 URL: http://svn.freebsd.org/changeset/base/211514 Log: There isn't really a need to hold the ktrace mutex just to read the value of p_traceflag that is stored in the kinfo_proc structure. It is still racey even with the lock

svn commit: r211515 - in head/sys: amd64/amd64 amd64/ia32 i386/i386 ia64/ia64 kern powerpc/aim powerpc/booke sparc64/sparc64 sun4v/sun4v

2010-08-19 Thread John Baldwin
Author: jhb Date: Thu Aug 19 16:41:27 2010 New Revision: 211515 URL: http://svn.freebsd.org/changeset/base/211515 Log: Remove unused KTRACE includes. Modified: head/sys/amd64/amd64/trap.c head/sys/amd64/ia32/ia32_syscall.c head/sys/i386/i386/trap.c head/sys/ia64/ia64/trap.c

svn commit: r211531 - in head/sys: fs/devfs fs/nfsclient fs/nwfs fs/pseudofs fs/smbfs gnu/fs/xfs/FreeBSD kern nfsclient sys ufs/ffs

2010-08-20 Thread John Baldwin
Author: jhb Date: Fri Aug 20 19:46:50 2010 New Revision: 211531 URL: http://svn.freebsd.org/changeset/base/211531 Log: Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and LK_CANRECURSE after a lock is created. Use them to implement macros that otherwise manipulated the

svn commit: r211820 - in head/sys: conf x86/pci

2010-08-25 Thread John Baldwin
Author: jhb Date: Wed Aug 25 19:12:05 2010 New Revision: 211820 URL: http://svn.freebsd.org/changeset/base/211820 Log: Intel QPI chipsets actually provide two extra non-core PCI buses that provide PCI devices for various hardware such as memory controllers, etc. These PCI buses are not

svn commit: r211821 - head/sys/x86/pci

2010-08-25 Thread John Baldwin
Author: jhb Date: Wed Aug 25 20:37:58 2010 New Revision: 211821 URL: http://svn.freebsd.org/changeset/base/211821 Log: Correctly ensure that the CPU family is 0x6, not non-zero. Submitted by: Dimitry Andric Modified: head/sys/x86/pci/qpi.c Modified: head/sys/x86/pci/qpi.c

svn commit: r211888 - head/sys/netinet

2010-08-27 Thread John Baldwin
Author: jhb Date: Fri Aug 27 18:17:46 2010 New Revision: 211888 URL: http://svn.freebsd.org/changeset/base/211888 Log: Simplify the tcp pcblist estimate logic slightly. MFC after:3 days Modified: head/sys/netinet/tcp_subr.c Modified: head/sys/netinet/tcp_subr.c

Re: svn commit: r212008 - head/sys/dev/twa

2010-08-30 Thread John Baldwin
part of the changes might deal with how failures from bus_dmamap_load() are handled, but this commit message isn't very informative (which means it won't be very useful in the future when looking through commit history). -- John Baldwin ___ svn-src

Re: svn commit: r212061 - head/sys/dev/bge

2010-08-31 Thread John Baldwin
to always enforce a 4GB boundary in the bus_dma code itself. -- John Baldwin ___ 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-unsubscr...@freebsd.org

Re: svn commit: r212064 - head/sys/boot/pc98/boot2

2010-08-31 Thread John Baldwin
On Tuesday, August 31, 2010 3:53:54 pm Dimitry Andric wrote: On 2010-08-31 21:37, John Baldwin wrote: -return *(p + 0x401) * 128 * 1024 + *(u_int16_t *)(p + 0x594) * 1024 * 1024; +return *p * 128 * 1024 + *(u_int16_t *)(p + (0x594 - 0x401)) * 1024 * 1024; } Perhaps replace

Re: svn commit: r212115 - head/sys/kern

2010-09-01 Thread John Baldwin
() that only migratable threads or those moving due to a sched_bind() are changing CPUs. sched_affinity code came from j...@. MFC after: 2 weeks Cool, I guess this fixed it in your tests then? -- John Baldwin ___ svn-src-head@freebsd.org mailing

Re: svn commit: r212076 - head/lib/libthr/thread

2010-09-02 Thread John Baldwin
as it was no longer necessary. -- John Baldwin ___ 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-unsubscr...@freebsd.org

Re: svn commit: r212216 - head/sys/fs/nfsclient

2010-09-05 Thread John Baldwin
locking. -- John Baldwin ___ 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-unsubscr...@freebsd.org

Re: svn commit: r212251 - head/sys/dev/acpi_support

2010-09-06 Thread John Baldwin
. -- John Baldwin ___ 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-unsubscr...@freebsd.org

svn commit: r212292 - head/sys/x86/pci

2010-09-07 Thread John Baldwin
Author: jhb Date: Tue Sep 7 13:50:02 2010 New Revision: 212292 URL: http://svn.freebsd.org/changeset/base/212292 Log: Each processor socket in a QPI system has a special PCI bus for the uncore devices (such as the memory controller) in that socket. Stop hardcoding support for two busses,

svn commit: r212293 - in head/sys: fs/nfsclient nfsclient

2010-09-07 Thread John Baldwin
Author: jhb Date: Tue Sep 7 14:29:45 2010 New Revision: 212293 URL: http://svn.freebsd.org/changeset/base/212293 Log: Store the full timestamp when caching timestamps of files and directories for purposes of validating name cache entries. This closes races where two updates to a file or

Re: svn commit: r212293 - in head/sys: fs/nfsclient nfsclient

2010-09-08 Thread John Baldwin
On Tuesday, September 07, 2010 10:29:45 am John Baldwin wrote: Author: jhb Date: Tue Sep 7 14:29:45 2010 New Revision: 212293 URL: http://svn.freebsd.org/changeset/base/212293 Log: Store the full timestamp when caching timestamps of files and directories for purposes of validating

svn commit: r212326 - in head: sys/dev/pci usr.sbin/pciconf

2010-09-08 Thread John Baldwin
Author: jhb Date: Wed Sep 8 17:53:34 2010 New Revision: 212326 URL: http://svn.freebsd.org/changeset/base/212326 Log: - Add register definitions related to extended capability IDs in PCI-express. I used PCIZ_* for ID constants (plain capability IDs use PCIY_*). - Add register

Re: svn commit: r212325 - head/sys/kern

2010-09-08 Thread John Baldwin
in our code, and it is more convenient too. Suggested by: jhb No objection: imp Other way around actually, this was imp's suggestion. :) -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: svn commit: r212326 - in head: sys/dev/pci usr.sbin/pciconf

2010-09-08 Thread John Baldwin
On Wednesday, September 08, 2010 1:53:34 pm John Baldwin wrote: Author: jhb Date: Wed Sep 8 17:53:34 2010 New Revision: 212326 URL: http://svn.freebsd.org/changeset/base/212326 Log: - Add register definitions related to extended capability IDs in PCI-express. I used PCIZ_* for ID

<    1   2   3   4   5   6   7   8   9   10   >