svn commit: r232066 - in stable/9: cddl/contrib/opensolaris/lib/libzpool/common/sys sys/amd64/amd64 sys/cddl/compat/opensolaris/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/sys sys/vm

2012-02-23 Thread Kip Macy
Author: kmacy Date: Thu Feb 23 19:20:36 2012 New Revision: 232066 URL: http://svn.freebsd.org/changeset/base/232066 Log: MFC r230623 exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64 excluding other allocations including UMA now entails the addition of a single fl

svn commit: r232058 - stable/9/sys/net

2012-02-23 Thread Kip Macy
Author: kmacy Date: Thu Feb 23 18:50:19 2012 New Revision: 232058 URL: http://svn.freebsd.org/changeset/base/232058 Log: MFC r230598 A flowtable entry can continue referencing an llentry indefinitely if the entry is repeatedly referenced within its timeout window. This change clears th

svn commit: r232055 - in head/sys: fs/fifofs kern sys

2012-02-23 Thread Kip Macy
Author: kmacy Date: Thu Feb 23 18:37:30 2012 New Revision: 232055 URL: http://svn.freebsd.org/changeset/base/232055 Log: merge pipe and fifo implementations Also reviewed by: jhb, jilles (initial revision) Tested by: pho, jilles Submitted by: gianni Reviewed by: bde Modified: h

svn commit: r232054 - in head/sys: net netinet netinet6

2012-02-23 Thread Kip Macy
Author: kmacy Date: Thu Feb 23 18:21:37 2012 New Revision: 232054 URL: http://svn.freebsd.org/changeset/base/232054 Log: When using flowtable llentrys can outlive the interface with which they're associated at which the lle_tbl pointer points to freed memory and the llt_free pointer is no lo

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

2012-01-28 Thread Kip Macy
Author: kmacy Date: Sun Jan 29 00:19:19 2012 New Revision: 230689 URL: http://svn.freebsd.org/changeset/base/230689 Log: always exclude data bufs regardless of debug settings Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c Modified: head/sys/cddl/contrib/opensolaris/uts/c

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

2012-01-28 Thread Kip Macy
Author: kmacy Date: Sat Jan 28 23:30:39 2012 New Revision: 230679 URL: http://svn.freebsd.org/changeset/base/230679 Log: update .Dd Modified: head/share/man/man9/malloc.9 head/share/man/man9/vm_page_alloc.9 Modified: head/share/man/man9/malloc.9

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

2012-01-28 Thread Kip Macy
Author: kmacy Date: Sat Jan 28 17:41:42 2012 New Revision: 230647 URL: http://svn.freebsd.org/changeset/base/230647 Log: add tunable for developers working on areas outside of ZFS to further reduce core size by excluding ARC metadata buffers from core dumps Modified: head/sys/cddl/contrib

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

2012-01-28 Thread Kip Macy
Author: kmacy Date: Sat Jan 28 17:27:58 2012 New Revision: 230646 URL: http://svn.freebsd.org/changeset/base/230646 Log: alphabetically sort optional flags and add documentation for VM_ALLOC_NODUMP Modified: head/share/man/man9/vm_page_alloc.9 Modified: head/share/man/man9/vm_page_alloc.9 ==

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

2012-01-28 Thread Kip Macy
Author: kmacy Date: Sat Jan 28 17:21:12 2012 New Revision: 230645 URL: http://svn.freebsd.org/changeset/base/230645 Log: document M_NODUMP flag Modified: head/share/man/man9/malloc.9 Modified: head/share/man/man9/malloc.9 ==

svn commit: r230629 - head/cddl/contrib/opensolaris/lib/libzpool/common/sys

2012-01-27 Thread Kip Macy
Author: kmacy Date: Fri Jan 27 22:24:03 2012 New Revision: 230629 URL: http://svn.freebsd.org/changeset/base/230629 Log: add KM_NODEBUG needed by ARC buffer core dump exclusion change Modified: head/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h Modified: head/cddl/contrib/op

svn commit: r230623 - in head/sys: amd64/amd64 cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs sys vm

2012-01-27 Thread Kip Macy
Author: kmacy Date: Fri Jan 27 20:18:31 2012 New Revision: 230623 URL: http://svn.freebsd.org/changeset/base/230623 Log: exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64 excluding other allocations including UMA now entails the addition of a single flag to kmem_alloc or

svn commit: r230598 - head/sys/net

2012-01-26 Thread Kip Macy
Author: kmacy Date: Thu Jan 26 20:02:40 2012 New Revision: 230598 URL: http://svn.freebsd.org/changeset/base/230598 Log: A flowtable entry can continue referencing an llentry indefinitely if the entry is repeatedly referenced within its timeout window. This change clears the LLE_VALID flag w

svn commit: r225698 - in head/sys: net netinet6

2011-09-20 Thread Kip Macy
Author: kmacy Date: Tue Sep 20 20:27:26 2011 New Revision: 225698 URL: http://svn.freebsd.org/changeset/base/225698 Log: Make KBI changes required for future MFCing of inpcb rtentry / llentry caching. Reviewed by: rwatson, bz Approved by: re (kib) Modified: head/sys/net/if_llatbl.h

