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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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