svn commit: r222953 - head/sys/kern

2011-06-10 Thread Jeff Roberson
Author: jeff Date: Fri Jun 10 22:15:36 2011 New Revision: 222953 URL: http://svn.freebsd.org/changeset/base/222953 Log: - When printing bufs with show buf the lblkno is often more useful than the blkno. Print them both. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio

svn commit: r222954 - head/sys/ufs/ufs

2011-06-10 Thread Jeff Roberson
Author: jeff Date: Fri Jun 10 22:18:25 2011 New Revision: 222954 URL: http://svn.freebsd.org/changeset/base/222954 Log: - If the fsync in ufs_direnter fails SUJ can later panic because we have partially added a name. Allow ufs_direnter() to continue in the hopes that it is a transien

svn commit: r222955 - head/sys/ufs/ufs

2011-06-10 Thread Jeff Roberson
Author: jeff Date: Fri Jun 10 22:19:44 2011 New Revision: 222955 URL: http://svn.freebsd.org/changeset/base/222955 Log: - Add support for referencing quota structures without needing the inode pointer for softupdates. Submitted by: mckusick Modified: head/sys/ufs/ufs/quota.h head

svn commit: r222956 - head/sys/conf

2011-06-10 Thread Jeff Roberson
Author: jeff Date: Fri Jun 10 22:38:31 2011 New Revision: 222956 URL: http://svn.freebsd.org/changeset/base/222956 Log: - Eliminate an incorrect include path from the mthca build. Modified: head/sys/conf/files Modified: head/sys/conf/files ===

svn commit: r222958 - in head: sbin/fsck_ffs sys/sys sys/ufs/ffs sys/ufs/ufs

2011-06-10 Thread Jeff Roberson
Author: jeff Date: Fri Jun 10 22:48:35 2011 New Revision: 222958 URL: http://svn.freebsd.org/changeset/base/222958 Log: Implement fully asynchronous partial truncation with softupdates journaling to resolve errors which can cause corruption on recovery with the old synchronous mechanism.

Re: svn commit: r222958 - in head: sbin/fsck_ffs sys/sys sys/ufs/ffs sys/ufs/ufs

2011-06-10 Thread Jeff Roberson
On Fri, 10 Jun 2011, Jeff Roberson wrote: Author: jeff Date: Fri Jun 10 22:48:35 2011 New Revision: 222958 URL: http://svn.freebsd.org/changeset/base/222958 Log: Implement fully asynchronous partial truncation with softupdates journaling to resolve errors which can cause corruption on

svn commit: r223325 - head/sys/ufs/ffs

2011-06-19 Thread Jeff Roberson
Author: jeff Date: Mon Jun 20 03:25:09 2011 New Revision: 223325 URL: http://svn.freebsd.org/changeset/base/223325 Log: - Fix directory count rollbacks by passing the mode to the journal dep earlier. - Add rollback/forward code for frag and cluster accounting. - Handle the FREEDEP ca

svn commit: r223689 - head/sbin/fsck_ffs

2011-06-29 Thread Jeff Roberson
Author: jeff Date: Thu Jun 30 05:28:10 2011 New Revision: 223689 URL: http://svn.freebsd.org/changeset/base/223689 Log: - Handle the JOP_SYNC case as appropriate. Reported by: pho Modified: head/sbin/fsck_ffs/suj.c Modified: head/sbin/fsck_ffs/suj.c ===

svn commit: r223769 - head/sys/ufs/ufs

2011-07-04 Thread Jeff Roberson
Author: jeff Date: Mon Jul 4 20:52:23 2011 New Revision: 223769 URL: http://svn.freebsd.org/changeset/base/223769 Log: - Fix an inode quota leak. We need to decrement the quota once and only once. Tested by:pho Reviewed by: mckusick Modified: head/sys/ufs/ufs/ufs_inode.c

svn commit: r223770 - head/sys/ufs/ffs

2011-07-04 Thread Jeff Roberson
Author: jeff Date: Mon Jul 4 20:53:55 2011 New Revision: 223770 URL: http://svn.freebsd.org/changeset/base/223770 Log: - It is impossible to run request_cleanup() while doing a copyonwrite. This will most likely cause new block allocations which can recurse into request cleanup. -

svn commit: r223771 - head/sys/ufs/ffs

2011-07-04 Thread Jeff Roberson
Author: jeff Date: Mon Jul 4 21:04:25 2011 New Revision: 223771 URL: http://svn.freebsd.org/changeset/base/223771 Log: - Handle D_JSEGDEP in the softdep_sync_buf() switch. These can now find themselves on snapshot vnodes. Reported by: pho Modified: head/sys/ufs/ffs/ffs_softdep.c

svn commit: r223772 - head/sys/ufs/ffs

2011-07-04 Thread Jeff Roberson
Author: jeff Date: Mon Jul 4 22:08:04 2011 New Revision: 223772 URL: http://svn.freebsd.org/changeset/base/223772 Log: - Speed up pendingblock processing again. Having too much delay between ffs_blkfree() and the pending adjustment causes all kinds of space related problems. Modifi

svn commit: r219819 - in head: sys/amd64/include sys/conf sys/dev/hptmv sys/i386/include sys/kern sys/net sys/netinet sys/netinet6 sys/sys sys/vm usr.sbin/config usr.sbin/ndp

