Page MenuHomeFreeBSD
Feed Advanced Search

Today

alc added inline comments to D40478: amd64/arm64 pmap: Stop requiring the accessed bit for superpage promotion.
Sat, Jun 10, 6:54 AM

Yesterday

alc updated the summary of D40478: amd64/arm64 pmap: Stop requiring the accessed bit for superpage promotion.
Fri, Jun 9, 6:09 PM
alc requested review of D40478: amd64/arm64 pmap: Stop requiring the accessed bit for superpage promotion.
Fri, Jun 9, 6:04 PM
alc added inline comments to D40058: vm: reduce work of reclamation search.
Fri, Jun 9, 5:31 PM

Thu, Jun 8

alc added a comment to D39845: VM anonymous clustering: be more persistent.

Another option would be to pick a random virtual address for anon_loc at execve() time, and never update it. So, all virtual address allocations would be performed using an address-ordered, first-fit policy, just like we do when ASLR is turned off.

Thu, Jun 8, 5:44 PM

Mon, Jun 5

alc added inline comments to D40058: vm: reduce work of reclamation search.
Mon, Jun 5, 7:50 PM

Fri, Jun 2

alc added inline comments to D40403: vm_page: Implement lazy page initialization.
Fri, Jun 2, 10:52 PM
alc accepted D40401: vm_phys: Change the return type of vm_phys_unfree_page() to bool.
Fri, Jun 2, 10:08 PM

Mon, May 29

alc committed rG3e7e2bb2467e: arm64 pmap: Make VM_PAGE_TO_PV_LIST_LOCK() a constant-time operation (authored by alc).
arm64 pmap: Make VM_PAGE_TO_PV_LIST_LOCK() a constant-time operation
Mon, May 29, 4:24 PM
alc closed D40306: arm64 pmap: Make VM_PAGE_TO_PV_LIST_LOCK() a constant-time operation.
Mon, May 29, 4:24 PM

Sun, May 28

alc updated the summary of D40306: arm64 pmap: Make VM_PAGE_TO_PV_LIST_LOCK() a constant-time operation.
Sun, May 28, 5:58 AM
alc requested review of D40306: arm64 pmap: Make VM_PAGE_TO_PV_LIST_LOCK() a constant-time operation.
Sun, May 28, 5:27 AM

Sat, May 27

alc committed rG5d1ee799de65: arm64 pmap: Eliminate an unused global variable (authored by alc).
arm64 pmap: Eliminate an unused global variable
Sat, May 27, 7:12 AM

May 9 2023

alc accepted D39827: arm64 pmap: introduce PTE_TO_PHYS macro.
May 9 2023, 4:58 PM

May 6 2023

alc added inline comments to D39827: arm64 pmap: introduce PTE_TO_PHYS macro.
May 6 2023, 7:46 PM

May 5 2023

alc accepted D39739: vm: implement vm_page_reclaim_contig_domain_ext() to reclaim multiple contiguous regions at once.
May 5 2023, 11:18 PM

May 1 2023

alc added inline comments to D39890: amd64: store pcids pmap data in pcpu zone.
May 1 2023, 4:35 PM

Apr 30 2023

alc added inline comments to D39739: vm: implement vm_page_reclaim_contig_domain_ext() to reclaim multiple contiguous regions at once.
Apr 30 2023, 7:59 PM
alc added inline comments to D39739: vm: implement vm_page_reclaim_contig_domain_ext() to reclaim multiple contiguous regions at once.
Apr 30 2023, 7:50 PM

Apr 27 2023

alc added a comment to D39827: arm64 pmap: introduce PTE_TO_PHYS macro.

The riscv pmap names this macro PTE_TO_PHYS, and I will argue for using the same name both here and there. Whether that happens by renaming it here, or there, I don't care. I just don't want them to use different names for doing similar things.

Apr 27 2023, 6:30 PM

Apr 24 2023

alc added a comment to D39739: vm: implement vm_page_reclaim_contig_domain_ext() to reclaim multiple contiguous regions at once.

I am in the middle of making up a final exam for my class. I will take a final look at this on Wednesday.

Apr 24 2023, 5:55 PM

Apr 21 2023

alc added a comment to D39739: vm: implement vm_page_reclaim_contig_domain_ext() to reclaim multiple contiguous regions at once.

Overall, I think that this is okay.

Apr 21 2023, 6:21 AM

Mar 8 2023

alc accepted D38985: vm_fault: Update a comment to reflect the removal of the default pager.
Mar 8 2023, 5:19 PM

Dec 29 2022

