Page MenuHomeFreeBSD
Feed Advanced Search

Sep 11 2022

alc committed rG8d7ee2047c5e: pmap: don't recompute mpte during promotion (authored by alc).
pmap: don't recompute mpte during promotion
Sep 11 2022, 6:23 AM

Sep 7 2022

alc accepted D36393: rb_tree:stop symmetric code dup in insert/remove_color.
Sep 7 2022, 4:55 PM

Aug 31 2022

alc added inline comments to D36305: arm64 pmap: batch chunk removal in pmap_remove_pages.
Aug 31 2022, 4:54 PM

Aug 29 2022

alc accepted D36353: rb_tree: avoid extra reads in rebalancing.
Aug 29 2022, 4:02 PM
alc added inline comments to D36370: smr: Fix synchronization in smr_enter().
Aug 29 2022, 4:00 PM

Aug 28 2022

alc added inline comments to D36353: rb_tree: avoid extra reads in rebalancing.
Aug 28 2022, 10:39 PM
alc added inline comments to D36353: rb_tree: avoid extra reads in rebalancing.
Aug 28 2022, 6:44 PM
alc added inline comments to D36370: smr: Fix synchronization in smr_enter().
Aug 28 2022, 5:17 PM

Aug 27 2022

alc added inline comments to D36370: smr: Fix synchronization in smr_enter().
Aug 27 2022, 8:45 PM

Aug 26 2022

alc added a comment to D36362: emulators/qemu: Fix build after recent change in src main..

vm/pmap.h has always included machine/pmap.h, so there is no need for both includes.

Aug 26 2022, 9:04 PM

Aug 25 2022

alc accepted D36317: rb_tree: optimize insertion.
Aug 25 2022, 7:24 AM
alc added inline comments to D36317: rb_tree: optimize insertion.
Aug 25 2022, 6:58 AM

Aug 24 2022

alc added inline comments to D36317: rb_tree: optimize insertion.
Aug 24 2022, 5:24 PM

Aug 19 2022

alc accepted D36266: rb_tree: avoid double-writing in double rotation.

Otherwise, I'm fine with this change.

Aug 19 2022, 9:55 PM

Aug 15 2022

alc accepted D36001: iommu_gas: add iommu_gas_remove().
Aug 15 2022, 2:21 PM
alc added inline comments to D36001: iommu_gas: add iommu_gas_remove().
Aug 15 2022, 7:17 AM

Aug 14 2022

alc added inline comments to D36001: iommu_gas: add iommu_gas_remove().
Aug 14 2022, 5:29 PM

Aug 13 2022

alc accepted D36001: iommu_gas: add iommu_gas_remove().
Aug 13 2022, 9:45 PM
alc added a comment to D36001: iommu_gas: add iommu_gas_remove().

Otherwise, I think that this is ready to commit.

Aug 13 2022, 5:21 PM

Aug 11 2022

alc added inline comments to D36001: iommu_gas: add iommu_gas_remove().
Aug 11 2022, 5:11 PM

Aug 7 2022

alc added inline comments to D36001: iommu_gas: add iommu_gas_remove().
Aug 7 2022, 6:02 PM

Aug 6 2022

alc added inline comments to D36001: iommu_gas: add iommu_gas_remove().
Aug 6 2022, 6:41 PM
alc added a comment to D36001: iommu_gas: add iommu_gas_remove().

Please go ahead and commit the changes to tree.3.

Aug 6 2022, 6:32 PM
alc accepted D35502: iommu_gas: avoid needless tree augmentations.
Aug 6 2022, 6:10 PM
alc closed D36054: x86/iommu: Reduce the number of queued invalidation interrupts.
Aug 6 2022, 6:07 PM
alc committed rG7f46deccbed7: x86/iommu: Reduce the number of queued invalidation interrupts (authored by alc).
x86/iommu: Reduce the number of queued invalidation interrupts
Aug 6 2022, 6:07 PM
alc requested review of D36054: x86/iommu: Reduce the number of queued invalidation interrupts.
Aug 6 2022, 7:36 AM

Aug 4 2022

alc added inline comments to D36001: iommu_gas: add iommu_gas_remove().
Aug 4 2022, 4:48 PM