svn commit: r225617 - in head/sys: amd64/amd64 amd64/linux32 arm/arm cddl/contrib/opensolaris/uts/common/dtrace cddl/contrib/opensolaris/uts/sparc/dtrace compat/freebsd32 compat/linux compat/svr4 d...

2011-09-16 Thread Kip Macy
Author: kmacy Date: Fri Sep 16 13:58:51 2011 New Revision: 225617 URL: http://svn.freebsd.org/changeset/base/225617 Log: In order to maximize the re-usability of kernel code in user space this patch modifies makesyscalls.sh to prefix all of the non-compatibility calls (e.g. not linux_, freeb

svn commit: r208171 - in head/sys: net netinet6

2010-05-16 Thread Kip Macy
Author: kmacy Date: Sun May 16 21:48:39 2010 New Revision: 208171 URL: http://svn.freebsd.org/changeset/base/208171 Log: allocate ipv6 flows from the ipv6 flow zone reported by: rrs@ MFC after:3 days Modified: head/sys/net/flowtable.c head/sys/net/flowtable.h head/sys/netine

svn commit: r208043 - head/sys/netinet6

2010-05-13 Thread Kip Macy
Author: kmacy Date: Thu May 13 19:47:36 2010 New Revision: 208043 URL: http://svn.freebsd.org/changeset/base/208043 Log: do a proper fix Pointed out by: np@ MFC after:3 days Modified: head/sys/netinet6/ip6_input.c Modified: head/sys/netinet6/ip6_input.c

svn commit: r208042 - head/sys/netinet6

2010-05-13 Thread Kip Macy
Author: kmacy Date: Thu May 13 19:36:13 2010 New Revision: 208042 URL: http://svn.freebsd.org/changeset/base/208042 Log: fix compile error on some builds by doing the equivalent of an "extern VNET_DEFINE" without "__used" MFC after:3 days Modified: head/sys/netinet6/ip6_input.c Mo

svn commit: r207953 - head/sys/net

2010-05-11 Thread Kip Macy
Author: kmacy Date: Wed May 12 04:51:20 2010 New Revision: 207953 URL: http://svn.freebsd.org/changeset/base/207953 Log: workaround bug with ipv6 where a flow can have a null rtentry Modified: head/sys/net/flowtable.c Modified: head/sys/net/flowtable.c ===

svn commit: r207949 - head/sys/netinet6

2010-05-11 Thread Kip Macy
Author: kmacy Date: Wed May 12 03:29:11 2010 New Revision: 207949 URL: http://svn.freebsd.org/changeset/base/207949 Log: try working around panic by validating rt and lle MFC after:3 days Modified: head/sys/netinet6/ip6_output.c Modified: head/sys/netinet6/ip6_output.c =

svn commit: r207902 - head/sys/netinet6

2010-05-10 Thread Kip Macy
Author: kmacy Date: Mon May 10 21:31:20 2010 New Revision: 207902 URL: http://svn.freebsd.org/changeset/base/207902 Log: boot time size the flowtable MFC after:3 days Modified: head/sys/netinet6/ip6_input.c Modified: head/sys/netinet6/ip6_input.c

svn commit: r207828 - head/sys/netinet6

2010-05-09 Thread Kip Macy
Author: kmacy Date: Sun May 9 20:32:00 2010 New Revision: 207828 URL: http://svn.freebsd.org/changeset/base/207828 Log: Add flowtable support to IPv6 Tested by: qingli@ Reviewed by: qingli@ MFC after:3 days Modified: head/sys/netinet6/in6_proto.c head/sys/netinet6/ip6_inpu

svn commit: r207460 - head/sys/vm

2010-04-30 Thread Kip Macy
Author: kmacy Date: Sat May 1 03:41:21 2010 New Revision: 207460 URL: http://svn.freebsd.org/changeset/base/207460 Log: Update locking comment above vm_page: - re-assign page queue lock "Q" - assign page lock "P" - update several uncommented fields - observe

svn commit: r207452 - head/sys/vm

2010-04-30 Thread Kip Macy
Author: kmacy Date: Fri Apr 30 22:31:37 2010 New Revision: 207452 URL: http://svn.freebsd.org/changeset/base/207452 Log: push up dropping of the page queue lock to avoid holding it in vm_pageout_flush Modified: head/sys/vm/vm_object.c head/sys/vm/vm_pageout.c Modified: head/sys/vm/vm_obje

svn commit: r207451 - head/sys/vm

2010-04-30 Thread Kip Macy
Author: kmacy Date: Fri Apr 30 21:21:21 2010 New Revision: 207451 URL: http://svn.freebsd.org/changeset/base/207451 Log: don't call vm_pageout_flush with the page queue mutex held Reported by: Michael Butler Modified: head/sys/vm/vm_object.c Modified: head/sys/vm/vm_object.c ===

svn commit: r207450 - head/sys/vm

2010-04-30 Thread Kip Macy
Author: kmacy Date: Fri Apr 30 21:20:14 2010 New Revision: 207450 URL: http://svn.freebsd.org/changeset/base/207450 Log: - acquire the page lock in vm_contig_launder_page before checking page fields - release page queue lock before calling vm_pageout_flush Modified: head/sys/vm/vm_contig.c

