Re: svn commit: r238148 - in head/sys: conf dev/e1000 modules/igb

2012-07-05 Thread John Baldwin
it is safe to rely on bool being an int. -- 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: r238164 - head/sys/dev/atkbdc

2012-07-06 Thread John Baldwin
Author: jhb Date: Fri Jul 6 12:13:28 2012 New Revision: 238164 URL: http://svn.freebsd.org/changeset/base/238164 Log: Add another PS/2 keyboard PNP ID. This ID is listed as Reserved by Microsoft in the standard PNP ID table, but has been seen in the wild on at least one laptop. PR:

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

2012-07-06 Thread John Baldwin
Author: jhb Date: Fri Jul 6 14:25:59 2012 New Revision: 238166 URL: http://svn.freebsd.org/changeset/base/238166 Log: Several fixes to the amd64 disassembler: - Add generic support for opcodes that are escape bytes used for multi-byte opcodes (such as the 0x0f prefix). Use this to

svn commit: r238167 - in head/contrib/binutils: gas/config opcodes

2012-07-06 Thread John Baldwin
Author: jhb Date: Fri Jul 6 14:28:18 2012 New Revision: 238167 URL: http://svn.freebsd.org/changeset/base/238167 Log: Add support for the 'invept' and 'invvpid' instructions. Beyond simply adding appropriate table entries, the assembler had to be adjusted as these are the first non-SSE

Re: svn commit: r238167 - in head/contrib/binutils: gas/config opcodes

2012-07-06 Thread John Baldwin
On Friday, July 06, 2012 10:28:18 am John Baldwin wrote: Author: jhb Date: Fri Jul 6 14:28:18 2012 New Revision: 238167 URL: http://svn.freebsd.org/changeset/base/238167 Log: Add support for the 'invept' and 'invvpid' instructions. Beyond simply adding appropriate table entries

Re: svn commit: r238172 - head/sys/dev/agp

2012-07-09 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: r238310 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2012-07-09 Thread John Baldwin
Author: jhb Date: Mon Jul 9 20:42:08 2012 New Revision: 238310 URL: http://svn.freebsd.org/changeset/base/238310 Log: Partially revert r217515 so that the mem_range_softc variable is always present on x86 kernels. This fixes the build of kernels that include 'device acpi' but do not

svn commit: r238311 - in head/sys: amd64/amd64 amd64/include i386/include i386/isa

2012-07-09 Thread John Baldwin
Author: jhb Date: Mon Jul 9 20:55:39 2012 New Revision: 238311 URL: http://svn.freebsd.org/changeset/base/238311 Log: Add a clts() wrapper around the 'clts' instruction to machine/cpufunc.h on x86 and use that to implement stop_emulating() in the fpu/npx code. Reimplement start_emulating()

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

2012-07-11 Thread John Baldwin
Author: jhb Date: Wed Jul 11 12:10:13 2012 New Revision: 238364 URL: http://svn.freebsd.org/changeset/base/238364 Log: Map ATH_KTR_* to 0 when ATH_DEBUG is not defined. This effectively NOPs out their use in that case. Modified: head/sys/dev/ath/if_ath_debug.h Modified:

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

2012-07-11 Thread John Baldwin
Author: jhb Date: Wed Jul 11 15:04:20 2012 New Revision: 238365 URL: http://svn.freebsd.org/changeset/base/238365 Log: Cast a bus address to a uintmax_t for a debug printf to fix the build on arm. Modified: head/sys/dev/ath/if_ath_rx_edma.c Modified: head/sys/dev/ath/if_ath_rx_edma.c

Re: svn commit: r238364 - head/sys/dev/ath

2012-07-12 Thread John Baldwin
it that way if you wish. I had guessed as to what you wanted to happen since you had moved them inside ATH_DEBUG. My goal was to get universe building again. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman

svn commit: r238423 - in head: tools/regression/usr.sbin/etcupdate usr.sbin usr.sbin/etcupdate

2012-07-13 Thread John Baldwin
Author: jhb Date: Fri Jul 13 13:23:48 2012 New Revision: 238423 URL: http://svn.freebsd.org/changeset/base/238423 Log: The etcupdate utility is a tool for managing updates to files that are not updated as part of `make installworld' such as files in /etc. It manages updates by doing a

svn commit: r238424 - head/sys/kern

2012-07-13 Thread John Baldwin
Author: jhb Date: Fri Jul 13 13:24:33 2012 New Revision: 238424 URL: http://svn.freebsd.org/changeset/base/238424 Log: Make the interval timings for EVFILT_TIMER more accurate. tvtohz() always adds an extra tick to account for the current partial clock tick. However, that is not