2011-03-21 Thread Jeff Roberson
Author: jeff Date: Mon Mar 21 09:40:01 2011 New Revision: 219819 URL: http://svn.freebsd.org/changeset/base/219819 Log: - Merge changes to the base system to support OFED. These include a wider arg2 for sysctl, updates to vlan code, IFT_INFINIBAND, and other miscellaneous small featu

Re: svn commit: r219667 - head/usr.sbin/bsdinstall/partedit

2011-03-21 Thread Jeff Roberson
On Sun, 20 Mar 2011, Kirk McKusick wrote: Date: Sun, 20 Mar 2011 13:25:20 -0700 From: Doug Barton To: Marius Strobl CC: Kirk McKusick , Nathan Whitehorn , svn-src-h...@freebsd.org, Jeff Roberson , Gavin Atkinson , svn-src-all@FreeBSD.org, src-committ...@freebsd.org

Re: svn commit: r219667 - head/usr.sbin/bsdinstall/partedit

2011-03-21 Thread Jeff Roberson
On Sun, 20 Mar 2011, Doug Barton wrote: On 03/20/2011 09:22, Marius Strobl wrote: I fear it's still a bit premature for enable SU+J by default. Rather recently I was told about a SU+J filesystems lost after a panic that happend after snapshotting it (report CC'ed, maybe he can provide some mor

Re: svn commit: r219667 - head/usr.sbin/bsdinstall/partedit

2011-03-21 Thread Jeff Roberson
On Mon, 21 Mar 2011, Michael Moll wrote: Hi All, On Sun, Mar 20, 2011 at 05:22:12PM +0100, Marius Strobl wrote: I fear it's still a bit premature for enable SU+J by default. Rather recently I was told about a SU+J filesystems lost after a panic that happend after snapshotting it (report CC'ed,

svn commit: r219849 - head/sys/modules

2011-03-21 Thread Jeff Roberson
Author: jeff Date: Mon Mar 21 21:35:19 2011 New Revision: 219849 URL: http://svn.freebsd.org/changeset/base/219849 Log: - For now, disable ofed module build unless MK_OFED is set. Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile ===

svn commit: r219859 - head/sys/ofed/drivers/net/mlx4

2011-03-21 Thread Jeff Roberson
Author: jeff Date: Tue Mar 22 04:50:47 2011 New Revision: 219859 URL: http://svn.freebsd.org/changeset/base/219859 Log: - Don't use a separate set of rx queues for UDP, hash them into the same set as TCP. - Eliminate the fully linear non-scatter/gather rx path, there is no harm in

svn commit: r219893 - head/sys/ofed/drivers/net/mlx4

2011-03-22 Thread Jeff Roberson
Author: jeff Date: Wed Mar 23 02:47:04 2011 New Revision: 219893 URL: http://svn.freebsd.org/changeset/base/219893 Log: - Correct the vlan filter programming. The device filter is built in reverse order. - Name the cq taskqueues according to whether they handle rx or tx. - Default L

svn commit: r219898 - head/sys/modules

2011-03-23 Thread Jeff Roberson
Author: jeff Date: Wed Mar 23 08:27:57 2011 New Revision: 219898 URL: http://svn.freebsd.org/changeset/base/219898 Log: - Move ofed modules into the i386 and amd64 specific sections to fix universe on other architectures. Modified: head/sys/modules/Makefile Modified: head/sys/modules/M

svn commit: r220016 - in head/sys/ofed: drivers/net/mlx4 include/linux/mlx4

2011-03-25 Thread Jeff Roberson
Author: jeff Date: Sat Mar 26 00:54:01 2011 New Revision: 220016 URL: http://svn.freebsd.org/changeset/base/220016 Log: - Implement wake-on-lan support in mlxen. Modified: head/sys/ofed/drivers/net/mlx4/en_ethtool.c head/sys/ofed/drivers/net/mlx4/en_netdev.c head/sys/ofed/drivers/net/mlx

svn commit: r220282 - head/sys/ufs/ffs

2011-04-02 Thread Jeff Roberson
Author: jeff Date: Sat Apr 2 21:52:58 2011 New Revision: 220282 URL: http://svn.freebsd.org/changeset/base/220282 Log: Fix problems that manifested from filesystem full conditions: - In softdep_revert_mkdir() find the dotaddref before we attempt to cancel the jaddref so we can make a

svn commit: r220406 - head/sys/ufs/ffs

2011-04-06 Thread Jeff Roberson
Author: jeff Date: Thu Apr 7 03:19:10 2011 New Revision: 220406 URL: http://svn.freebsd.org/changeset/base/220406 Log: - Don't invalidate jnewblks immediately upon discovering that the block will be removed. Permit the journal to proceed so that we don't leave a rollback in a cg for

svn commit: r220511 - head/sys/ufs/ffs

2011-04-09 Thread Jeff Roberson
Author: jeff Date: Sun Apr 10 03:49:53 2011 New Revision: 220511 URL: http://svn.freebsd.org/changeset/base/220511 Log: Fix a long standing SUJ performance problem: - Keep a hash of indirect blocks that have recently been freed and are still referenced in the journal. - Lookup bloc