svn commit: r207448 - head/sys/vm

2010-04-30 Thread Kip Macy
Author: kmacy Date: Fri Apr 30 19:40:37 2010 New Revision: 207448 URL: http://svn.freebsd.org/changeset/base/207448 Log: - don't check hold_count without the page lock held - don't leak the page lock if m->object is NULL (assuming that that check will in fact even be valid when m->object i

svn commit: r207419 - head/sys/i386/xen

2010-04-29 Thread Kip Macy
Author: kmacy Date: Fri Apr 30 03:26:12 2010 New Revision: 207419 URL: http://svn.freebsd.org/changeset/base/207419 Log: merge 194209 in to the i386/xen pmap requested by: alc@ Modified: head/sys/i386/xen/pmap.c Modified: head/sys/i386/xen/pmap.c

svn commit: r207412 - head/sys/vm

2010-04-29 Thread Kip Macy
Author: kmacy Date: Fri Apr 30 02:46:49 2010 New Revision: 207412 URL: http://svn.freebsd.org/changeset/base/207412 Log: don't allow unsynchronized free in vm_page_unhold Modified: head/sys/vm/vm_page.c Modified: head/sys/vm/vm_page.c =

svn commit: r207410 - in head: . sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/dev/drm sys/i386/i386 sys/i386/include sys/i386/xen sys/ia64/ia64 sys/ia64/include sys/kern sys/mi...

2010-04-29 Thread Kip Macy
Author: kmacy Date: Fri Apr 30 00:46:43 2010 New Revision: 207410 URL: http://svn.freebsd.org/changeset/base/207410 Log: On Alan's advice, rather than do a wholesale conversion on a single architecture from page queue lock to a hashed array of page locks (based on a patch by Jeff Roberson),

svn commit: r207303 - head/sys/net

2010-04-27 Thread Kip Macy
Author: kmacy Date: Tue Apr 27 23:48:50 2010 New Revision: 207303 URL: http://svn.freebsd.org/changeset/base/207303 Log: need to initialize the lock before it is used MFC after:3 days Modified: head/sys/net/flowtable.c Modified: head/sys/net/flowtable.c =

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

2010-04-25 Thread Kip Macy
Author: kmacy Date: Sun Apr 25 23:51:05 2010 New Revision: 207213 URL: http://svn.freebsd.org/changeset/base/207213 Log: missed pv access before pmap lock Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd64/amd64/pmap.c =

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

2010-04-25 Thread Kip Macy
Author: kmacy Date: Sun Apr 25 23:18:02 2010 New Revision: 207210 URL: http://svn.freebsd.org/changeset/base/207210 Log: Incremental reduction of delta with head_page_lock_2 branch - replace modification of pmap resident_count with pmap_resident_count_{inc,dec} - the pv list is protected

svn commit: r207163 - head/sys/i386/i386

2010-04-24 Thread Kip Macy
Author: kmacy Date: Sat Apr 24 21:36:52 2010 New Revision: 207163 URL: http://svn.freebsd.org/changeset/base/207163 Log: - fix style issues on i386 as well requested by: alc@ Modified: head/sys/i386/i386/pmap.c Modified: head/sys/i386/i386/pmap.c

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

2010-04-24 Thread Kip Macy
Author: kmacy Date: Sat Apr 24 21:17:07 2010 New Revision: 207161 URL: http://svn.freebsd.org/changeset/base/207161 Log: apply style(9) changes applied to head_page_lock_2 requested by: kib@ Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd64/amd64/pmap.c

svn commit: r206024 - in stable/8/sys: net netinet

2010-03-31 Thread Kip Macy
Author: kmacy Date: Thu Apr 1 00:36:40 2010 New Revision: 206024 URL: http://svn.freebsd.org/changeset/base/206024 Log: MFC 205066, 205069, 205093, 205097, 205488: r205066: Log: - restructure flowtable to support ipv6 - add a name argument to flowtable_alloc for printing with dd

svn commit: r205488 - in head/sys: net netinet

2010-03-22 Thread Kip Macy
Author: kmacy Date: Mon Mar 22 23:04:12 2010 New Revision: 205488 URL: http://svn.freebsd.org/changeset/base/205488 Log: - boot-time size the ipv4 flowtable and the maximum number of flows - increase flow cleaning frequency and decrease flow caching time when near the flow limit - stop a

svn commit: r205487 - head/sys/vm

2010-03-22 Thread Kip Macy
Author: kmacy Date: Mon Mar 22 22:39:32 2010 New Revision: 205487 URL: http://svn.freebsd.org/changeset/base/205487 Log: - enable alignment on amd64 only - only align pcpu caches and the volatile portion of uma_zone Modified: head/sys/vm/uma_int.h Modified: head/sys/vm/uma_int.h ==

svn commit: r205391 - head/sys/netinet

2010-03-20 Thread Kip Macy
Author: kmacy Date: Sat Mar 20 19:47:30 2010 New Revision: 205391 URL: http://svn.freebsd.org/changeset/base/205391 Log: - spread tcp timer callout load evenly across cpus if net.inet.tcp.per_cpu_timers is set to 1 - don't default to acquiring tcbinfo lock exclusively in rexmt MFC after:

svn commit: r205298 - head/sys/vm

2010-03-18 Thread Kip Macy
Author: kmacy Date: Thu Mar 18 20:30:25 2010 New Revision: 205298 URL: http://svn.freebsd.org/changeset/base/205298 Log: turn 205266 in to a no-op until the problem can be properly diagnosed Modified: head/sys/vm/uma_int.h Modified: head/sys/vm/uma_int.h =

svn commit: r205266 - head/sys/vm

2010-03-17 Thread Kip Macy
Author: kmacy Date: Wed Mar 17 21:18:28 2010 New Revision: 205266 URL: http://svn.freebsd.org/changeset/base/205266 Log: Cache line align various structures and move volatile counters to not share a cache line with (mostly) immutable state Reviewed by: jeff@ MFC after:7 days Modif

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

2010-03-17 Thread Kip Macy
Author: kmacy Date: Wed Mar 17 21:10:09 2010 New Revision: 205264 URL: http://svn.freebsd.org/changeset/base/205264 Log: - cache line align arcs_lock array (h/t Marius Nuennerich) - fix ARCS_LOCK_PAD to use architecture defined CACHE_LINE_SIZE - cache line align buf_hash_table ht_locks array

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

2010-03-17 Thread Kip Macy
Author: kmacy Date: Wed Mar 17 20:00:22 2010 New Revision: 205253 URL: http://svn.freebsd.org/changeset/base/205253 Log: use CACHE_LINE_SIZE instead of hardcoding 128 for lock pad pointed out by Marius Nuennerich and jhb@ Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.

svn commit: r205231 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2010-03-16 Thread Kip Macy
Author: kmacy Date: Tue Mar 16 22:17:21 2010 New Revision: 205231 URL: http://svn.freebsd.org/changeset/base/205231 Log: - reduce contention by breaking up ARC state locks in to 16 for data and 16 for metadata - export L2ARC tunables as sysctls - add several kstats to track L2ARC state m

svn commit: r205134 - head/sys/modules/zfs

2010-03-13 Thread Kip Macy
Author: kmacy Date: Sat Mar 13 21:53:48 2010 New Revision: 205134 URL: http://svn.freebsd.org/changeset/base/205134 Log: make UMA the default allocator for ZFS buffers - this avoids a great deal of contention in kmem_alloc MFC after:7 days Modified: head/sys/modules/zfs/Makefile M

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

2010-03-13 Thread Kip Macy
Author: kmacy Date: Sat Mar 13 21:52:21 2010 New Revision: 205133 URL: http://svn.freebsd.org/changeset/base/205133 Log: fix compilation under ZIO_USE_UMA Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c Modified:

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

2010-03-13 Thread Kip Macy
Author: kmacy Date: Sat Mar 13 21:41:52 2010 New Revision: 205132 URL: http://svn.freebsd.org/changeset/base/205132 Log: Don't bottleneck on acquiring the stream locks - this avoids a massive drop off in throughput with large numbers of simultaneous reads MFC after:7 days Modified:

svn commit: r205097 - head/sys/net

2010-03-12 Thread Kip Macy
Author: kmacy Date: Fri Mar 12 19:58:51 2010 New Revision: 205097 URL: http://svn.freebsd.org/changeset/base/205097 Log: flowtable_get_hashkey is only used by a DDB function - move under #ifdef DDB pointed out by jkim@ Modified: head/sys/net/flowtable.c Modified: head/sys/net/flowtable.

svn commit: r205093 - head/sys/net

2010-03-12 Thread Kip Macy
Author: kmacy Date: Fri Mar 12 19:26:45 2010 New Revision: 205093 URL: http://svn.freebsd.org/changeset/base/205093 Log: re-update copyright to 2010 pointed out by danfe@ Modified: head/sys/net/flowtable.c Modified: head/sys/net/flowtable.c =

svn commit: r205069 - head/sys/net

2010-03-11 Thread Kip Macy
Author: kmacy Date: Fri Mar 12 06:31:19 2010 New Revision: 205069 URL: http://svn.freebsd.org/changeset/base/205069 Log: fix stats reporting sysctl Modified: head/sys/net/flowtable.c Modified: head/sys/net/flowtable.c ==

svn commit: r205066 - in head/sys: net netinet

2010-03-11 Thread Kip Macy
Author: kmacy Date: Fri Mar 12 05:03:26 2010 New Revision: 205066 URL: http://svn.freebsd.org/changeset/base/205066 Log: - restructure flowtable to support ipv6 - add a name argument to flowtable_alloc for printing with ddb commands - extend ddb commands to print destination address or 4-tup

svn commit: r204160 - head/sys/i386/xen

2010-02-20 Thread Kip Macy
Author: kmacy Date: Sun Feb 21 01:13:34 2010 New Revision: 204160 URL: http://svn.freebsd.org/changeset/base/204160 Log: - fix bootstrap for variable KVA_PAGES - remove unused CADDR1 - hold lock across page table update MFC after:3 days Modified: head/sys/i386/xen/pmap.c head/s

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