Re: svn commit: r238423 - in head: tools/regression/usr.sbin/etcupdate usr.sbin usr.sbin/etcupdate

2012-07-13 Thread John Baldwin
On Friday, July 13, 2012 9:23:48 am John Baldwin wrote: Author: jhb Date: Fri Jul 13 13:23:48 2012 New Revision: 238423 URL: http://svn.freebsd.org/changeset/base/238423 Log: The etcupdate utility is a tool for managing updates to files that are not updated as part of `make

Re: svn commit: r238597 - head/sys/amd64/amd64

2012-07-30 Thread John Baldwin
(u_int csr); +void stmxcsr(u_int csr); void xrstor(char *addr, uint64_t mask); void xsave(char *addr, uint64_t mask); I think this should use 'u_int *addr' rather than 'u_int csr'. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http

Re: svn commit: r238563 - head/gnu/usr.bin/groff/tmac

2012-07-30 Thread John Baldwin
this a nop now? That is, it changes the working directory in a temporary shell that immediately exits? -- 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

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

2012-07-30 Thread John Baldwin
to be a compile-time option. This is almost certainly slower on real hardware where this is important to work around dubious Intel Host-PCI bridges that result in aliased USB interrupts for every em(4) interrupt. -- John Baldwin ___ svn-src-head@freebsd.org

svn commit: r238917 - head/sys/i386/linux

2012-07-30 Thread John Baldwin
Author: jhb Date: Mon Jul 30 20:44:45 2012 New Revision: 238917 URL: http://svn.freebsd.org/changeset/base/238917 Log: The linux_lstat() system call accepts a pointer to a 'struct l_stat', not a 'struct ostat'. Modified: head/sys/i386/linux/syscalls.master Modified:

svn commit: r238918 - head/sys/i386/linux

2012-07-30 Thread John Baldwin
Author: jhb Date: Mon Jul 30 20:45:17 2012 New Revision: 238918 URL: http://svn.freebsd.org/changeset/base/238918 Log: Regen. Modified: head/sys/i386/linux/linux_proto.h head/sys/i386/linux/linux_syscall.h head/sys/i386/linux/linux_syscalls.c head/sys/i386/linux/linux_sysent.c

Re: svn commit: r238933 - head/sys/dev/puc

2012-07-31 Thread John Baldwin
for Moxa boards that need d_ofs greater than 0x7f Prodded by: marcel@, gavin@ MFC after: 3 days Thanks! -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail

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

2012-07-31 Thread John Baldwin
have the normal code path just return before the 'out' label. -- 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: r238765 - head/sys/dev/e1000

2012-07-31 Thread John Baldwin
this: EM_TX_UNLOCK(adapter); return; out: EM_CORE_UNLOCK(adapter); } -- 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

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

2012-07-31 Thread John Baldwin
On Tuesday, July 31, 2012 1:46:59 pm Jack Vogel wrote: No, like so: This looks good to me. The 82574 is supported by em(4) and not lem(4) it seems, hence removing that? -- John Baldwin ___ svn-src-head@freebsd.org mailing list http

svn commit: r238952 - head/sys/kern

2012-07-31 Thread John Baldwin
Author: jhb Date: Tue Jul 31 18:25:00 2012 New Revision: 238952 URL: http://svn.freebsd.org/changeset/base/238952 Log: Reorder the managament of advisory locks on open files so that the advisory lock is obtained before the write count is increased during open() and the lock is released

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

2012-07-31 Thread John Baldwin
On Tuesday, July 31, 2012 2:25:01 pm John Baldwin wrote: Author: jhb Date: Tue Jul 31 18:25:00 2012 New Revision: 238952 URL: http://svn.freebsd.org/changeset/base/238952 Log: Reorder the managament of advisory locks on open files so that the advisory lock is obtained before the write

svn commit: r239008 - in head/sys: powerpc/powerpc x86/x86

2012-08-03 Thread John Baldwin
Author: jhb Date: Fri Aug 3 13:50:29 2012 New Revision: 239008 URL: http://svn.freebsd.org/changeset/base/239008 Log: Improve the handling of static DMA buffers that use non-default memory attributes (currently just BUS_DMA_NOCACHE): - Don't call pmap_change_attr() on the returned address,

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

2012-08-03 Thread John Baldwin
Author: jhb Date: Fri Aug 3 18:40:44 2012 New Revision: 239020 URL: http://svn.freebsd.org/changeset/base/239020 Log: Correct function name in comment. Submitted by: alc Modified: head/sys/x86/x86/busdma_machdep.c Modified: head/sys/x86/x86/busdma_machdep.c