Jul 30 2022

alc committed rG4670f90846d4: iommu_gas: Eliminate redundant parameters and push down lock acquisition (authored by alc).
iommu_gas: Eliminate redundant parameters and push down lock acquisition
Jul 30 2022, 7:29 PM
alc closed D35995: iommu_gas: Eliminate redundant parameters and push down lock acquisition.
Jul 30 2022, 7:29 PM
alc added a comment to D25672: bhyve, DMAR: integrate.
In D25672#817019, @kib wrote:
In D25672#816160, @alc wrote:

Do you want to resume work on this, and finish some pieces and commit them?

I hope so, but I am not sure I can do anything that large ATM. Do you have specific proposals about already useful pieces?

Jul 30 2022, 7:21 PM
alc updated the diff for D35995: iommu_gas: Eliminate redundant parameters and push down lock acquisition.

Since callers to iommu_gas_map_region() provide the entry, assert that the entry was actually allocated for the domain in which the mapping is about to be created.

Jul 30 2022, 6:43 PM

Jul 29 2022

alc updated the summary of D35995: iommu_gas: Eliminate redundant parameters and push down lock acquisition.
Jul 29 2022, 6:04 PM
alc requested review of D35995: iommu_gas: Eliminate redundant parameters and push down lock acquisition.
Jul 29 2022, 5:50 PM
alc committed rG42736dc44dd0: x86/iommu: Reduce DMAR lock contention (authored by alc).
x86/iommu: Reduce DMAR lock contention
Jul 29 2022, 5:13 AM
alc closed D35951: x86/iommu: Reduce DMAR lock contention.
Jul 29 2022, 5:13 AM

Jul 28 2022

alc added inline comments to D35951: x86/iommu: Reduce DMAR lock contention.
Jul 28 2022, 5:12 PM
alc updated the diff for D35951: x86/iommu: Reduce DMAR lock contention.

Add comments.

Jul 28 2022, 4:57 AM

Jul 27 2022

alc added inline comments to D35951: x86/iommu: Reduce DMAR lock contention.
Jul 27 2022, 4:09 PM

Jul 26 2022

alc added a comment to D25672: bhyve, DMAR: integrate.

Do you want to resume work on this, and finish some pieces and commit them?

Jul 26 2022, 8:19 PM
alc updated the diff for D35951: x86/iommu: Reduce DMAR lock contention.

Add a couple comments.

Jul 26 2022, 7:35 PM
alc updated the test plan for D35951: x86/iommu: Reduce DMAR lock contention.
Jul 26 2022, 5:38 PM
alc requested review of D35951: x86/iommu: Reduce DMAR lock contention.
Jul 26 2022, 5:38 PM
alc committed rGc25156347083: x86/iommu: Correct a recent change to iommu_domain_unload_entry() (authored by alc).
x86/iommu: Correct a recent change to iommu_domain_unload_entry()
Jul 26 2022, 6:08 AM

Jul 25 2022

alc closed D35878: iommu_gas: Perform a synchronous invalidation when not freeing the entry in dmar_qi_task().
Jul 25 2022, 4:16 PM
alc committed rG8bc367384745: iommu_gas: Eliminate a possible case of use-after-free (authored by alc).
iommu_gas: Eliminate a possible case of use-after-free
Jul 25 2022, 4:16 PM

Jul 24 2022

alc updated the diff for D35878: iommu_gas: Perform a synchronous invalidation when not freeing the entry in dmar_qi_task().

Fix arm64. I previously added the new parameter to the wrong function.

Jul 24 2022, 7:25 PM

Jul 23 2022

alc updated the summary of D35878: iommu_gas: Perform a synchronous invalidation when not freeing the entry in dmar_qi_task().
Jul 23 2022, 5:48 PM
alc updated the diff for D35878: iommu_gas: Perform a synchronous invalidation when not freeing the entry in dmar_qi_task().

Redo using the queued invalidation mechanism.

Jul 23 2022, 5:31 PM

Jul 22 2022

alc added a comment to D35878: iommu_gas: Perform a synchronous invalidation when not freeing the entry in dmar_qi_task().
In D35878#814735, @kib wrote:

I think we need to force entry through the qi. From the Intel® Virtualization Technology for Directed I/O Architecture Specification, Rev. 4.0, Order Number: D51397-015

6.5.1 Register-based Invalidation Interface

Register-based invalidation has the following limitations:
• Register-based invalidation can be used only when queued-invalidations are not enabled.

I remember that the requirement was there from the start.

Jul 22 2022, 5:00 PM
alc requested review of D35878: iommu_gas: Perform a synchronous invalidation when not freeing the entry in dmar_qi_task().
Jul 22 2022, 8:34 AM

Jul 21 2022

alc added a comment to D35869: iommu_gas: Avoid double unmapping on error.

Concretely, here is what I'm suggesting:

Jul 21 2022, 5:04 PM
alc added a comment to D35869: iommu_gas: Avoid double unmapping on error.
In D35869#814571, @kib wrote:
In D35869#814447, @alc wrote:

Kostik, I have another related concerned. What guarantee do we have that dmar_qi_task() is actually finished with the entry when it is freed here or in domain_init_rmrr()?

You mean, that the entry range must still be flushed from the TLB and the entry waited by the qi mechanism? It probably should be done for correctness.

Jul 21 2022, 4:25 PM
alc committed rGdfabdacb279c: iommu_gas: Avoid double unmapping on error (authored by alc).
iommu_gas: Avoid double unmapping on error
Jul 21 2022, 7:02 AM
alc closed D35869: iommu_gas: Avoid double unmapping on error.
Jul 21 2022, 7:01 AM

Jul 20 2022

alc added a comment to D35869: iommu_gas: Avoid double unmapping on error.

Kostik, I have another related concerned. What guarantee do we have that dmar_qi_task() is actually finished with the entry when it is freed here or in domain_init_rmrr()?

Jul 20 2022, 4:59 PM
alc requested review of D35869: iommu_gas: Avoid double unmapping on error.
Jul 20 2022, 4:54 PM

Jul 19 2022

alc closed D35839: swap_pager: Reduce the scope of the object lock in putpages.
Jul 19 2022, 3:37 AM
alc committed rG54291f7d6506: swap_pager: Reduce the scope of the object lock in putpages (authored by alc).
swap_pager: Reduce the scope of the object lock in putpages
Jul 19 2022, 3:37 AM
alc committed rG4eaaacc75535: x86/iommu: Shrink the critical section in dmar_qi_task() (authored by alc).
x86/iommu: Shrink the critical section in dmar_qi_task()
Jul 19 2022, 3:26 AM

Jul 18 2022

alc requested review of D35839: swap_pager: Reduce the scope of the object lock in putpages.
Jul 18 2022, 5:39 AM

Jul 16 2022

alc committed rGda55f86c6146: x86/iommu: Eliminate redundant wrappers (authored by alc).
x86/iommu: Eliminate redundant wrappers
Jul 16 2022, 11:08 PM
alc closed D35832: x86/iommu: Eliminate redundant wrappers.
Jul 16 2022, 11:08 PM
alc requested review of D35832: x86/iommu: Eliminate redundant wrappers.
Jul 16 2022, 5:35 PM
alc added inline comments to D25672: bhyve, DMAR: integrate.
Jul 16 2022, 5:26 PM
alc committed rGdb0110a536bf: iommu: Shrink the iommu map entry structure (authored by alc).
iommu: Shrink the iommu map entry structure
Jul 16 2022, 3:27 AM
alc closed D35769: Eliminate unroll_link from iommu_map_entry.
Jul 16 2022, 3:27 AM

Jul 14 2022

alc accepted D35786: swap_pager: Removing handling for objects with OBJ_SWAP clear.
Jul 14 2022, 4:42 PM
alc accepted D35785: vm_object: Modify vm_object_allocate_anon() to return OBJT_SWAP objects.
Jul 14 2022, 10:03 AM
alc accepted D35786: swap_pager: Removing handling for objects with OBJ_SWAP clear.
Jul 14 2022, 9:57 AM
alc accepted D35790: vm_pager: Remove the default pager.
Jul 14 2022, 9:31 AM

Jul 13 2022