2010-02-20 Thread Kip Macy
Author: kmacy Date: Sun Feb 21 01:12:18 2010 New Revision: 204159 URL: http://svn.freebsd.org/changeset/base/204159 Log: don't hold spin lock across free Modified: head/sys/xen/evtchn/evtchn_dev.c Modified: head/sys/xen/evtchn/evtchn_dev.c

svn commit: r204158 - head/sys/dev/xen/netfront

2010-02-20 Thread Kip Macy
Author: kmacy Date: Sun Feb 21 01:11:39 2010 New Revision: 204158 URL: http://svn.freebsd.org/changeset/base/204158 Log: - make printf conditional - fix witness warnings by making configuration lock a mutex Modified: head/sys/dev/xen/netfront/netfront.c Modified: head/sys/dev/xen/netfront/

svn commit: r204157 - head/sys/i386/conf

2010-02-20 Thread Kip Macy
Author: kmacy Date: Sun Feb 21 01:06:07 2010 New Revision: 204157 URL: http://svn.freebsd.org/changeset/base/204157 Log: remove atkbd from default config to avoid pulling in real-mode bios emulation Modified: head/sys/i386/conf/XEN Modified: head/sys/i386/conf/XEN ===

svn commit: r200352 - head/sys/i386/i386

2009-12-09 Thread Kip Macy
Author: kmacy Date: Thu Dec 10 07:48:47 2009 New Revision: 200352 URL: http://svn.freebsd.org/changeset/base/200352 Log: for PV XEN translate page table entries from machine (real) to physical (logical) addresses so that kgdb can translate them to the correct coredump offsets Modified: hea

svn commit: r200346 - in head/sys/i386: i386 xen

2009-12-09 Thread Kip Macy
Author: kmacy Date: Thu Dec 10 03:09:35 2009 New Revision: 200346 URL: http://svn.freebsd.org/changeset/base/200346 Log: - revert pmap_kenter_temporary to taking a physical address - make minidump work Modified: head/sys/i386/i386/dump_machdep.c head/sys/i386/i386/minidump_machdep.c hea

svn commit: r200288 - head/sys/i386/i386

2009-12-09 Thread Kip Macy
Author: kmacy Date: Wed Dec 9 08:09:25 2009 New Revision: 200288 URL: http://svn.freebsd.org/changeset/base/200288 Log: make PV core dump actually dump memory - still need to fix program header initialization Modified: head/sys/i386/i386/dump_machdep.c head/sys/i386/i386/machdep.c Modifi

svn commit: r199960 - head/sys/dev/xen/blkfront