alc accepted D37770: amd64: for small cores, use (big hammer) INVPCID_CTXGLOB instead of INVLPG.
Dec 29 2022, 10:21 PM
alc added a comment to D37770: amd64: for small cores, use (big hammer) INVPCID_CTXGLOB instead of INVLPG.

I assume that you did not modify pmap_pti_pcid_invlpg and pmap_pti_pcid_invlrng in support.S because the broken do not require PTI. Is that correct?

Dec 29 2022, 7:23 PM

Dec 21 2022

alc added a comment to D37770: amd64: for small cores, use (big hammer) INVPCID_CTXGLOB instead of INVLPG.

Do you have any guess as to how long we might be stuck with this workaround? If the need for it persists, then we may want to have a wrapper to optimize the range operations to avoid repeating INVPCID_CTXGLOB.

Dec 21 2022, 5:58 PM

Dec 12 2022

alc committed rGf0878da03b37: pmap: standardize promotion conditions between amd64 and arm64 (authored by alc).
pmap: standardize promotion conditions between amd64 and arm64
Dec 12 2022, 6:09 PM
alc closed D36916: pmap: standardize promotion conditions between amd64 and arm64.
Dec 12 2022, 6:09 PM

Nov 20 2022

alc accepted D37399: Support the arm64 pmap_remove_write for stage 2.
Nov 20 2022, 1:16 AM

Nov 19 2022

alc added inline comments to D37254: Support arm64 stage2 TLB invalidation.
Nov 19 2022, 7:08 PM

Nov 16 2022

alc added inline comments to D37254: Support arm64 stage2 TLB invalidation.
Nov 16 2022, 8:10 AM
alc added inline comments to D37399: Support the arm64 pmap_remove_write for stage 2.
Nov 16 2022, 7:21 AM

Nov 7 2022

alc accepted D37302: Rename the arm64 pmap_invalidate_* functions.
Nov 7 2022, 4:41 PM

Nov 5 2022

alc added inline comments to D37254: Support arm64 stage2 TLB invalidation.
Nov 5 2022, 6:10 PM

Nov 4 2022

alc accepted D37255: arm64: Disable per-thread stack-smashing protection in data_abort().
Nov 4 2022, 5:36 PM

Nov 2 2022

alc accepted D37231: arm64: Handle translation faults for thread structures.
Nov 2 2022, 5:24 PM

Oct 29 2022

alc accepted D37204: iommu_gas: drop fini cleanup loop.
Oct 29 2022, 5:46 PM
alc accepted D36624: iommu_gas: start space search from first free space.
Oct 29 2022, 3:58 AM

Oct 13 2022

alc updated subscribers of D36978: swap_pager: Reduce code duplication for swp_page_meta_build callers.

Add @dougm

Oct 13 2022, 5:21 PM

Oct 10 2022

alc accepted D36919: amd64 pmap: two trivial changes.
Oct 10 2022, 9:31 PM
alc updated the diff for D36916: pmap: standardize promotion conditions between amd64 and arm64.

Update comment.

Oct 10 2022, 5:12 PM
alc added inline comments to D36919: amd64 pmap: two trivial changes.
Oct 10 2022, 4:33 PM

Oct 8 2022

alc added inline comments to D36916: pmap: standardize promotion conditions between amd64 and arm64.
Oct 8 2022, 8:59 PM
alc added a comment to D36916: pmap: standardize promotion conditions between amd64 and arm64.

As an aside, in a few weeks, I may eliminate the requirement that PG_A/ATTR_AF is set, add a call to pmap_promote_{pde,l2}() from pmap_enter_quick_locked(), and change pmap_advise(MADV_FREE) to simply write protect one 4KB mapping after demotion (rather than destroying it).

Oct 8 2022, 6:34 PM
alc updated the summary of D36916: pmap: standardize promotion conditions between amd64 and arm64.
Oct 8 2022, 5:58 PM
alc requested review of D36916: pmap: standardize promotion conditions between amd64 and arm64.
Oct 8 2022, 5:57 PM

Oct 7 2022

alc added a comment to D36685: sys: Consolidate common implementation details of PV entries..
In D36685#838132, @jhb wrote:
In D36685#838118, @alc wrote:

Everything in _pv_entry.h except for the notion of there being a struct pv_entry with at least a virtual address and TAILQ is original to peter@. I don't see a reason for a Regents copyright.

Mmmm, ok. I can drop the UCB copyright, but @peter would have to be the one to change it to a 2 clause license.

Oct 7 2022, 6:20 PM
alc added a comment to D36685: sys: Consolidate common implementation details of PV entries..