Re: svn commit: r220511 - head/sys/ufs/ffs

2011-04-09 Thread Jeff Roberson
On Sun, 10 Apr 2011, Jeff Roberson wrote: Author: jeff Date: Sun Apr 10 03:49:53 2011 New Revision: 220511 URL: http://svn.freebsd.org/changeset/base/220511 Log: Fix a long standing SUJ performance problem: This brought my dbench performance to within 10-15% of softupdates on a real disk

svn commit: r220532 - head/sys/ufs/ffs

2011-04-10 Thread Jeff Roberson
Author: jeff Date: Mon Apr 11 01:43:59 2011 New Revision: 220532 URL: http://svn.freebsd.org/changeset/base/220532 Log: - Refactor softdep_setup_freeblocks() into a set of functions to prepare for a new journal specific partial truncate routine. - Use dep_current[] in place of specific

svn commit: r221055 - in head/sys: kern ofed/include/linux

2011-04-26 Thread Jeff Roberson
Author: jeff Date: Tue Apr 26 07:30:52 2011 New Revision: 221055 URL: http://svn.freebsd.org/changeset/base/221055 Log: - Catch up to falloc() changes. - PHOLD() before using a task structure on the stack. - Fix a LOR between the sleepq lock and thread lock in _intr_drain(). Modified:

svn commit: r190570 - stable/7/sys/kern

2009-03-30 Thread Jeff Roberson
Author: jeff Date: Mon Mar 30 19:20:56 2009 New Revision: 190570 URL: http://svn.freebsd.org/changeset/base/190570 Log: MFC SVN rev 189787. - Fix steal_thresh calculation with odd numbers of cpus and sched_affinity() for threads on runqueues. Approved by: re Modified: stable/7/sys/

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

2009-04-28 Thread Jeff Roberson
Author: jeff Date: Wed Apr 29 03:15:43 2009 New Revision: 191643 URL: http://svn.freebsd.org/changeset/base/191643 Log: - Remove the bogus idle thread state code. This may have a race in it and it only optimized out an ipi or mwait in very few cases. - Skip the adaptive idle code when

svn commit: r191645 - head/sys/kern

2009-04-28 Thread Jeff Roberson
Author: jeff Date: Wed Apr 29 03:26:30 2009 New Revision: 191645 URL: http://svn.freebsd.org/changeset/base/191645 Log: - Fix the FBSDID line. Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c

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

2009-04-28 Thread Jeff Roberson
Author: jeff Date: Wed Apr 29 06:54:40 2009 New Revision: 191648 URL: http://svn.freebsd.org/changeset/base/191648 Log: - Add support for cpuid leaf 0xb. This allows us to determine the topology of nehalem/corei7 based systems. - Remove the cpu_cores/cpu_logical detection from identcpu

svn commit: r191676 - head/sys/kern

2009-04-29 Thread Jeff Roberson
Author: jeff Date: Wed Apr 29 23:04:31 2009 New Revision: 191676 URL: http://svn.freebsd.org/changeset/base/191676 Log: - Fix non-SMP build by encapsulating idle spin logic in a macro. Pointy hat to:me Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c

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

2009-04-29 Thread Jeff Roberson
On Wed, 29 Apr 2009, Kostik Belousov wrote: On Wed, Apr 29, 2009 at 03:15:44AM +, Jeff Roberson wrote: Author: jeff Date: Wed Apr 29 03:15:43 2009 New Revision: 191643 URL: http://svn.freebsd.org/changeset/base/191643 Log: - Remove the bogus idle thread state code. This may have a

svn commit: r251826 - head/sys/vm

2013-06-16 Thread Jeff Roberson
Author: jeff Date: Mon Jun 17 03:43:47 2013 New Revision: 251826 URL: http://svnweb.freebsd.org/changeset/base/251826 Log: - Add a new UMA API: uma_zcache_create(). This makes a zone without any backing memory that is only a container for per-cpu caches of arbitrary pointer items. T

svn commit: r251894 - in head: lib/libmemstat sys/vm

2013-06-17 Thread Jeff Roberson
Author: jeff Date: Tue Jun 18 04:50:20 2013 New Revision: 251894 URL: http://svnweb.freebsd.org/changeset/base/251894 Log: Refine UMA bucket allocation to reduce space consumption and improve performance. - Always free to the alloc bucket if there is space. This gives LIFO allocati

Re: svn commit: r251894 - in head: lib/libmemstat sys/vm

2013-06-18 Thread Jeff Roberson
On Tue, 18 Jun 2013, Alfred Perlstein wrote: On 6/18/13 4:37 AM, Gleb Smirnoff wrote: On Tue, Jun 18, 2013 at 10:25:08AM +0200, Andre Oppermann wrote: A> There used to be a problem with per CPU caches accumulating large amounts A> of items without freeing back to the global (or socket) pool.

svn commit: r251983 - head/sys/vm

2013-06-18 Thread Jeff Roberson
Author: jeff Date: Wed Jun 19 02:30:32 2013 New Revision: 251983 URL: http://svnweb.freebsd.org/changeset/base/251983 Log: - Persist the caller's flags in the bucket allocation flags so we don't lose a M_NOVM when we recurse into a bucket allocation. Sponsored by: EMC / Isilon Storage

