Page MenuHomeFreeBSD
Feed Advanced Search

Jan 23 2020

jeff closed D23311: Move the fault getpages code into its own function..
Jan 23 2020, 5:18 AM
jeff closed D23310: Move the backing_object chain traversal into its own function..
Jan 23 2020, 5:14 AM
jeff committed rS357024: (fault 5/9) Move the backing_object traversal into a dedicated function..
(fault 5/9) Move the backing_object traversal into a dedicated function.
Jan 23 2020, 5:14 AM
jeff committed rS357023: (fault 4/9) Move copy-on-write into a dedicated function..
(fault 4/9) Move copy-on-write into a dedicated function.
Jan 23 2020, 5:11 AM
jeff closed D23304: Move cow into its own function..
Jan 23 2020, 5:11 AM
jeff committed rS357022: (fault 3/9) Move map relookup into a dedicated function..
(fault 3/9) Move map relookup into a dedicated function.
Jan 23 2020, 5:07 AM
jeff closed D23303: Move map relookup into its own function..
Jan 23 2020, 5:07 AM
jeff committed rS357021: (fault 2/9) Move map lookup into a dedicated function..
(fault 2/9) Move map lookup into a dedicated function.
Jan 23 2020, 5:06 AM
jeff closed D23302: Move map lookup into a separate function..
Jan 23 2020, 5:06 AM
jeff committed rS357020: (fault 1/9) Move a handful of stack variables into the faultstate..
(fault 1/9) Move a handful of stack variables into the faultstate.
Jan 23 2020, 5:03 AM
jeff closed D23301: Move a handful of stack variables into the faultstate..
Jan 23 2020, 5:03 AM
jeff committed rS357017: Consistently use busy and vm_page_valid() rather than touching page bits.
Consistently use busy and vm_page_valid() rather than touching page bits
Jan 23 2020, 4:55 AM
jeff closed D23283: Consistently use vm_page_valid() to validate pages..
Jan 23 2020, 4:55 AM
jeff committed rS357015: Some architectures with DMAP still consume boot kva. Simplify the test for.
Some architectures with DMAP still consume boot kva. Simplify the test for
Jan 23 2020, 3:38 AM
jeff committed rS357014: Block the thread lock in sched_throw() and use cpu_switch() to unblock.
Block the thread lock in sched_throw() and use cpu_switch() to unblock
Jan 23 2020, 3:37 AM

Jan 22 2020

jeff updated the summary of D23326: Move zero fill into its own function so that the object locking is more clear..
Jan 22 2020, 9:10 PM
jeff created D23326: Move zero fill into its own function so that the object locking is more clear..
Jan 22 2020, 9:03 PM
jeff updated the diff for D23311: Move the fault getpages code into its own function..

Correct return values. Don't send pager errors back to vm_fault().

Jan 22 2020, 9:03 PM
jeff updated the summary of D23321: Restructure fault to eliminate a goto and label..
Jan 22 2020, 7:25 PM
jeff created D23321: Restructure fault to eliminate a goto and label..
Jan 22 2020, 7:23 PM
jeff updated the summary of D23320: Move fault page allocation into its own routine..
Jan 22 2020, 7:22 PM
jeff created D23320: Move fault page allocation into its own routine..
Jan 22 2020, 7:17 PM
jeff abandoned D23309: Move cow into its own function..
Jan 22 2020, 7:17 PM
jeff added inline comments to D23311: Move the fault getpages code into its own function..
Jan 22 2020, 6:43 PM
jeff accepted D23318: uma: fix zone domain overlaying pcpu cache with disabled cpus.

mea culpa. Can you commit to 12.x as well?

Jan 22 2020, 6:39 PM
jeff added inline comments to D23310: Move the backing_object chain traversal into its own function..
Jan 22 2020, 5:02 AM
jeff added inline comments to D23310: Move the backing_object chain traversal into its own function..
Jan 22 2020, 3:11 AM
jeff updated the summary of D23311: Move the fault getpages code into its own function..
Jan 22 2020, 3:10 AM
jeff updated the diff for D23311: Move the fault getpages code into its own function..