Everything in _pv_entry.h except for the notion of there being a struct pv_entry with at least a virtual address and TAILQ is original to peter@. I don't see a reason for a Regents copyright.

Oct 7 2022, 5:49 PM

Oct 5 2022

alc added inline comments to D36885: riscv: handle kernel PTE edge-case in pmap_enter_l2().
Oct 5 2022, 4:40 PM
alc accepted D36563: riscv: handle existing mapping in pmap_enter_l2().
Oct 5 2022, 7:48 AM

Oct 4 2022

alc added inline comments to D36801: Micro-optimize the application of MADV_WILLNEED to existing superpage mappings.
Oct 4 2022, 5:32 PM

Sep 30 2022

alc committed rG1d5ebad06c20: pmap: optimize MADV_WILLNEED on existing superpages (authored by alc).
pmap: optimize MADV_WILLNEED on existing superpages
Sep 30 2022, 5:15 PM
alc closed D36801: Micro-optimize the application of MADV_WILLNEED to existing superpage mappings.
Sep 30 2022, 5:15 PM
alc accepted D36839: vm_page: Fix a logic error in the handling of PQ_ACTIVE operations.
Sep 30 2022, 5:09 PM
alc added a comment to D36563: riscv: handle existing mapping in pmap_enter_l2().

See D36801 for changes to the amd64 and arm64 pmaps to avoid the unnecessary pmap_enter_quick_locked() calls. I recommend merging those changes to riscv.

Sep 30 2022, 4:54 PM
alc accepted D36840: riscv: Apply 8d7ee2047c5e to the riscv pmap.
Sep 30 2022, 4:21 PM

Sep 29 2022

alc requested review of D36801: Micro-optimize the application of MADV_WILLNEED to existing superpage mappings.
Sep 29 2022, 6:16 PM

Sep 26 2022

alc updated subscribers of D36500: Fix O(n^2) behavior in sysctl.

You might ask @dougm to take a look at this.

Sep 26 2022, 10:52 PM
alc accepted D36646: rb_tree: add augmentation comments.
Sep 26 2022, 5:34 PM
alc added inline comments to D36697: arm64: Handle 1GB mappings in pmap_enter_quick_locked().
Sep 26 2022, 5:04 PM

Sep 25 2022

alc accepted D36697: arm64: Handle 1GB mappings in pmap_enter_quick_locked().
Sep 25 2022, 5:55 PM
alc accepted D36698: arm64: Fix an assertion in pmap_enter_largepage().
Sep 25 2022, 5:36 PM

Sep 24 2022

alc added inline comments to D36563: riscv: handle existing mapping in pmap_enter_l2().
Sep 24 2022, 5:30 PM
alc added a comment to D36563: riscv: handle existing mapping in pmap_enter_l2().

pmap_enter_object() is used only to prefault mappings [of a single VM object], so it is allowed to do nothing. I'm not sure if that was the intent behind the interface when it was first introduced, since the name doesn't suggest that it is advisory.

Sep 24 2022, 6:02 AM
alc accepted D36675: amd64: Ignore 1GB mappings in pmap_advise().

Shouldn't the same change be made on arm64?

Sep 24 2022, 5:56 AM
alc accepted D36673: amd64: Make it possible to grow the KERNBASE region of KVA.
Sep 24 2022, 5:50 AM
alc accepted D36370: smr: Fix synchronization in smr_enter().
Sep 24 2022, 5:18 AM

Sep 23 2022

alc accepted D36674: amd64: Handle 1GB mappings in pmap_enter_quick_locked().

Shouldn't the same change be made on arm64?

Sep 23 2022, 9:36 PM
alc added inline comments to D36673: amd64: Make it possible to grow the KERNBASE region of KVA.
Sep 23 2022, 5:54 PM
alc added inline comments to D36674: amd64: Handle 1GB mappings in pmap_enter_quick_locked().
Sep 23 2022, 4:39 PM

Sep 21 2022

alc accepted D36509: rb_tree: augmentation shortcut.
Sep 21 2022, 4:18 AM
alc added inline comments to D36509: rb_tree: augmentation shortcut.
Sep 21 2022, 4:11 AM
alc added inline comments to D36509: rb_tree: augmentation shortcut.
Sep 21 2022, 3:55 AM
alc added inline comments to D36509: rb_tree: augmentation shortcut.
Sep 21 2022, 3:49 AM
alc added inline comments to D36509: rb_tree: augmentation shortcut.
Sep 21 2022, 3:44 AM

Sep 13 2022

alc accepted D36114: rb_tree: pass parent to RB_INSERT_COLOR.
Sep 13 2022, 5:55 AM

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