svn commit: r252040 - head/sys/vm

2013-06-20 Thread Jeff Roberson
Author: jeff Date: Thu Jun 20 19:08:12 2013 New Revision: 252040 URL: http://svnweb.freebsd.org/changeset/base/252040 Log: - Add a per-zone lock for zones without kegs. - Be more explicit about zone vs keg locking. This functionally changes almost nothing. - Add a size parameter to

svn commit: r252226 - head/sys/vm

2013-06-25 Thread Jeff Roberson
Author: jeff Date: Wed Jun 26 00:57:38 2013 New Revision: 252226 URL: http://svnweb.freebsd.org/changeset/base/252226 Log: - Resolve bucket recursion issues by passing a cookie with zone flags through bucket_alloc() to uma_zalloc_arg() and uma_zfree_arg(). - Make some smaller buckets fo

svn commit: r252330 - in head/sys: conf geom kern sys vm

2013-06-27 Thread Jeff Roberson
Author: jeff Date: Fri Jun 28 03:51:20 2013 New Revision: 252330 URL: http://svnweb.freebsd.org/changeset/base/252330 Log: - Add a general purpose resource allocator, vmem, from NetBSD. It was originally inspired by the Solaris vmem detailed in the proceedings of usenix 2001. The Ne

Re: svn commit: r252330 - in head/sys: conf geom kern sys vm

2013-06-28 Thread Jeff Roberson
feature that works with UMA to provide per-cpu caches of arbitrary number ranges. So it is more scalable as well as providing for less fragmentation. Thanks, Jeff Adrian On 27 June 2013 20:51, Jeff Roberson wrote: Author: jeff Date: Fri Jun 28 03:51:20 2013 New Revision: 252330 URL: http

svn commit: r253583 - head/sys/vm

2013-07-23 Thread Jeff Roberson
Author: jeff Date: Tue Jul 23 22:52:38 2013 New Revision: 253583 URL: http://svnweb.freebsd.org/changeset/base/253583 Log: - Correct a stale comment. We don't have vclean() anymore. The work is done by vgonel() and destroy_vobject() should only be called once from VOP_INACTIVE().

svn commit: r253587 - head/sys/vm

2013-07-23 Thread Jeff Roberson
Author: jeff Date: Wed Jul 24 01:25:56 2013 New Revision: 253587 URL: http://svnweb.freebsd.org/changeset/base/253587 Log: - Remove the long obsolete 'vm_pageout_algorithm' experiment. Discussed with: alc Sponsored by: EMC / Isilon Storage Division Modified: head/sys/vm/vm_pageo

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

2013-07-26 Thread Jeff Roberson
Author: jeff Date: Fri Jul 26 19:06:14 2013 New Revision: 253685 URL: http://svnweb.freebsd.org/changeset/base/253685 Log: - Use kmem_malloc rather than kmem_alloc() for GDT/LDT/tss allocations etc. This eliminates some unusual uses of that API in favor of more typical uses of kmem_ma

svn commit: r253697 - head/sys/vm

2013-07-26 Thread Jeff Roberson
Author: jeff Date: Fri Jul 26 23:22:05 2013 New Revision: 253697 URL: http://svnweb.freebsd.org/changeset/base/253697 Log: Improve page LRU quality and simplify the logic. - Don't short-circuit aging tests for unmapped objects. This biases against unmapped file pages and transient ma

svn commit: r249218 - in head/sys: fs/ext2fs kern ufs/ffs vm

2013-04-06 Thread Jeff Roberson
Author: jeff Date: Sat Apr 6 22:21:23 2013 New Revision: 249218 URL: http://svnweb.freebsd.org/changeset/base/249218 Log: Prepare to replace the buf splay with a trie: - Don't insert BKGRDMARKER bufs into the splay or dirty/clean buf lists. No consumers need to find them there and it

svn commit: r262812 - head/sys/ufs/ufs

2014-03-05 Thread Jeff Roberson
Author: jeff Date: Thu Mar 6 00:10:07 2014 New Revision: 262812 URL: http://svnweb.freebsd.org/changeset/base/262812 Log: - Gracefully handle truncation failures when trying to shrink directories. This could cause dirhash panics since the dirhash state would be successfully truncated

svn commit: r262814 - head/sys/ufs/ffs

2014-03-05 Thread Jeff Roberson
Author: jeff Date: Thu Mar 6 00:13:21 2014 New Revision: 262814 URL: http://svnweb.freebsd.org/changeset/base/262814 Log: - If we fail to do a non-blocking acquire of a buf lock while doing a waiting sync pass we need to do a blocking acquire and restart. Another thread, typically th

svn commit: r262917 - head/sys/kern

2014-03-07 Thread Jeff Roberson
Author: jeff Date: Sat Mar 8 00:35:06 2014 New Revision: 262917 URL: http://svnweb.freebsd.org/changeset/base/262917 Log: - Make runq_steal_from more aggressive. Previously it would examine only a single priority queue. If that queue had a thread or threads which could not be migra

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

2013-08-04 Thread Jeff Roberson
Author: jeff Date: Mon Aug 5 00:28:03 2013 New Revision: 253949 URL: http://svnweb.freebsd.org/changeset/base/253949 Log: - Introduce a specific function, pmap_remove_kernel_pde, for removing huge pages in the kernel's address space. This works around several asserts from pmap_demot