Fix a merge issue.

Jan 22 2020, 3:08 AM
jeff created D23311: Move the fault getpages code into its own function..
Jan 22 2020, 3:03 AM
jeff updated the summary of D23310: Move the backing_object chain traversal into its own function..
Jan 22 2020, 3:02 AM
jeff created D23310: Move the backing_object chain traversal into its own function..
Jan 22 2020, 2:59 AM
jeff created D23309: Move cow into its own function..
Jan 22 2020, 2:59 AM
jeff updated the diff for D23303: Move map relookup into its own function..

Decrease indent. Remove dead comment. Add missing KERN_RESTART define.

Jan 22 2020, 2:57 AM

Jan 21 2020

jeff added inline comments to D23304: Move cow into its own function..
Jan 21 2020, 9:09 PM
jeff added inline comments to D23303: Move map relookup into its own function..
Jan 21 2020, 9:06 PM
jeff added inline comments to D23304: Move cow into its own function..
Jan 21 2020, 7:58 PM
jeff updated the summary of D23304: Move cow into its own function..
Jan 21 2020, 7:57 PM
jeff created D23304: Move cow into its own function..
Jan 21 2020, 7:55 PM
jeff updated the summary of D23303: Move map relookup into its own function..
Jan 21 2020, 7:53 PM
jeff updated the summary of D23302: Move map lookup into a separate function..
Jan 21 2020, 7:51 PM
jeff updated the summary of D23301: Move a handful of stack variables into the faultstate..
Jan 21 2020, 7:48 PM
jeff created D23303: Move map relookup into its own function..
Jan 21 2020, 7:42 PM
jeff created D23302: Move map lookup into a separate function..
Jan 21 2020, 7:42 PM
jeff created D23301: Move a handful of stack variables into the faultstate..
Jan 21 2020, 7:41 PM
jeff accepted D23279: Remove some lingering page lock usages..
Jan 21 2020, 6:28 PM
jeff accepted D23275: uma: report leaks more accurately.
Jan 21 2020, 6:26 PM
jeff added inline comments to D23270: ULE: set td_oncpu before switching..
Jan 21 2020, 6:25 PM
jeff committed rS356936: Move readahead and dropbehind fault functionality into a helper routine for.
Move readahead and dropbehind fault functionality into a helper routine for
Jan 21 2020, 12:13 AM
jeff closed D23282: Move readahead into its own function..
Jan 21 2020, 12:13 AM

Jan 20 2020

jeff committed rS356933: Reduce object locking in vm_fault. Once we have an exclusively busied page we.
Reduce object locking in vm_fault. Once we have an exclusively busied page we
Jan 20 2020, 10:50 PM
jeff closed D23034: Reduce object locking in vm_fault. The object is only needed until we have an exclusive busy..
Jan 20 2020, 10:50 PM
jeff added a comment to D23184: 1/3 vfs: stop handling VI_OWEINACT in vget.

The mode == 0 issue is orthogonal. This guarantee was already broken for any filesystem that supported shared locks.

Jan 20 2020, 9:53 PM
jeff accepted D23184: 1/3 vfs: stop handling VI_OWEINACT in vget.

I agree with mjg. Inactive has been a half promise since shared locking went in. This is really my mess originally. Better to consistently not make the promise and clean up the interface.

Jan 20 2020, 9:40 PM
jeff updated the summary of D23283: Consistently use vm_page_valid() to validate pages..
Jan 20 2020, 6:50 PM
jeff created D23283: Consistently use vm_page_valid() to validate pages..
Jan 20 2020, 6:43 PM
jeff updated the summary of D23282: Move readahead into its own function..
Jan 20 2020, 6:39 PM
jeff created D23282: Move readahead into its own function..
Jan 20 2020, 6:36 PM