Re: svn commit: r239073 - in head/sys/boot/userboot: . test userboot

2012-08-06 Thread John Baldwin
+#define USERBOOT_VERSIONUSERBOOT_VERSION_2 + struct loader_callbacks_v1 *callbacks; void *callbacks_arg; Should this be called loader_callbacks_v2 now? -- John Baldwin ___ svn-src-head@freebsd.org mailing list http

Re: svn commit: r239076 - head/sys/dev/puc

2012-08-06 Thread John Baldwin
...@insightbb.com Approved by:cperciva MFC after: 3 days Do you have a PR? For pucdata commits we always want the details about the new card logged in a PR so it is easier to track down details about a particular entry in the future if needed. -- John Baldwin

Re: svn commit: r239066 - head/sys/boot/i386/libi386

2012-08-06 Thread John Baldwin
changes. This makes the diff far harder to review and destroys history. I asked you to not do this before. *sigh* -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send

svn commit: r239103 - head/sys/dev/pci

2012-08-06 Thread John Baldwin
Author: jhb Date: Mon Aug 6 19:49:57 2012 New Revision: 239103 URL: http://svn.freebsd.org/changeset/base/239103 Log: Explicitly enable busmastering on PCI-PCI bridges. Transactions initiated on the secondary side of a bridge will not be propagated to the primary bus unless this is

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

2012-08-07 Thread John Baldwin
Author: jhb Date: Tue Aug 7 12:40:31 2012 New Revision: 239128 URL: http://svn.freebsd.org/changeset/base/239128 Log: Don't try to stop the IPMI watchdog timer if it is not running. Starting or stopping the IPMI watchdog is rather expensive with the current implementation as all IPMI

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

2012-08-13 Thread John Baldwin
Author: jhb Date: Mon Aug 13 16:33:22 2012 New Revision: 239235 URL: http://svn.freebsd.org/changeset/base/239235 Log: Add a 10 millisecond delay after sending the initial INIT IPI. This matches the algorithm in the MP specification (1.4). Previously we were sending out the deassert INIT

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

2012-08-13 Thread John Baldwin
just do that and back this out. -- 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: r239178 - in head/sys: kern sys

2012-08-13 Thread John Baldwin
On Monday, August 13, 2012 3:43:42 pm Hans Petter Selasky wrote: On Monday 13 August 2012 15:49:07 John Baldwin wrote: On Friday, August 10, 2012 11:02:50 am Hans Petter Selasky wrote: Author: hselasky Date: Fri Aug 10 15:02:49 2012 New Revision: 239178 URL: http://svn.freebsd.org

svn commit: r239244 - head/sys/dev/twe

2012-08-13 Thread John Baldwin
Author: jhb Date: Mon Aug 13 21:29:34 2012 New Revision: 239244 URL: http://svn.freebsd.org/changeset/base/239244 Log: Add locking to the twe(4) driver and make it MPSAFE: - Add per-controller configuration (sx) and I/O (mutex) locks. The configuration lock protects the relationship of

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