svn commit: r254025 - in head/sys: amd64/amd64 arm/arm arm/at91 arm/mv/armadaxp arm/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 cddl/compat/opensolaris/kern cddl/compat/opensolari...

2013-08-06 Thread Jeff Roberson
Author: jeff Date: Wed Aug 7 06:21:20 2013 New Revision: 254025 URL: http://svnweb.freebsd.org/changeset/base/254025 Log: Replace kernel virtual address space allocation with vmem. This provides transparent layering and better fragmentation. - Normalize functions that allocate memory t

Re: svn commit: r254025 - in head/sys: amd64/amd64 arm/arm arm/at91 arm/mv/armadaxp arm/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 cddl/compat/opensolaris/kern cddl/compat/opensolar

2013-08-07 Thread Jeff Roberson
On Wed, 7 Aug 2013, Zbyszek Bodek wrote: On 07.08.2013 08:21, Jeff Roberson wrote: Author: jeff Date: Wed Aug 7 06:21:20 2013 New Revision: 254025 URL: http://svnweb.freebsd.org/changeset/base/254025 Log: Replace kernel virtual address space allocation with vmem. This provides

svn commit: r254120 - head/sys/ofed/include/linux

2013-08-08 Thread Jeff Roberson
Author: jeff Date: Fri Aug 9 03:24:12 2013 New Revision: 254120 URL: http://svnweb.freebsd.org/changeset/base/254120 Log: - Use the correct type in the linux bitops emulation. Submitted by: Maxim Ignatenko Modified: head/sys/ofed/include/linux/bitops.h Modified: head/sys/ofed/include

svn commit: r254121 - head/sys/ofed/include/linux

2013-08-08 Thread Jeff Roberson
Author: jeff Date: Fri Aug 9 03:24:48 2013 New Revision: 254121 URL: http://svnweb.freebsd.org/changeset/base/254121 Log: - Correctly handle various edge cases in sysfs emulation. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/ofed/include/linux/sysfs.h Modified: head/

svn commit: r254122 - in head/sys: ofed/include/rdma sys

2013-08-08 Thread Jeff Roberson
Author: jeff Date: Fri Aug 9 03:26:17 2013 New Revision: 254122 URL: http://svnweb.freebsd.org/changeset/base/254122 Log: - Reserve a special AF for SDP. The one we were incorrectly using before was taken by another AF. Sponsored by: EMC / Isilon Storage Division Modified: head/s

svn commit: r254123 - in head/contrib/ofed: libsdp/src/linux management/infiniband-diags/src management/opensm/opensm

2013-08-08 Thread Jeff Roberson
Author: jeff Date: Fri Aug 9 03:29:46 2013 New Revision: 254123 URL: http://svnweb.freebsd.org/changeset/base/254123 Log: - Fix compile errors from the clang conversion - Grab AF_SDP_INET from sys/socket.h Submitted by: Garrett Cooper Sponsored by: EMC / Isilon Storage Division Modi

svn commit: r254304 - in head/sys: sys vm

2013-08-13 Thread Jeff Roberson
Author: jeff Date: Tue Aug 13 21:56:16 2013 New Revision: 254304 URL: http://svnweb.freebsd.org/changeset/base/254304 Log: Improve pageout flow control to wakeup more frequently and do less work while maintaining better LRU of active pages. - Change v_free_target to include the quantity

svn commit: r254307 - in head/sys: kern vm

2013-08-13 Thread Jeff Roberson
Author: jeff Date: Tue Aug 13 22:40:43 2013 New Revision: 254307 URL: http://svnweb.freebsd.org/changeset/base/254307 Log: - Add a statically allocated memguard arena since it is needed very early on. - Pass the appropriate flags to vmem_xalloc() when allocating space for the arena

svn commit: r254308 - head/sys/kern

2013-08-13 Thread Jeff Roberson
Author: jeff Date: Tue Aug 13 22:41:24 2013 New Revision: 254308 URL: http://svnweb.freebsd.org/changeset/base/254308 Log: - Disable quantum caches on the kmem_arena. This can make fragmentation worse on small KVA systems. I had intended to only enable it for debugging. Sponsor

svn commit: r254387 - head/sys/vm

2013-08-15 Thread Jeff Roberson
Author: jeff Date: Thu Aug 15 22:29:49 2013 New Revision: 254387 URL: http://svnweb.freebsd.org/changeset/base/254387 Log: - Fix bug in r254304. Use the ACTIVE pq count for the active list processing, not inactive. This was the result of a bad merge. Reported by: pho Sponsored by

svn commit: r254543 - in head/sys: kern vm

2013-08-19 Thread Jeff Roberson
Author: jeff Date: Mon Aug 19 23:02:39 2013 New Revision: 254543 URL: http://svnweb.freebsd.org/changeset/base/254543 Log: - Use an arbitrary but reasonably large import size for kva on architectures that don't support superpages. This keeps the number of spans and internal fragmenta

svn commit: r254544 - head/sys/vm