Jan 19 2020

jeff committed rS356902: Don't hold the object lock while calling getpages..
Don't hold the object lock while calling getpages.
Jan 19 2020, 11:47 PM
jeff closed D23033: Don't hold the object lock across getpages..
Jan 19 2020, 11:47 PM
jeff committed rS356887: It has not been possible to recursively terminate a vnode object for some time.
It has not been possible to recursively terminate a vnode object for some time
Jan 19 2020, 6:36 PM
jeff committed rS356886: Make collapse synchronization more explicit and allow it to complete during.
Make collapse synchronization more explicit and allow it to complete during
Jan 19 2020, 6:30 PM
jeff committed rS356885: Provide an API for interlocked refcount sleeps..
Provide an API for interlocked refcount sleeps.
Jan 19 2020, 6:18 PM
jeff closed D22908: Allow collapse to operate to completion during paging..
Jan 19 2020, 6:18 PM

Jan 18 2020

jeff added inline comments to D23186: 3/3 vfs: allow v_holdcnt to transition 0->1 without the interlock.
Jan 18 2020, 12:19 AM
jeff added inline comments to D23185: 2/3 vfs: allow v_usecount to transition 0->1 without the interlock.
Jan 18 2020, 12:03 AM

Jan 17 2020

jeff added inline comments to D23186: 3/3 vfs: allow v_holdcnt to transition 0->1 without the interlock.
Jan 17 2020, 11:58 PM
jeff accepted D23185: 2/3 vfs: allow v_usecount to transition 0->1 without the interlock.
Jan 17 2020, 11:55 PM
jeff added a comment to D23184: 1/3 vfs: stop handling VI_OWEINACT in vget.

This is a nice simplification

Jan 17 2020, 11:50 PM
jeff accepted D23235: vfs: distribute freevnodes counter per-cpu.
Jan 17 2020, 11:29 PM
jeff added inline comments to D23235: vfs: distribute freevnodes counter per-cpu.
Jan 17 2020, 9:28 PM
jeff accepted D23237: [uma-multipage 1/3] uma: add UMA_ZONE_CONTIG, and a default contig_alloc.
Jan 17 2020, 7:55 PM
jeff added a comment to D23239: [uma-multipage 3/3] uma: grow slabs to enforce minimum memory efficiency.

For the benefit of other readers; Ryan and I have discussed attempting a contig allocation with DMAP KVA first and then falling back to regular kva allocated sparse allocation. We could do this in the UMA multi-page allocator or natively in kmem_*. This would have the advantage that pmap_kextract() is very cheap and we use it to find the slab and also the domain for NUMA. It would have a disadvantage that it may increase memory fragmentation. If we take this approach we may want to only use power of two allocation sizes 'ppera' so that we don't negatively impact phys fragmentation.

Jan 17 2020, 7:52 PM
jeff updated subscribers of D23239: [uma-multipage 3/3] uma: grow slabs to enforce minimum memory efficiency.
Jan 17 2020, 7:46 PM
jeff added a comment to D23238: [uma-multipage 2/3] uma: convert mbuf_jumbo_alloc & pmap_pdpt_alloc to UMA_ZONE_CONTIG.

else if ((keg->uk_flags & UMA_ZONE_CONTIG) != 0 && keg->uk_ppera > 1)

		keg->uk_allocf = contig_alloc;
Jan 17 2020, 7:11 PM
jeff accepted D23238: [uma-multipage 2/3] uma: convert mbuf_jumbo_alloc & pmap_pdpt_alloc to UMA_ZONE_CONTIG.
Jan 17 2020, 5:53 PM
jeff added inline comments to D23237: [uma-multipage 1/3] uma: add UMA_ZONE_CONTIG, and a default contig_alloc.
Jan 17 2020, 5:52 PM
jeff committed rS356822: Fix a long standing bug that was made worse in r355765. When we are cowing a.
Fix a long standing bug that was made worse in r355765. When we are cowing a
Jan 17 2020, 3:44 AM
jeff closed D23155: Fix bugs related to recent fault changes.
Jan 17 2020, 3:44 AM