2012-08-14 Thread John Baldwin
On Tuesday, August 14, 2012 01:31:58 AM Hans Petter Selasky wrote: On Monday 13 August 2012 23:00:25 John Baldwin wrote: int foo_attach(device_t dev) { struct foo_softc *sc; sc = malloc(sizeof(struct foo_softc), M_BUS, M_WAITOK | M_ZERO

svn commit: r239331 - head/sys/ia64/ia64

2012-08-16 Thread John Baldwin
Author: jhb Date: Thu Aug 16 17:17:08 2012 New Revision: 239331 URL: http://svn.freebsd.org/changeset/base/239331 Log: Add locking for sscdisk(4) and mark it MPSAFE. Since this driver just makes calls out to the emulator, the locking is fairly simple. A global mutex protects the list of

svn commit: r239335 - head/sys/kern

2012-08-16 Thread John Baldwin
Author: jhb Date: Thu Aug 16 18:04:33 2012 New Revision: 239335 URL: http://svn.freebsd.org/changeset/base/239335 Log: Remove D_NEEDGIANT from dead_devsw. biofinish() (and thus dead_strategy) does not need Giant. MFC after:1 month Modified: head/sys/kern/kern_conf.c Modified:

Re: svn commit: r239334 - head/sys/netinet

2012-08-16 Thread John Baldwin
or refcount underflow or some such? -- 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: r239354 - head/sys/x86/x86

2012-08-17 Thread John Baldwin
Author: jhb Date: Fri Aug 17 14:14:25 2012 New Revision: 239354 URL: http://svn.freebsd.org/changeset/base/239354 Log: Allow static DMA allocations that allow for enough segments to do page-sized segments for the entire allocation to use kmem_alloc_attr() to allocate KVM rather than using

Re: svn commit: r239334 - head/sys/netinet

2012-08-17 Thread John Baldwin
On Thursday, August 16, 2012 6:33:12 pm Randall Stewart wrote: On Aug 16, 2012, at 3:34 PM, John Baldwin wrote: On Thursday, August 16, 2012 1:55:17 pm Randall Stewart wrote: Author: rrs Date: Thu Aug 16 17:55:16 2012 New Revision: 239334 URL: http://svn.freebsd.org/changeset/base

Re: svn commit: r239353 - head/sys/netinet

2012-08-17 Thread John Baldwin
adding obfuscation by moving the ifa_free() away from the associated TAILQ_REMOVE(). -- 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

svn commit: r239356 - head/sbin/dhclient

2012-08-17 Thread John Baldwin
Author: jhb Date: Fri Aug 17 15:53:43 2012 New Revision: 239356 URL: http://svn.freebsd.org/changeset/base/239356 Log: Fix dhclient to properly exit and teardown the configured lease when link is lost. devd will start a new dhclient instance when link is restored. PR:

svn commit: r239357 - in head/sys: net netipsec

2012-08-17 Thread John Baldwin
Author: jhb Date: Fri Aug 17 16:01:24 2012 New Revision: 239357 URL: http://svn.freebsd.org/changeset/base/239357 Log: Unexpand a couple of TAILQ_FOREACH()s. Modified: head/sys/net/if_stf.c head/sys/netipsec/key.c Modified: head/sys/net/if_stf.c

Re: svn commit: r239356 - head/sbin/dhclient

2012-08-17 Thread John Baldwin
On Friday, August 17, 2012 1:02:14 pm Ian Lepore wrote: On Fri, 2012-08-17 at 15:53 +, John Baldwin wrote: Author: jhb Date: Fri Aug 17 15:53:43 2012 New Revision: 239356 URL: http://svn.freebsd.org/changeset/base/239356 Log: Fix dhclient to properly exit and teardown

Re: svn commit: r239356 - head/sbin/dhclient

2012-08-17 Thread John Baldwin
On Friday, August 17, 2012 2:09:54 pm Ian Lepore wrote: On Fri, 2012-08-17 at 13:31 -0400, John Baldwin wrote: On Friday, August 17, 2012 1:02:14 pm Ian Lepore wrote: On Fri, 2012-08-17 at 15:53 +, John Baldwin wrote: Author: jhb Date: Fri Aug 17 15:53:43 2012 New Revision

Re: svn commit: r239356 - head/sbin/dhclient

2012-08-17 Thread John Baldwin
On Friday, August 17, 2012 2:25:12 pm Andrey Chernov wrote: On Fri, Aug 17, 2012 at 03:53:43PM +, John Baldwin wrote: Author: jhb Date: Fri Aug 17 15:53:43 2012 New Revision: 239356 URL: http://svn.freebsd.org/changeset/base/239356 Log: Fix dhclient to properly exit

Re: svn commit: r239353 - head/sys/netinet

2012-08-20 Thread John Baldwin
for this that does not require the lock, when I get a moment I will send it your way… you have seen part of it ;-) Heh, that is probably true, I just think that moving the ifa_free() around here doesn't help to solve those crashes. You are just as vulnerable no matter where they are performed. -- John

svn commit: r239440 - head/sys/net

2012-08-20 Thread John Baldwin
Author: jhb Date: Mon Aug 20 16:00:33 2012 New Revision: 239440 URL: http://svn.freebsd.org/changeset/base/239440 Log: Refine the changes made in r208212 to avoid bogus failures from if_delmulti() when clearing the configuration for a subinterface when the parent interface is being

Re: svn commit: r239356 - head/sbin/dhclient

2012-08-20 Thread John Baldwin
On Saturday, August 18, 2012 3:57:24 pm Andrey Chernov wrote: On Fri, Aug 17, 2012 at 03:07:07PM -0400, John Baldwin wrote: On Friday, August 17, 2012 2:25:12 pm Andrey Chernov wrote: On Fri, Aug 17, 2012 at 03:53:43PM +, John Baldwin wrote: Author: jhb Date: Fri Aug 17 15:53:43

svn commit: r226746 - in head/sys/boot: i386/boot2 i386/btx/lib i386/common i386/libi386 pc98/boot2 pc98/btx/lib pc98/libpc98 pc98/loader

2011-10-25 Thread John Baldwin
Author: jhb Date: Tue Oct 25 19:45:12 2011 New Revision: 226746 URL: http://svn.freebsd.org/changeset/base/226746 Log: Consolidate duplicate definitions of V86_CY() and V86_ZR() which check for the carry and zero flags being set, respectively, in btxv86.h and use them throughout the x86

svn commit: r226748 - in head/sys/boot/i386: common libi386

2011-10-25 Thread John Baldwin
Author: jhb Date: Tue Oct 25 19:54:06 2011 New Revision: 226748 URL: http://svn.freebsd.org/changeset/base/226748 Log: - Add a new header for the x86 boot code that defines various structures and constants related to the BIOS Enhanced Disk Drive Specification. - Use this header instead of

svn commit: r226793 - head/sys/kern

2011-10-26 Thread John Baldwin
Author: jhb Date: Wed Oct 26 15:17:42 2011 New Revision: 226793 URL: http://svn.freebsd.org/changeset/base/226793 Log: - Fixup filenames in a few more places where they are used. - Some whitespace fixes. Modified: head/sys/kern/subr_witness.c Modified: head/sys/kern/subr_witness.c

svn commit: r226849 - head/sys/kern

2011-10-27 Thread John Baldwin
Author: jhb Date: Thu Oct 27 17:43:36 2011 New Revision: 226849 URL: http://svn.freebsd.org/changeset/base/226849 Log: Whitespace fix. Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c == ---

svn commit: r226850 - head/sys/sys

2011-10-27 Thread John Baldwin
Author: jhb Date: Thu Oct 27 17:44:51 2011 New Revision: 226850 URL: http://svn.freebsd.org/changeset/base/226850 Log: Sort function prototypes. Modified: head/sys/sys/fcntl.h Modified: head/sys/sys/fcntl.h == ---

Re: svn commit: r226967 - head/sys/ufs/ufs

2011-10-31 Thread John Baldwin
, + * causing the cache entry to be re-instantiated. + */ + cache_purge(fvp); unlockout: vput(fdvp); -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe

svn commit: r227069 - in head/sys: fs/devfs kern

2011-11-03 Thread John Baldwin
Author: jhb Date: Fri Nov 4 03:39:31 2011 New Revision: 227069 URL: http://svn.freebsd.org/changeset/base/227069 Log: Move the cleanup of f_cdevpriv when the reference count of a devfs file descriptor drops to zero out of _fdrop() and into devfs_close_f() as it is only relevant for devfs

svn commit: r227071 - in head/sys: compat/freebsd32 kern sys

2011-11-03 Thread John Baldwin
Author: jhb Date: Fri Nov 4 04:06:31 2011 New Revision: 227071 URL: http://svn.freebsd.org/changeset/base/227071 Log: Regen. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c

svn commit: r227341 - head/sys/sys

2011-11-08 Thread John Baldwin
Author: jhb Date: Tue Nov 8 14:47:28 2011 New Revision: 227341 URL: http://svn.freebsd.org/changeset/base/227341 Log: Claim that _POSIX_ADVISORY_INFO is fully supported since posix_fadvise() was added. Submitted by: avilla Discussed with: wollman Modified:

svn commit: r227389 - head/sys/boot/i386/libi386

2011-11-09 Thread John Baldwin
Author: jhb Date: Wed Nov 9 14:37:47 2011 New Revision: 227389 URL: http://svn.freebsd.org/changeset/base/227389 Log: Revert some debugging printfs that crept into 223695. Modified: head/sys/boot/i386/libi386/bioscd.c Modified: head/sys/boot/i386/libi386/bioscd.c

svn commit: r227502 - in head/sys: compat/freebsd32 kern sys

2011-11-14 Thread John Baldwin
Author: jhb Date: Mon Nov 14 18:00:15 2011 New Revision: 227502 URL: http://svn.freebsd.org/changeset/base/227502 Log: - Split out a kern_posix_fadvise() from the posix_fadvise() system call so it can be used by in-kernel consumers. - Make kern_posix_fallocate() public. - Use

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

2011-11-14 Thread John Baldwin
Author: jhb Date: Mon Nov 14 18:23:50 2011 New Revision: 227504 URL: http://svn.freebsd.org/changeset/base/227504 Log: Sync with the old NFS client: Remove an obsolete comment. Modified: head/sys/fs/nfsclient/nfs_clvfsops.c Modified: head/sys/fs/nfsclient/nfs_clvfsops.c

svn commit: r227507 - in head: sbin/mount_nfs sys/fs/nfsclient sys/nfsclient

2011-11-14 Thread John Baldwin
Author: jhb Date: Mon Nov 14 18:52:07 2011 New Revision: 227507 URL: http://svn.freebsd.org/changeset/base/227507 Log: Finish making 'wcommitsize' an NFS client mount option. Reviewed by: rmacklem MFC after:1 week Modified: head/sbin/mount_nfs/mount_nfs.8

Re: svn commit: r227538 - head/tools/build

2011-11-15 Thread John Baldwin
bits from the kernel a few years ago already: r137784 | jhb | 2004-11-16 15:42:32 -0500 (Tue, 16 Nov 2004) | 3 lines Initiate deorbit burn sequence for 80386 support in FreeBSD: Remove 80386 (I386_CPU) support from the kernel. -- John Baldwin ___ svn

svn commit: r227562 - head/sys/dev/mfi

2011-11-16 Thread John Baldwin
Author: jhb Date: Wed Nov 16 15:39:27 2011 New Revision: 227562 URL: http://svn.freebsd.org/changeset/base/227562 Log: Add single-message MSI support to mfi(4). It is disabled by default but can be enabled via the hw.mfi.msi tunable. Many mfi(4) controllers also support MSI-X, but in

Re: svn commit: r227536 - in head: release share/man/man7

2011-11-17 Thread John Baldwin
of the current cases (only pc98 would change, yes)? -- 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: r227536 - in head: release share/man/man7

2011-11-17 Thread John Baldwin
On Thursday, November 17, 2011 12:43:12 pm Ken Smith wrote: On Thu, 2011-11-17 at 11:41 -0500, John Baldwin wrote: On Thursday, November 17, 2011 10:11:36 am Ken Smith wrote: On Thu, 2011-11-17 at 14:57 +, Alexey Dokuchaev wrote: On Thu, Nov 17, 2011 at 09:44:52AM -0500, Ken Smith

Re: svn commit: r227701 - in head/sys: arm/xscale/ixp425 dev/ahci dev/ata dev/gpio dev/mvs dev/ppbus dev/ppc dev/siba dev/siis dev/usb kern sys

2011-11-21 Thread John Baldwin
to devclass_get_devices() but only searches for -- 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: r227701 - in head/sys: arm/xscale/ixp425 dev/ahci dev/ata dev/gpio dev/mvs dev/ppbus dev/ppc dev/siba dev/siis dev/usb kern sys

2011-11-22 Thread John Baldwin
On Monday, November 21, 2011 1:39:33 pm Marius Strobl wrote: On Mon, Nov 21, 2011 at 11:16:47AM -0500, John Baldwin wrote: On Saturday, November 19, 2011 5:11:51 am Hans Petter Selasky wrote: Author: hselasky Date: Sat Nov 19 10:11:50 2011 New Revision: 227701 URL: http

Re: svn commit: r227778 - head/sys/net

2011-11-22 Thread John Baldwin
for bpf packet is not sufficiently expensive to justify the extra headache. Just always leave the new field in. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail

Re: svn commit: r227812 - head/lib/libc/string

2011-11-22 Thread John Baldwin
concur, it should just use boolean logic since it is doing a boolean test. -- 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: r227999 - head/lib/libc/gen

2011-11-28 Thread John Baldwin
pthread_once() to determine this? Ideally it would be as smart as libc and use __isthreaded in some fastion. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail

Re: svn commit: r227956 - head/usr.bin/procstat

2011-11-28 Thread John Baldwin
Reviewed by:kib MFC after: 2 weeks Thanks for doing this! Did you consider making the procstat -l output use pretty output similar to the output of /usr/bin/limits? For example, using infinity instead of -1 and using humanize_number() for finite limits that are in units of bytes? -- John

svn commit: r228089 - head/sys/net

2011-11-28 Thread John Baldwin
Author: jhb Date: Mon Nov 28 19:35:08 2011 New Revision: 228089 URL: http://svn.freebsd.org/changeset/base/228089 Log: Change the if_vlan driver to use if_transmit for forwarding packets to the parent interface. This avoids the overhead of queueing a packet to an IFQ only to immediately

Re: svn commit: r227778 - head/sys/net

2011-11-28 Thread John Baldwin
On Wednesday, November 23, 2011 2:37:05 am Lawrence Stewart wrote: On 11/23/11 17:42, Julien Ridoux wrote: On 23/11/2011, at 1:00 AM, Lawrence Stewart wrote: On 11/23/11 00:30, John Baldwin wrote: Think of standalone modules that are not built as part of a kernel (e.g. 3rd party

Re: svn commit: r228143 - in head: . share/mk tools/build/options

2011-11-29 Thread John Baldwin
, was discussed anywhere? (I haven't seen it if so, but am a bit behind on a few lists from last week still.) Also, it seems you are hacking on several build-related things currently, is there a larger project you are working on to reduce build world times or some such? -- John Baldwin

svn commit: r228148 - head/sys/conf

2011-11-29 Thread John Baldwin
Author: jhb Date: Tue Nov 29 21:28:48 2011 New Revision: 228148 URL: http://svn.freebsd.org/changeset/base/228148 Log: Remove a bit of debugging that accidentally crept in earlier. Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

Re: svn commit: r228143 - in head: . share/mk tools/build/options

2011-11-30 Thread John Baldwin
On Wednesday, November 30, 2011 9:35:01 am Max Khon wrote: John, On Wed, Nov 30, 2011 at 3:36 AM, John Baldwin j...@freebsd.org wrote: Author: fjoe Date: Tue Nov 29 19:46:17 2011 New Revision: 228143 URL: http://svn.freebsd.org/changeset/base/228143 Log: Turn off

svn commit: r228161 - head/sys/dev/pci

2011-11-30 Thread John Baldwin
Author: jhb Date: Wed Nov 30 18:33:23 2011 New Revision: 228161 URL: http://svn.freebsd.org/changeset/base/228161 Log: Add a constant for the Advisory Non-Fatal Error bit in AER corrected error status and mask. Modified: head/sys/dev/pci/pcireg.h Modified: head/sys/dev/pci/pcireg.h

svn commit: r228162 - head/sys/xen/evtchn

2011-11-30 Thread John Baldwin
Author: jhb Date: Wed Nov 30 18:52:30 2011 New Revision: 228162 URL: http://svn.freebsd.org/changeset/base/228162 Log: Use C99 initializers for members of evtchn_devsw. Submitted by: arundel Modified: head/sys/xen/evtchn/evtchn_dev.c Modified: head/sys/xen/evtchn/evtchn_dev.c

svn commit: r228181 - head/sbin/sysctl

2011-12-01 Thread John Baldwin
Author: jhb Date: Thu Dec 1 15:01:23 2011 New Revision: 228181 URL: http://svn.freebsd.org/changeset/base/228181 Log: If the -d flag is specified, ignore any new values specified and only display the descriptions of specified nodes. Reported by: Jason Hellenthal jhell of dataix net

svn commit: r228185 - in head/sys: fs/nfsserver nfsserver

2011-12-01 Thread John Baldwin
Author: jhb Date: Thu Dec 1 18:46:28 2011 New Revision: 228185 URL: http://svn.freebsd.org/changeset/base/228185 Log: Enhance the sequential access heuristic used to perform readahead in the NFS server and reuse it for writes as well to allow writes to the backing store to be clustered.

Re: svn commit: r228192 - head/usr.sbin/bsdinstall/scripts

2011-12-02 Thread John Baldwin
this changed, implement the alternate solution. Until then this is better than not having it at all. -- 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

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

2011-12-02 Thread John Baldwin
On 12/2/11 2:59 PM, John Baldwin wrote: Author: jhb Date: Fri Dec 2 19:59:46 2011 New Revision: 228207 URL: http://svn.freebsd.org/changeset/base/228207 Log: When changing the user priority of a thread, change the real priority in addition to the user priority for threads whose current

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

2011-12-02 Thread John Baldwin
be anyway, probing and attaching a driver to a new card is far too expensive to do directly from an interrupt handler). -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any

svn commit: r228278 - head/usr.sbin/mfiutil

2011-12-05 Thread John Baldwin
Author: jhb Date: Mon Dec 5 15:11:35 2011 New Revision: 228278 URL: http://svn.freebsd.org/changeset/base/228278 Log: Use the correct volume identifier field when parsing MR_EVT_ARG_LD_STRIP arguments. MFC after:2 weeks Modified: head/usr.sbin/mfiutil/mfi_evt.c Modified:

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

2011-12-06 Thread John Baldwin
On Saturday, December 03, 2011 5:51:42 am Ivan Klymenko wrote: В Fri, 2 Dec 2011 19:59:46 + (UTC) John Baldwin j...@freebsd.org пишет: Author: jhb Date: Fri Dec 2 19:59:46 2011 New Revision: 228207 URL: http://svn.freebsd.org/changeset/base/228207 Log: When changing

Re: svn commit: r228281 - in head/sys/dev: e1000 re

2011-12-08 Thread John Baldwin
requirements, etc.). You could then use bus_dmamem_alloc() to allocate your buffers. -- 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: r228281 - in head/sys/dev: e1000 re

2011-12-08 Thread John Baldwin
On 12/8/11 1:29 PM, Luigi Rizzo wrote: On Thu, Dec 08, 2011 at 12:49:18PM -0500, John Baldwin wrote: On 12/5/11 2:31 PM, Luigi Rizzo wrote: On Mon, Dec 05, 2011 at 07:38:54PM +0100, Marius Strobl wrote: On Mon, Dec 05, 2011 at 03:33:14PM +, Luigi Rizzo wrote: ... +#ifdef DEV_NETMAP

Re: svn commit: r227956 - head/usr.bin/procstat

2011-12-08 Thread John Baldwin
On 12/3/11 3:58 PM, Mikolaj Golub wrote: On Mon, 28 Nov 2011 13:30:11 -0500 John Baldwin wrote: JB On Thursday, November 24, 2011 3:54:06 pm Mikolaj Golub wrote: Author: trociny Date: Thu Nov 24 20:54:06 2011 New Revision: 227956 URL: http://svn.freebsd.org/changeset/base

Re: svn commit: r227956 - head/usr.bin/procstat

2011-12-08 Thread John Baldwin
On 12/8/11 3:53 PM, Mikolaj Golub wrote: On Thu, 08 Dec 2011 13:30:36 -0500 John Baldwin wrote: JB On 12/3/11 3:58 PM, Mikolaj Golub wrote: On Mon, 28 Nov 2011 13:30:11 -0500 John Baldwin wrote: JB On Thursday, November 24, 2011 3:54:06 pm Mikolaj Golub wrote

svn commit: r228361 - head/sys/fs/devfs

2011-12-09 Thread John Baldwin
Author: jhb Date: Fri Dec 9 17:49:34 2011 New Revision: 228361 URL: http://svn.freebsd.org/changeset/base/228361 Log: Explicitly use curthread while manipulating td_fpop during last close of a devfs file descriptor in devfs_close_f(). The passed in td argument may be NULL if the close was

svn commit: r228371 - head/tools/regression/sockets/unix_passfd

2011-12-09 Thread John Baldwin
Author: jhb Date: Fri Dec 9 19:24:17 2011 New Revision: 228371 URL: http://svn.freebsd.org/changeset/base/228371 Log: - Add a test for PR 151758. - While here, make this compile and work on non-i386: - Use CMSG_SPACE(), CMSG_LEN(), and CMSG_FIRSTHDR() instead of ignoring padding

Re: svn commit: r228431 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/viawd sys/i386/conf sys/modules sys/modules/viawd

2011-12-12 Thread John Baldwin
device_if.h bus_if.h pci_if.h isa_if.h + +.include bsd.kmod.mk -- 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: r228496 - head/sys/dev/pci

2011-12-14 Thread John Baldwin
Author: jhb Date: Wed Dec 14 12:34:02 2011 New Revision: 228496 URL: http://svn.freebsd.org/changeset/base/228496 Log: Implement BUS_ADD_CHILD() for the isab(4) driver. It already calls bus_generic_probe() and bus_generic_attach() to handle drivers that add new children via identify

Re: svn commit: r228502 - head/sys/dev/viawd

2011-12-14 Thread John Baldwin
by: jhb MFC after: 1 month Thanks! -- 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: r228509 - in head: share/man/man9 sys/kern sys/sys

2011-12-14 Thread John Baldwin
Author: jhb Date: Wed Dec 14 22:22:19 2011 New Revision: 228509 URL: http://svn.freebsd.org/changeset/base/228509 Log: Add a helper API to allow in-kernel code to map portions of shared memory objects created by shm_open(2) into the kernel's address space. This provides a convenient way

Re: svn commit: r228520 - head/sys/nfsserver

2011-12-15 Thread John Baldwin
Reviewed by:rmacklem MFC after: 2 weeks This is part of the patch in the PR that had NFS write clustering as well (kern/118126). -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head

svn commit: r228533 - head/sys/kern

2011-12-15 Thread John Baldwin
Author: jhb Date: Thu Dec 15 15:17:19 2011 New Revision: 228533 URL: http://svn.freebsd.org/changeset/base/228533 Log: Use vm_mmap_to_errno(). Submitted by: kib Modified: head/sys/kern/uipc_shm.c Modified: head/sys/kern/uipc_shm.c

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