2013-08-19 Thread Jeff Roberson
Author: jeff Date: Mon Aug 19 23:54:24 2013 New Revision: 254544 URL: http://svnweb.freebsd.org/changeset/base/254544 Log: - Increase the active lru refresh interval to 10 minutes. This has been shown to negatively impact some workloads and the goal is only to eliminate worst case be

svn commit: r254622 - head/sys/vm

2013-08-21 Thread Jeff Roberson
Author: jeff Date: Wed Aug 21 22:39:19 2013 New Revision: 254622 URL: http://svnweb.freebsd.org/changeset/base/254622 Log: - Eliminate the vm object lock from the active queue scan. It is not necessary since we do not free or cache the page from active anymore. Document the one possi

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-11 Thread Jeff Roberson
On Thu, 9 May 2013, Marcel Moolenaar wrote: Author: marcel Date: Thu May 9 16:28:18 2013 New Revision: 250411 URL: http://svnweb.freebsd.org/changeset/base/250411 Log: Add option WITNESS_NO_VNODE to suppress printing LORs between VNODE locks. To support this, VNODE locks are created with the

svn commit: r250551 - in head/sys: conf kern sys

2013-05-11 Thread Jeff Roberson
Author: jeff Date: Sun May 12 04:05:01 2013 New Revision: 250551 URL: http://svnweb.freebsd.org/changeset/base/250551 Log: - Add a new general purpose path-compressed radix trie which can be used with any structure containing a uint64_t index. The tree code auto-generates type safe w

svn commit: r250578 - head/sys/sys

2013-05-12 Thread Jeff Roberson
Author: jeff Date: Sun May 12 20:44:28 2013 New Revision: 250578 URL: http://svnweb.freebsd.org/changeset/base/250578 Log: - pctrie really only requires two byte alignment so that there is a single bit available for a flag in the pointer. However, it felt more correct to enforce natu

svn commit: r251171 - in head/sys: fs/ext2fs fs/nandfs fs/nfsclient fs/nfsserver kern nfsclient nfsserver sys ufs/ffs

2013-05-30 Thread Jeff Roberson
Author: jeff Date: Fri May 31 00:43:41 2013 New Revision: 251171 URL: http://svnweb.freebsd.org/changeset/base/251171 Log: - Convert the bufobj lock to rwlock. - Use a shared bufobj lock in getblk() and inmem(). - Convert softdep's lk to rwlock to match the bufobj lock. - Move INFREECN

svn commit: r251446 - head/sys/kern

2013-06-05 Thread Jeff Roberson
Author: jeff Date: Wed Jun 5 23:53:00 2013 New Revision: 251446 URL: http://svnweb.freebsd.org/changeset/base/251446 Log: - Consolidate duplicate code into support functions. - Split the bqlock into bqclean and bqdirty locks. - Only acquire the wakeup synchronization locks when we cross

svn commit: r251703 - in head/sys: amd64/amd64 i386/i386 i386/xen kern mips/mips sparc64/sparc64 sys

2013-06-13 Thread Jeff Roberson
Author: jeff Date: Thu Jun 13 20:46:03 2013 New Revision: 251703 URL: http://svnweb.freebsd.org/changeset/base/251703 Log: - Add a BIT_FFS() macro and use it to replace cpusetffs_obj() Discussed with: attilio Sponsored by: EMC / Isilon Storage Division Modified: head/sys/amd64/a

svn commit: r251709 - head/sys/vm

2013-06-13 Thread Jeff Roberson
Author: jeff Date: Thu Jun 13 21:05:38 2013 New Revision: 251709 URL: http://svnweb.freebsd.org/changeset/base/251709 Log: - Convert the slab free item list from a linked array of indices to a bitmap using sys/bitset. This is much simpler, has lower space overhead and is cheaper in m

svn commit: r244444 - head/sys/kern

2012-12-19 Thread Jeff Roberson
Author: jeff Date: Wed Dec 19 20:08:06 2012 New Revision: 24 URL: http://svnweb.freebsd.org/changeset/base/24 Log: - Correctly handle EWOULDBLOCK in quiesce_cpus Discussed with: mav Modified: head/sys/kern/subr_smp.c Modified: head/sys/kern/subr_smp.c

svn commit: r244445 - in head/sys: kern sys tools

2012-12-19 Thread Jeff Roberson
Author: jeff Date: Wed Dec 19 20:10:00 2012 New Revision: 25 URL: http://svnweb.freebsd.org/changeset/base/25 Log: - Add new machine parsable KTR macros for timing events. - Use this new format to automatically handle syscalls and VOPs. This changes the earlier format but is st

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

2012-10-24 Thread Jeff Roberson
On Wed, 24 Oct 2012, Attilio Rao wrote: On Wed, Oct 24, 2012 at 8:16 PM, Andre Oppermann wrote: On 24.10.2012 20:56, Jim Harris wrote: On Wed, Oct 24, 2012 at 11:41 AM, Adrian Chadd wrote: On 24 October 2012 11:36, Jim Harris wrote: Pad tdq_lock to avoid false sharing with tdq_load

svn commit: r242492 - head/sys/ufs/ffs

2012-11-02 Thread Jeff Roberson
Author: jeff Date: Fri Nov 2 21:04:06 2012 New Revision: 242492 URL: http://svn.freebsd.org/changeset/base/242492 Log: - In cancel_mkdir_dotdot don't panic if the inodedep is not available. If the previous diradd had already finished it could have been reclaimed already. This would