alc accepted D35789: vm_object: Remove redundant OBJ_SWAP checks.
Jul 13 2022, 3:32 PM
alc added inline comments to D35785: vm_object: Modify vm_object_allocate_anon() to return OBJT_SWAP objects.
Jul 13 2022, 3:19 PM
alc accepted D35788: vm: Remove handling for OBJT_DEFAULT objects.
Jul 13 2022, 3:05 PM
alc added inline comments to D35789: vm_object: Remove redundant OBJ_SWAP checks.
Jul 13 2022, 8:09 AM
alc accepted D35788: vm: Remove handling for OBJT_DEFAULT objects.
Jul 13 2022, 7:51 AM
alc added inline comments to D35786: swap_pager: Removing handling for objects with OBJ_SWAP clear.
Jul 13 2022, 7:37 AM
alc accepted D35791: vm_pager: Remove references to KVME_TYPE_DEFAULT in the kernel.
Jul 13 2022, 6:17 AM
alc accepted D35790: vm_pager: Remove the default pager.
Jul 13 2022, 6:14 AM

Jul 12 2022

alc added inline comments to D35790: vm_pager: Remove the default pager.
Jul 12 2022, 11:32 PM
alc accepted D35791: vm_pager: Remove references to KVME_TYPE_DEFAULT in the kernel.
Jul 12 2022, 11:23 PM
alc accepted D35787: vm_object: Release object swap charge in the swap pager destructor.
Jul 12 2022, 11:13 PM
alc accepted D35793: mips: fix busdma bugs introduced in merge.
Jul 12 2022, 5:29 PM
alc accepted D35779: vm_object: Modify various drivers to allocate OBJT_SWAP objects.
Jul 12 2022, 7:59 AM
alc accepted D35780: vm_object: Assert that overcommit charge is released in the object dtor.
Jul 12 2022, 7:55 AM
alc accepted D35778: vm_mmap: Remove obsolete code and comments from vm_mmap().
Jul 12 2022, 7:39 AM
alc accepted D35781: vm_map: Simplify a call to vm_object_allocate_anon().
Jul 12 2022, 7:34 AM

Jul 11 2022

alc updated the summary of D35769: Eliminate unroll_link from iommu_map_entry.
Jul 11 2022, 7:51 AM
alc requested review of D35769: Eliminate unroll_link from iommu_map_entry.
Jul 11 2022, 7:39 AM

Jul 10 2022

alc accepted D35440: iommu_gas: simplify match_one, merge insert into it, drop uppermatch.
Jul 10 2022, 7:18 PM
alc added inline comments to D35440: iommu_gas: simplify match_one, merge insert into it, drop uppermatch.
Jul 10 2022, 4:51 PM

Jul 9 2022

alc added a comment to D35440: iommu_gas: simplify match_one, merge insert into it, drop uppermatch.

Remove 'entry' from the iommu params struct and pass it directly.

Jul 9 2022, 4:56 PM
alc added inline comments to D35440: iommu_gas: simplify match_one, merge insert into it, drop uppermatch.
Jul 9 2022, 8:56 AM
alc added inline comments to D35440: iommu_gas: simplify match_one, merge insert into it, drop uppermatch.
Jul 9 2022, 3:24 AM

Jul 7 2022

alc accepted D35738: uma: Use a taskqueue to execute uma_timeout().
Jul 7 2022, 5:23 AM
alc accepted D35722: tree(3): allow the compare function to return any signed type.

Good point. Maybe /2 of the result of the difference.

Jul 7 2022, 4:56 AM

Jul 4 2022

alc accepted D35524: rb_tree: optimize bit twiddle.

The effects of these changes extend to arm64 as well. vm_phys.o's vm_phys_fictitious_reg_range() and vm_phys_fictitious_unreg_range() are together 140 bytes smaller.

Jul 4 2022, 5:21 PM
alc added inline comments to D35524: rb_tree: optimize bit twiddle.
Jul 4 2022, 7:24 AM

Jul 2 2022

alc added inline comments to D35524: rb_tree: optimize bit twiddle.
Jul 2 2022, 8:08 PM
alc added a comment to D35524: rb_tree: optimize bit twiddle.

Give me a patch that only updates "insert color". I fully understand that part, and I'm ready to approve it after a little testing.

Jul 2 2022, 5:53 PM