2009-11-29 Thread Kip Macy
99960) @@ -1,6 +1,7 @@ /* * XenBSD block device driver * + * Copyright (c) 2009 Scott Long, Yahoo! * Copyright (c) 2009 Frank Suchomel, Citrix * Copyright (c) 2009 Doug F. Rabson, Citrix * Copyright (c) 2005 Kip Macy @@ -46,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include #inc

svn commit: r199959 - head/sys/dev/xen/blkfront

2009-11-29 Thread Kip Macy
ice driver * * Copyright (c) 2009 Frank Suchomel, Citrix + * Copyright (c) 2009 Doug F. Rabson, Citrix + * Copyright (c) 2005 Kip Macy + * Copyright (c) 2003-2004, Keir Fraser & Steve Hand + * Modifications by Mark A. Williamson are (c) Intel Research Cambridge + * + * + * Permission is

svn commit: r199774 - in stable/8/sys/i386: include/xen xen

2009-11-24 Thread Kip Macy
Author: kmacy Date: Wed Nov 25 01:55:34 2009 New Revision: 199774 URL: http://svn.freebsd.org/changeset/base/199774 Log: fix UP compilation Modified: stable/8/sys/i386/include/xen/xen-os.h stable/8/sys/i386/xen/locore.s Modified: stable/8/sys/i386/include/xen/xen-os.h =

svn commit: r199773 - in stable/8/sys/i386: i386 include xen

2009-11-24 Thread Kip Macy
Author: kmacy Date: Wed Nov 25 01:52:36 2009 New Revision: 199773 URL: http://svn.freebsd.org/changeset/base/199773 Log: MFC xen pmap updates and eflags fixes Modified: stable/8/sys/i386/i386/vm_machdep.c stable/8/sys/i386/include/cpufunc.h stable/8/sys/i386/xen/pmap.c stable/8/sys/i386

svn commit: r199772 - stable/8/sys/dev/xen/console

2009-11-24 Thread Kip Macy
Author: kmacy Date: Wed Nov 25 01:51:07 2009 New Revision: 199772 URL: http://svn.freebsd.org/changeset/base/199772 Log: remove gratuitous comment Modified: stable/8/sys/dev/xen/console/console.c Modified: stable/8/sys/dev/xen/console/console.c ===

svn commit: r199771 - stable/8/sys/dev/xen/blkfront

2009-11-24 Thread Kip Macy
Author: kmacy Date: Wed Nov 25 01:50:17 2009 New Revision: 199771 URL: http://svn.freebsd.org/changeset/base/199771 Log: MFC core dump support Modified: stable/8/sys/dev/xen/blkfront/blkfront.c Modified: stable/8/sys/dev/xen/blkfront/blkfront.c ===

svn commit: r199735 - head/sys/dev/xen/console

2009-11-23 Thread Kip Macy
Author: kmacy Date: Tue Nov 24 07:18:38 2009 New Revision: 199735 URL: http://svn.freebsd.org/changeset/base/199735 Log: remove annoying printf that cripples kdb on PV guests Modified: head/sys/dev/xen/console/console.c Modified: head/sys/dev/xen/console/console.c ===

svn commit: r199734 - in head/sys: dev/xen/blkfront i386/xen

2009-11-23 Thread Kip Macy
Author: kmacy Date: Tue Nov 24 07:17:51 2009 New Revision: 199734 URL: http://svn.freebsd.org/changeset/base/199734 Log: fixup kernel core dumps on paravirtual guests Modified: head/sys/dev/xen/blkfront/blkfront.c head/sys/i386/xen/pmap.c Modified: head/sys/dev/xen/blkfront/blkfront.c

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

2009-10-06 Thread Kip Macy
Author: kmacy Date: Tue Oct 6 21:40:50 2009 New Revision: 197816 URL: http://svn.freebsd.org/changeset/base/197816 Log: Prevent paging pressure from draining arc too much - always drain arc if above arc_c_max - never drain arc if arc is below arc_c_max MFC after:3 days Modified:

svn commit: r197693 - in head/sys/i386: i386 include xen

2009-10-01 Thread Kip Macy
Author: kmacy Date: Thu Oct 1 22:05:38 2009 New Revision: 197693 URL: http://svn.freebsd.org/changeset/base/197693 Log: make read_eflags and write_eflags accomplish the same effect on PVM as native, simplifying interrupt handling Modified: head/sys/i386/i386/vm_machdep.c head/sys/i386/in

svn commit: r197108 - in head/sys/i386: include/xen xen

2009-09-11 Thread Kip Macy
Author: kmacy Date: Fri Sep 11 23:41:11 2009 New Revision: 197108 URL: http://svn.freebsd.org/changeset/base/197108 Log: fix UP compilation Modified: head/sys/i386/include/xen/xen-os.h head/sys/i386/xen/locore.s Modified: head/sys/i386/include/xen/xen-os.h =

svn commit: r196833 - head/sbin/route

2009-09-04 Thread Kip Macy
Author: kmacy Date: Fri Sep 4 18:52:26 2009 New Revision: 196833 URL: http://svn.freebsd.org/changeset/base/196833 Log: remove stale references to RTF_CLONING and RTF_LLINFO MFC after:3 days Modified: head/sbin/route/route.8 Modified: head/sbin/route/route.8 ===

svn commit: r196661 - head/sys/dev/xen/blkfront

2009-08-30 Thread Kip Macy
Author: kmacy Date: Sun Aug 30 20:45:24 2009 New Revision: 196661 URL: http://svn.freebsd.org/changeset/base/196661 Log: add core dump support to blkfront Obtained from:Frank Suchomel Modified: head/sys/dev/xen/blkfront/blkfront.c Modified: head/sys/dev/xen/blkfront/blkfront.c =

svn commit: r196389 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci net

2009-08-19 Thread Kip Macy
Author: kmacy Date: Wed Aug 19 20:17:36 2009 New Revision: 196389 URL: http://svn.freebsd.org/changeset/base/196389 Log: This change fixes a comment and addresses a complaint by kib@ by moving a frequently executed flowtable syslog statement from being conditional on bootverbose to condit

svn commit: r196388 - head/sys/net

2009-08-19 Thread Kip Macy
Author: kmacy Date: Wed Aug 19 20:13:09 2009 New Revision: 196388 URL: http://svn.freebsd.org/changeset/base/196388 Log: This change fixes a comment and addresses a complaint by kib@ by moving a frequently executed flowtable syslog statement from being conditional on bootverbose to condition

svn commit: r196369 - in stable/8/sys: net netinet

2009-08-18 Thread Kip Macy
Author: kmacy Date: Tue Aug 18 20:39:35 2009 New Revision: 196369 URL: http://svn.freebsd.org/changeset/base/196369 Log: MFC 196368 - change the interface to flowtable_lookup so that we don't rely on the mbuf for obtaining the fib index - check that a cached flow corresponds to the

svn commit: r196368 - in head/sys: net netinet

2009-08-18 Thread Kip Macy
Author: kmacy Date: Tue Aug 18 20:28:58 2009 New Revision: 196368 URL: http://svn.freebsd.org/changeset/base/196368 Log: - change the interface to flowtable_lookup so that we don't rely on the mbuf for obtaining the fib index - check that a cached flow corresponds to the same fib index

svn commit: r196344 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci net

2009-08-17 Thread Kip Macy
Author: kmacy Date: Mon Aug 17 20:06:00 2009 New Revision: 196344 URL: http://svn.freebsd.org/changeset/base/196344 Log: fix netboot issue by disabling flowtable lookups until initialization has been run + mergeinfo garbage Reviewed by: rwatson@ Approved by: re@ Modified: stable

svn commit: r196342 - head/sys/net

2009-08-17 Thread Kip Macy
Author: kmacy Date: Mon Aug 17 19:09:28 2009 New Revision: 196342 URL: http://svn.freebsd.org/changeset/base/196342 Log: fix netboot issue by disabling flowtable lookups until initialization has been run Reviewed by: rwatson@ Approved by: re@ Modified: head/sys/net/flowtable.c Modi

svn commit: r195624 - head/sys/net

2009-07-11 Thread Kip Macy
Author: kmacy Date: Sat Jul 11 21:56:23 2009 New Revision: 195624 URL: http://svn.freebsd.org/changeset/base/195624 Log: Re-factoring for adding weighted routes introduced a fairly irritating bug where the system will panic when RADIX_MPATH is enabled. This change fixes this. Approved b

svn commit: r195586 - in stable/7/sys: . kern netgraph sys

2009-07-10 Thread Kip Macy
Author: kmacy Date: Fri Jul 10 19:43:07 2009 New Revision: 195586 URL: http://svn.freebsd.org/changeset/base/195586 Log: propagate MFC of 195148 to -STABLE: - Turn the third (islocked) argument of the knote call into flags parameter. Introduce the new flag KNF_NOKQLOCK to allow event cal

Re: svn commit: r192971 - in head/sys: cddl/contrib/opensolaris/uts/common/rpc modules/zfs rpc xdr

2009-06-29 Thread Kip Macy
Yes. -Kip On Mon, Jun 29, 2009 at 1:23 PM, Pawel Jakub Dawidek wrote: > On Thu, May 28, 2009 at 08:18:13AM +0000, Kip Macy wrote: >> Author: kmacy >> Date: Thu May 28 08:18:12 2009 >> New Revision: 192971 >> URL: http://svn.freebsd.org/changeset/base/192971 >>

Re: svn commit: r194909 - head/sys/dev/mxge

2009-06-25 Thread Kip Macy
This is my bug. Hold off for a day or two. -Kip On Wed, Jun 24, 2009 at 6:43 PM, Andrew Gallatin wrote: > Sam Leffler wrote: > >> There's something else wrong.  This is just covering up the real bug. > > I'm pretty sure the "real bug" is in bpf, but I'm not sure its a bug, > and I suspect there a

Re: svn commit: r194672 - in head/sys: kern netinet sys

2009-06-22 Thread Kip Macy
Who is reviewing and testing these changes? -Kip On Mon, Jun 22, 2009 at 4:08 PM, Andre Oppermann wrote: > Author: andre > Date: Mon Jun 22 23:08:05 2009 > New Revision: 194672 > URL: http://svn.freebsd.org/changeset/base/194672 > > Log: >  Add soreceive_stream(), an optimized version of sorecei

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

2009-06-22 Thread Kip Macy
 As soon as > INVARIANTS are enable the KASSERT will catch the offender red handed. The INVARIANTS check DTRT. i.e. fail-fast. If you're double-freeing a valid mbuf you'll get a random crash elsewhere. -Kip ___ svn-src-all@freebsd.org mailing list http

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

2009-06-22 Thread Kip Macy
On Mon, Jun 22, 2009 at 12:35 PM, Andre Oppermann wrote: > Author: andre > Date: Mon Jun 22 19:35:39 2009 > New Revision: 194643 > URL: http://svn.freebsd.org/changeset/base/194643 > > Log: >  Update m_demote: >  - remove HT_HEADER test (MT_HEADER == MT_DATA for some time now) >  - be more pedantic

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

2009-06-20 Thread Kip Macy
Author: kmacy Date: Sun Jun 21 01:17:38 2009 New Revision: 194563 URL: http://svn.freebsd.org/changeset/base/194563 Log: fix !x86 cxgb compile Modified: head/sys/dev/cxgb/sys/uipc_mvec.c Modified: head/sys/dev/cxgb/sys/uipc_mvec.c =

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

2009-06-20 Thread Kip Macy
Author: kmacy Date: Sat Jun 20 19:09:41 2009 New Revision: 194554 URL: http://svn.freebsd.org/changeset/base/194554 Log: fix typo in conditional Modified: head/sys/dev/cxgb/cxgb_sge.c Modified: head/sys/dev/cxgb/cxgb_sge.c =

svn commit: r194553 - in head/sys/dev/cxgb: . sys

2009-06-20 Thread Kip Macy
Author: kmacy Date: Sat Jun 20 18:57:14 2009 New Revision: 194553 URL: http://svn.freebsd.org/changeset/base/194553 Log: - fix dma map handling for !x86 case - fix allocation failure handing in refill_fl Modified: head/sys/dev/cxgb/cxgb_sge.c head/sys/dev/cxgb/sys/mvec.h head/sys/dev/cx

svn commit: r194521 - in head/sys: conf dev/cxgb dev/cxgb/common dev/cxgb/sys modules/cxgb/cxgb

2009-06-19 Thread Kip Macy
Author: kmacy Date: Fri Jun 19 23:34:32 2009 New Revision: 194521 URL: http://svn.freebsd.org/changeset/base/194521 Log: Greatly simplify cxgb by removing almost all of the custom mbuf management logic - remove mbuf iovec - useful, but adds too much complexity when isolated to the dri

svn commit: r194518 - head/sys/net

2009-06-19 Thread Kip Macy
Author: kmacy Date: Fri Jun 19 23:11:20 2009 New Revision: 194518 URL: http://svn.freebsd.org/changeset/base/194518 Log: add helper function for flushing software queues Modified: head/sys/net/if_var.h Modified: head/sys/net/if_var.h ==

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

2009-06-19 Thread Kip Macy
Author: kmacy Date: Fri Jun 19 21:14:39 2009 New Revision: 194515 URL: http://svn.freebsd.org/changeset/base/194515 Log: define helper routines for deferred mbuf initialization Modified: head/sys/kern/kern_mbuf.c head/sys/sys/mbuf.h Modified: head/sys/kern/kern_mbuf.c =

svn commit: r194214 - stable/7

2009-06-14 Thread Kip Macy
Author: kmacy Date: Sun Jun 14 21:11:39 2009 New Revision: 194214 URL: http://svn.freebsd.org/changeset/base/194214 Log: further clarify ZFS upgrade requirements Modified: stable/7/UPDATING Modified: stable/7/UPDATING ==

svn commit: r194131 - stable/7/sys/boot/i386/loader

2009-06-13 Thread Kip Macy
Author: kmacy Date: Sat Jun 13 22:02:55 2009 New Revision: 194131 URL: http://svn.freebsd.org/changeset/base/194131 Log: comment out zfs support until I have time for a proper fix Modified: stable/7/sys/boot/i386/loader/Makefile Modified: stable/7/sys/boot/i386/loader/Makefile ==

svn commit: r194130 - in head/sys/dev/xen: blkfront netfront

2009-06-13 Thread Kip Macy
Author: kmacy Date: Sat Jun 13 21:55:08 2009 New Revision: 194130 URL: http://svn.freebsd.org/changeset/base/194130 Log: update backend_changed to reflect .m prototype Modified: head/sys/dev/xen/blkfront/blkfront.c head/sys/dev/xen/netfront/netfront.c Modified: head/sys/dev/xen/blkfront/bl

svn commit: r194043 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2009-06-11 Thread Kip Macy
Author: kmacy Date: Thu Jun 11 22:24:08 2009 New Revision: 194043 URL: http://svn.freebsd.org/changeset/base/194043 Log: pjd has requested that I keep the tunable as zfs_prefetch_disable to minimize gratuitous differences with Opensolaris' ZFS Sorry for the churn Modified: head/sys/cd

svn commit: r193980 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2009-06-11 Thread Kip Macy
Author: kmacy Date: Thu Jun 11 09:51:21 2009 New Revision: 193980 URL: http://svn.freebsd.org/changeset/base/193980 Log: check against prefetch_enable Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_zfetch.c head/

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

2009-06-10 Thread Kip Macy
> Yes, you can simply do a TUNABLE_INT_FETCH() after the initial calculation to > honor any user override.  Many existing settings already work this way where > the user can override the auto-tuned value (e.g. all the buffer-cache tuning > settings). Forgot about - thanks. -Kip __

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

2009-06-10 Thread Kip Macy
Author: kmacy Date: Wed Jun 10 21:05:37 2009 New Revision: 193953 URL: http://svn.freebsd.org/changeset/base/193953 Log: use default policy for enabling prefetching unless the TUNABLE is set Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c head/sys/cddl/contrib/opensolari

svn commit: r193890 - in stable/7/sys/boot: . i386

2009-06-10 Thread Kip Macy
Author: kmacy Date: Wed Jun 10 09:06:42 2009 New Revision: 193890 URL: http://svn.freebsd.org/changeset/base/193890 Log: fix loader for default settings case Modified: stable/7/sys/boot/Makefile stable/7/sys/boot/i386/Makefile Modified: stable/7/sys/boot/Makefile ==

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

2009-06-10 Thread Kip Macy
On Wed, Jun 10, 2009 at 12:00 AM, Dmitry Morozovsky wrote: > On Tue, 9 Jun 2009, Kip Macy wrote: > > KM> > KM>   As far as I can tell systems that have less than 4GB are more > often hurt > KM> > KM>   by prefetched than helped.  On i386 systems and systems

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

2009-06-09 Thread Kip Macy
On Tue, Jun 9, 2009 at 11:15 PM, Dmitry Morozovsky wrote: > Kip, > > On Wed, 10 Jun 2009, Kip Macy wrote: > > KM> Author: kmacy > KM> Date: Wed Jun 10 01:21:32 2009 > KM> New Revision: 193878 > KM> URL: http://svn.freebsd.org/changeset/base/193878 > KM&g

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

2009-06-09 Thread Kip Macy
Author: kmacy Date: Wed Jun 10 01:21:32 2009 New Revision: 193878 URL: http://svn.freebsd.org/changeset/base/193878 Log: As far as I can tell systems that have less than 4GB are more often hurt by prefetched than helped. On i386 systems and systems with less than 4GB, prefetch is now disabl

  1   2   3   4   >