svn commit: r242734 - head/sys/ufs/ffs

2012-11-07 Thread Jeff Roberson
Author: jeff Date: Thu Nov 8 01:41:04 2012 New Revision: 242734 URL: http://svnweb.freebsd.org/changeset/base/242734 Log: - Implement BIO_FLUSH support around journal entries. This will not 100% solve power loss problems with dishonest write caches. However, it should improve the s

svn commit: r242736 - head/sys/kern

2012-11-07 Thread Jeff Roberson
Author: jeff Date: Thu Nov 8 01:46:47 2012 New Revision: 242736 URL: http://svnweb.freebsd.org/changeset/base/242736 Log: - Change ULE to use dynamic slice sizes for the timeshare queue in order to further reduce latency for threads in this queue. This should help as threads transit

svn commit: r242815 - head/sys/ufs/ffs

2012-11-08 Thread Jeff Roberson
Author: jeff Date: Fri Nov 9 04:04:25 2012 New Revision: 242815 URL: http://svnweb.freebsd.org/changeset/base/242815 Log: - Correct rev 242734, segments can sometimes get stuck. Be a bit more defensive with segment state. Reported by: b. f. Modified: head/sys/ufs/ffs/ffs_softd

svn commit: r242924 - head/sys/ufs/ffs

2012-11-12 Thread Jeff Roberson
Author: jeff Date: Mon Nov 12 19:53:55 2012 New Revision: 242924 URL: http://svnweb.freebsd.org/changeset/base/242924 Log: - Fix a bug that has existed since the original softdep implementation. When a background copy of a cg is written we complete any work associated with that bmsafe

svn commit: r243017 - head/sbin/fsck_ffs

2012-11-13 Thread Jeff Roberson
Author: jeff Date: Wed Nov 14 06:31:47 2012 New Revision: 243017 URL: http://svnweb.freebsd.org/changeset/base/243017 Log: - blk_equals() is too strict. If the journal entry defines more frags than we're claiming it should still be considered an exact match. This would previously le

svn commit: r243018 - head/sys/ufs/ffs

2012-11-13 Thread Jeff Roberson
Author: jeff Date: Wed Nov 14 06:37:43 2012 New Revision: 243018 URL: http://svnweb.freebsd.org/changeset/base/243018 Log: - Fix a truncation bug with softdep journaling that could leak blocks on crash. When truncating a file that never made it to disk we use the canceled allocation

svn commit: r243046 - in head: sys/kern sys/sparc64/include sys/sys usr.bin/ktrdump

2012-11-14 Thread Jeff Roberson
Author: jeff Date: Thu Nov 15 00:51:57 2012 New Revision: 243046 URL: http://svnweb.freebsd.org/changeset/base/243046 Log: - Implement run-time expansion of the KTR buffer via sysctl. - Implement a function to ensure that all preempted threads have switched back out at least once. Use

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

2009-02-21 Thread Jeff Roberson
Author: jeff Date: Sat Feb 21 23:15:34 2009 New Revision: 188904 URL: http://svn.freebsd.org/changeset/base/188904 Log: - Resolve an issue where we may clear an idt while an interrupt on a different cpu is still assigned to that vector by never clearing idt entries. This was only pro

svn commit: r189787 - head/sys/kern

2009-03-14 Thread Jeff Roberson
Author: jeff Date: Sat Mar 14 11:41:36 2009 New Revision: 189787 URL: http://svn.freebsd.org/changeset/base/189787 Log: - Fix an error that occurs when mp_ncpu is an odd number. steal_thresh is calculated as 0 which causes errors elsewhere. Submitted by: KOIE Hidetaka - When s

svn commit: r189788 - head/sys/kern

2009-03-14 Thread Jeff Roberson
Author: jeff Date: Sat Mar 14 11:43:02 2009 New Revision: 189788 URL: http://svn.freebsd.org/changeset/base/189788 Log: - Call lock_profile_release when we're transitioning a lock to be owned by LK_KERNPROC. Discussed with: attilio Modified: head/sys/kern/kern_lock.c

svn commit: r189789 - head/sys/kern

2009-03-14 Thread Jeff Roberson
Author: jeff Date: Sat Mar 14 11:43:38 2009 New Revision: 189789 URL: http://svn.freebsd.org/changeset/base/189789 Log: - When a mutex is destroyed while locked we need to inform lock profiling that it has been released. Modified: head/sys/kern/kern_mutex.c Modified: head/sys/kern/kern

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

2009-03-14 Thread Jeff Roberson
Author: jeff Date: Sun Mar 15 06:41:47 2009 New Revision: 189845 URL: http://svn.freebsd.org/changeset/base/189845 Log: - Implement a new mechanism for resetting lock profiling. We now guarantee that all cpus have acknowledged the cleared enable int by scheduling the resetting thread

svn commit: r189846 - head/sys/kern

2009-03-15 Thread Jeff Roberson
Author: jeff Date: Sun Mar 15 08:03:54 2009 New Revision: 189846 URL: http://svn.freebsd.org/changeset/base/189846 Log: - Wrap lock profiling state variables in #ifdef LOCK_PROFILING blocks. Modified: head/sys/kern/kern_lock.c head/sys/kern/kern_mutex.c head/sys/kern/kern_rwlock.c head

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