Jan 16 2020

jeff added a comment to D23215: [wip] ufs: add missing vgone calls to accomodate unlocked vnode with i_mode == 0.

Should we make something specific to this pattern? vcancel()? vabandon()? vabort()

Jan 16 2020, 8:50 PM
jeff committed rS356776: Simplify VM and UMA startup by eliminating boot pages. Instead use careful.
Simplify VM and UMA startup by eliminating boot pages. Instead use careful
Jan 16 2020, 5:01 AM
jeff closed D23102: Don't preallocate boot pages for UMA..
Jan 16 2020, 5:01 AM

Jan 15 2020

jeff added a comment to D23140: vfs: increment numvnodes without the vnode list lock unless under pressure.

I agree that this whole thing needs to be holistically reworked. I do not object to this patch but I would like kib to review.

Jan 15 2020, 11:46 PM
jeff accepted D23158: vfs: refactor vnode allocation.

I do not object to this patch but I would be more comfortable with kib reviewing.

Jan 15 2020, 11:45 PM

Jan 14 2020

jeff committed rS356714: Fix a long standing bug in journaled soft-updates. The dirrem structure.
Fix a long standing bug in journaled soft-updates. The dirrem structure
Jan 14 2020, 2:00 AM

Jan 13 2020

jeff accepted D23149: uma: split slabzone into two sizes.

I am happy to tweak parameters and possibly function names in a follow up patch.

Jan 13 2020, 8:32 PM
jeff added inline comments to D23033: Don't hold the object lock across getpages..
Jan 13 2020, 8:15 PM
jeff updated the summary of D23155: Fix bugs related to recent fault changes.
Jan 13 2020, 7:38 PM
jeff created D23155: Fix bugs related to recent fault changes.
Jan 13 2020, 7:24 PM
jeff added inline comments to D23033: Don't hold the object lock across getpages..
Jan 13 2020, 7:10 PM
jeff accepted D23149: uma: split slabzone into two sizes.
Jan 13 2020, 9:06 AM

Jan 12 2020

jeff accepted D22996: 5/7 ufs: use lazy list instead of active list for syncer.

I believe mjg is correct and this provides the same guarantee that exited before.

Jan 12 2020, 9:25 PM
jeff updated the diff for D23034: Reduce object locking in vm_fault. The object is only needed until we have an exclusive busy..

Review feedback. Mostly style and comments. Re-shuffle vm_fault_soft_fast() to properly handle the error case.

Jan 12 2020, 9:07 PM
jeff updated the diff for D23033: Don't hold the object lock across getpages..

Add an assert and fix a number of cases missing pip. I do not believe they would have caused bugs before but they may after my collapse change.

Jan 12 2020, 9:04 PM
jeff added a reviewer for D23067: vfs: reimplement vlrureclaim to actually use LRU: mckusick.
Jan 12 2020, 8:00 PM
jeff accepted D22998: 7/7 vfs: per-cpu batched requeuing of free vnodes.
Jan 12 2020, 7:59 PM
jeff accepted D22997: 6/7 vfs: rework vnode list management.
Jan 12 2020, 7:55 PM
jeff accepted D22995: 4/7 vfs: add per-mount vnode lazy list and use it for deferred inactive + msync.
Jan 12 2020, 7:48 PM
jeff accepted D22994: 3/7 ufs: add a setter for inode i_flag field.
Jan 12 2020, 7:42 PM

Jan 11 2020

jeff added a comment to D23102: Don't preallocate boot pages for UMA..

Any volunteers to test on i386?

Jan 11 2020, 12:19 AM