2009-03-15 Thread Jeff Roberson
Sorry for the temporary build breakage; I meant to commit these two patches together. Jeff On Sun, 15 Mar 2009, Jeff Roberson wrote: Author: jeff Date: Sun Mar 15 08:03:54 2009 New Revision: 189846 URL: http://svn.freebsd.org/changeset/base/189846 Log: - Wrap lock profiling state

svn commit: r208241 - head/sbin/tunefs

2010-05-17 Thread Jeff Roberson
Author: jeff Date: Tue May 18 01:45:28 2010 New Revision: 208241 URL: http://svn.freebsd.org/changeset/base/208241 Log: - Round up the journal size to the block size so we don't confuse fsck. Reported by: Mikolaj Golub - Only require 256k of blocks per-cg when trying to allocate co

svn commit: r208287 - head/sys/ufs/ffs

2010-05-18 Thread Jeff Roberson
Author: jeff Date: Wed May 19 06:18:01 2010 New Revision: 208287 URL: http://svn.freebsd.org/changeset/base/208287 Log: - Don't immediately re-run softdepflush if we didn't make any progress on the last iteration. This can lead to a deadlock when we have worklist items that cannot be

svn commit: r209716 - head/sbin/fsck_ffs

2010-07-06 Thread Jeff Roberson
Author: jeff Date: Tue Jul 6 07:07:29 2010 New Revision: 209716 URL: http://svn.freebsd.org/changeset/base/209716 Log: - Permit zero length directories as a handled inconsistency. This allows directory truncation to proceed before the link has been cleared. This is accomplished by

svn commit: r209717 - in head/sys/ufs: ffs ufs

2010-07-06 Thread Jeff Roberson
Author: jeff Date: Tue Jul 6 07:11:04 2010 New Revision: 209717 URL: http://svn.freebsd.org/changeset/base/209717 Log: - Handle the truncation of an inode with an effective link count of 0 in the context of the process that reduced the effective count. Previously all truncation as a

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

2009-01-16 Thread Jeff Roberson
Author: jeff Date: Sat Jan 17 07:17:57 2009 New Revision: 187357 URL: http://svn.freebsd.org/changeset/base/187357 Log: - Implement generic macros for producing KTR records that are compatible with src/tools/sched/schedgraph.py. This allows developers to quickly create a graphical vi

svn commit: r187358 - head/tools/sched

2009-01-16 Thread Jeff Roberson
Author: jeff Date: Sat Jan 17 07:24:25 2009 New Revision: 187358 URL: http://svn.freebsd.org/changeset/base/187358 Log: - Rewrite the parser to support the new generic schedgraph interface. This no longer requires any custom classes or parsers to support new event types. - Add an o

svn commit: r187359 - head/tools/sched

2009-01-17 Thread Jeff Roberson
Author: jeff Date: Sat Jan 17 11:19:15 2009 New Revision: 187359 URL: http://svn.freebsd.org/changeset/base/187359 Log: - Add a new source configuration menu option that allows hiding and displaying sources. - Add functions to the main SchedGraph to facilitate source hiding. The s

svn commit: r187376 - head/tools/sched

2009-01-17 Thread Jeff Roberson
Author: jeff Date: Sun Jan 18 04:49:01 2009 New Revision: 187376 URL: http://svn.freebsd.org/changeset/base/187376 Log: - Significantly speedup hiding and displaying multiple rows by writing an optimized single pass function for each. This reduces the number of tkinter calls required

svn commit: r187379 - head/tools/sched

2009-01-17 Thread Jeff Roberson
Author: jeff Date: Sun Jan 18 05:44:31 2009 New Revision: 187379 URL: http://svn.freebsd.org/changeset/base/187379 Log: - Add summary information to the title once the file is parsed rather than printing it to the terminal. Now only parse errors go to the terminal. - Speedup drawing by

svn commit: r187471 - head/tools/sched

2009-01-20 Thread Jeff Roberson
Author: jeff Date: Tue Jan 20 12:33:04 2009 New Revision: 187471 URL: http://svn.freebsd.org/changeset/base/187471 Log: - Permit timestamps to be as far as 2048 ticks apart before we complain about invalid timestamps. Nehalem CPUs seem to be synchronized but only within a fraction of

svn commit: r187580 - head/tools/sched

2009-01-21 Thread Jeff Roberson
Author: jeff Date: Thu Jan 22 06:21:30 2009 New Revision: 187580 URL: http://svn.freebsd.org/changeset/base/187580 Log: - Update my copyright. - Print human readable time as a float with two digits of precision. Use ns now as well since clock periods are well into the hundreds of

Re: svn commit: r187576 - in head/sys/dev: ppbus ppc

2009-01-21 Thread Jeff Roberson
On Wed, 21 Jan 2009, John Baldwin wrote: Author: jhb Date: Wed Jan 21 23:10:06 2009 New Revision: 187576 URL: http://svn.freebsd.org/changeset/base/187576 Log: Add locking to ppc and ppbus and mark the whole lot MPSAFE: Looks like there might be some kinks still: ppc0: port 0x378-0x37f,0x7

  1   2   3   4   >