CVS commit: src/sys/uvm

2024-03-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Mar 15 22:15:21 UTC 2024 Modified Files: src/sys/uvm: uvm_swap.h Log Message: "retval = 0" should be "*retval = 0", should fix the broken build. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/uvm

2024-03-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Mar 15 22:15:21 UTC 2024 Modified Files: src/sys/uvm: uvm_swap.h Log Message: "retval = 0" should be "*retval = 0", should fix the broken build. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/uvm

2024-03-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Mar 15 20:09:31 UTC 2024 Modified Files: src/sys/uvm: uvm_swap.h Log Message: Rewrite !VMSWAP uvm_swap_stats() macro as a static function. NFCI. >From riastradh To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/sys/uvm

2024-03-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Mar 15 20:09:31 UTC 2024 Modified Files: src/sys/uvm: uvm_swap.h Log Message: Rewrite !VMSWAP uvm_swap_stats() macro as a static function. NFCI. >From riastradh To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/sys/uvm

2024-03-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Mar 15 07:09:37 UTC 2024 Modified Files: src/sys/uvm: uvm_fault.c uvm_pager.c uvm_swap.h uvm_swapstub.c Log Message: Fix !VMSWAP build: Added __unused for few local variables, which are used in VMSWAP block only. Adjust

CVS commit: src/sys/uvm

2024-03-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Mar 15 07:09:37 UTC 2024 Modified Files: src/sys/uvm: uvm_fault.c uvm_pager.c uvm_swap.h uvm_swapstub.c Log Message: Fix !VMSWAP build: Added __unused for few local variables, which are used in VMSWAP block only. Adjust

CVS commit: src/sys/uvm

2024-03-05 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Mar 5 14:33:50 UTC 2024 Modified Files: src/sys/uvm: uvm_page.c Log Message: Rename the local "boot_cpu" variable to "uvm_boot_cpu". To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/sys/uvm/uvm_page.c

CVS commit: src/sys/uvm

2024-03-05 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Mar 5 14:33:50 UTC 2024 Modified Files: src/sys/uvm: uvm_page.c Log Message: Rename the local "boot_cpu" variable to "uvm_boot_cpu". To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/sys/uvm/uvm_page.c

CVS commit: src/sys/uvm/pmap

2024-03-05 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Mar 5 13:16:29 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: Change the PMAP_STEAL_MEMORY debug output from aprint_debug. The new printfs are conditional on pmap_stealdebug and the DEBUG compile option. The

CVS commit: src/sys/uvm/pmap

2024-03-05 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Mar 5 13:16:29 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: Change the PMAP_STEAL_MEMORY debug output from aprint_debug. The new printfs are conditional on pmap_stealdebug and the DEBUG compile option. The

CVS commit: src/sys/uvm

2024-01-14 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Jan 14 10:38:47 UTC 2024 Modified Files: src/sys/uvm: uvm_pglist.c Log Message: fix DEBUG build To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/uvm/uvm_pglist.c Please note that diffs are not public

CVS commit: src/sys/uvm

2024-01-14 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Jan 14 10:38:47 UTC 2024 Modified Files: src/sys/uvm: uvm_pglist.c Log Message: fix DEBUG build To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/uvm/uvm_pglist.c Please note that diffs are not public

CVS commit: src/sys/uvm

2024-01-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Jan 13 09:44:42 UTC 2024 Modified Files: src/sys/uvm: uvm_pglist.c uvm_physseg.c uvm_physseg.h Log Message: uvm: change type of uvm_physseg.start_hint from u_int to u_long Avoids assertion failure in uvm_pglistalloc_s_ps() with

CVS commit: src/sys/uvm

2024-01-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Jan 13 09:44:42 UTC 2024 Modified Files: src/sys/uvm: uvm_pglist.c uvm_physseg.c uvm_physseg.h Log Message: uvm: change type of uvm_physseg.start_hint from u_int to u_long Avoids assertion failure in uvm_pglistalloc_s_ps() with

CVS commit: src/sys/uvm/pmap

2024-01-01 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Jan 1 16:56:30 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Appease KASSERTs for zero ASID CPUs (I mean harts) To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/uvm/pmap/pmap_tlb.c

CVS commit: src/sys/uvm/pmap

2023-10-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 6 08:48:16 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c pmap_tlb.h Log Message: Support CPUs that might not have ASIDs in the common pmap. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61

CVS commit: src/sys/uvm/pmap

2023-10-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 6 08:48:16 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c pmap_tlb.h Log Message: Support CPUs that might not have ASIDs in the common pmap. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61

CVS commit: src/sys/uvm

2023-10-04 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Oct 4 20:34:19 UTC 2023 Modified Files: src/sys/uvm: uvm_glue.c Log Message: Remove unneeded test of ci->ci_want_resched. To generate a diff of this commit: cvs rdiff -u -r1.181 -r1.182 src/sys/uvm/uvm_glue.c Please note that

CVS commit: src/sys/uvm

2023-10-04 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Oct 4 20:34:19 UTC 2023 Modified Files: src/sys/uvm: uvm_glue.c Log Message: Remove unneeded test of ci->ci_want_resched. To generate a diff of this commit: cvs rdiff -u -r1.181 -r1.182 src/sys/uvm/uvm_glue.c Please note that

CVS commit: src/sys/uvm

2023-09-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Sep 23 18:20:20 UTC 2023 Modified Files: src/sys/uvm: uvm_page.c uvm_physseg.c Log Message: uvm_phys_to_vm_page() turns out to be a fairly central routine due to the way that some of the pmaps work, so try to optimise it a

CVS commit: src/sys/uvm

2023-09-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Sep 23 18:20:20 UTC 2023 Modified Files: src/sys/uvm: uvm_page.c uvm_physseg.c Log Message: uvm_phys_to_vm_page() turns out to be a fairly central routine due to the way that some of the pmaps work, so try to optimise it a

CVS commit: src/sys/uvm

2023-09-19 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Sep 19 22:14:25 UTC 2023 Modified Files: src/sys/uvm: uvm_fault.c Log Message: Don't needlessly bump a couple of fault counters if upgrading the rwlock failed. To generate a diff of this commit: cvs rdiff -u -r1.235 -r1.236

CVS commit: src/sys/uvm

2023-09-19 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Sep 19 22:14:25 UTC 2023 Modified Files: src/sys/uvm: uvm_fault.c Log Message: Don't needlessly bump a couple of fault counters if upgrading the rwlock failed. To generate a diff of this commit: cvs rdiff -u -r1.235 -r1.236

CVS commit: src/sys/uvm

2023-09-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Sep 10 15:01:11 UTC 2023 Modified Files: src/sys/uvm: uvm_pdaemon.c Log Message: uvmpd_trylockowner(): release pg->interlock before calling rw_obj_free() since it can call back into the VM system. To generate a diff of this

CVS commit: src/sys/uvm

2023-09-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Sep 10 15:01:11 UTC 2023 Modified Files: src/sys/uvm: uvm_pdaemon.c Log Message: uvmpd_trylockowner(): release pg->interlock before calling rw_obj_free() since it can call back into the VM system. To generate a diff of this

CVS commit: src/sys/uvm

2023-09-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Sep 10 14:54:34 UTC 2023 Modified Files: src/sys/uvm: uvm_amap.c Log Message: Align uvm_amap to COHERENCY_UNIT. To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src/sys/uvm/uvm_amap.c Please note that diffs are

CVS commit: src/sys/uvm

2023-09-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Sep 10 14:54:34 UTC 2023 Modified Files: src/sys/uvm: uvm_amap.c Log Message: Align uvm_amap to COHERENCY_UNIT. To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src/sys/uvm/uvm_amap.c Please note that diffs are

CVS commit: src/sys/uvm

2023-09-01 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Sep 1 10:57:20 UTC 2023 Modified Files: src/sys/uvm: uvm_fault.c Log Message: s/unnmapped/unmapped/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.234 -r1.235 src/sys/uvm/uvm_fault.c Please note that

CVS commit: src/sys/uvm

2023-09-01 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Sep 1 10:57:20 UTC 2023 Modified Files: src/sys/uvm: uvm_fault.c Log Message: s/unnmapped/unmapped/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.234 -r1.235 src/sys/uvm/uvm_fault.c Please note that

CVS commit: src/sys/uvm

2023-08-13 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Aug 13 23:06:07 UTC 2023 Modified Files: src/sys/uvm: uvm_fault.c Log Message: uvm: prevent TLB invalidation races during COW resolution When a thread takes a page fault which results in COW resolution, other threads in the

CVS commit: src/sys/uvm

2023-08-13 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Aug 13 23:06:07 UTC 2023 Modified Files: src/sys/uvm: uvm_fault.c Log Message: uvm: prevent TLB invalidation races during COW resolution When a thread takes a page fault which results in COW resolution, other threads in the

CVS commit: src/sys/uvm

2023-08-02 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 3 03:15:48 UTC 2023 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_findspace(): For sh3, convert a KASSERTMSG(9) into printf(9) XXX Work around for PR kern/51254 until it gets fixed. With this change, landisk

CVS commit: src/sys/uvm

2023-08-02 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 3 03:15:48 UTC 2023 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_findspace(): For sh3, convert a KASSERTMSG(9) into printf(9) XXX Work around for PR kern/51254 until it gets fixed. With this change, landisk

CVS commit: src/sys/uvm/pmap

2023-08-01 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Aug 1 08:17:26 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Improve debug To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/uvm/pmap/pmap_tlb.c Please note that diffs are not

CVS commit: src/sys/uvm/pmap

2023-08-01 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Aug 1 08:17:26 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Improve debug To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/uvm/pmap/pmap_tlb.c Please note that diffs are not

CVS commit: src/sys/uvm/pmap

2023-07-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jul 23 07:25:36 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_segtab.c Log Message: KASSERT -> KASSERTMSG To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/uvm/pmap/pmap_segtab.c Please note that diffs

CVS commit: src/sys/uvm/pmap

2023-07-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jul 23 07:25:36 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_segtab.c Log Message: KASSERT -> KASSERTMSG To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/uvm/pmap/pmap_segtab.c Please note that diffs

CVS commit: src/sys/uvm

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 12:55:38 UTC 2023 Modified Files: src/sys/uvm: uvm.h uvm_fault.c uvm_init.c uvm_page.c Added Files: src/sys/uvm: uvm_rndsource.h Log Message: uvm(9): One rndsource for faults -- not one per CPU. All

CVS commit: src/sys/uvm

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 12:55:38 UTC 2023 Modified Files: src/sys/uvm: uvm.h uvm_fault.c uvm_init.c uvm_page.c Added Files: src/sys/uvm: uvm_rndsource.h Log Message: uvm(9): One rndsource for faults -- not one per CPU. All

CVS commit: src/sys/uvm/pmap

2023-07-01 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Jul 1 07:10:13 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_segtab.c Log Message: Fix build when KERNHIST defined, but not UVMHIST To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/sys/uvm/pmap

2023-07-01 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Jul 1 07:10:13 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_segtab.c Log Message: Fix build when KERNHIST defined, but not UVMHIST To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/sys/uvm

2023-06-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jun 19 08:23:35 UTC 2023 Modified Files: src/sys/uvm: uvm_amap.c Log Message: s/value value/value/ in comment. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128 src/sys/uvm/uvm_amap.c

CVS commit: src/sys/uvm

2023-06-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jun 19 08:23:35 UTC 2023 Modified Files: src/sys/uvm: uvm_amap.c Log Message: s/value value/value/ in comment. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128 src/sys/uvm/uvm_amap.c

CVS commit: src/sys/uvm/pmap

2023-06-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Jun 12 06:47:17 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Fix compile for non-MULTIPROCESSOR and PMAP_TLB_MAX > 1 builds To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/sys/uvm/pmap

2023-06-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Jun 12 06:47:17 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Fix compile for non-MULTIPROCESSOR and PMAP_TLB_MAX > 1 builds To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/sys/uvm/pmap

2023-06-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Jun 12 06:36:28 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Fixup UVMHIST builds To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/uvm/pmap/pmap_tlb.c Please note that diffs are

CVS commit: src/sys/uvm/pmap

2023-06-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Jun 12 06:36:28 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Fixup UVMHIST builds To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/uvm/pmap/pmap_tlb.c Please note that diffs are

CVS commit: src/sys/uvm

2023-05-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon May 15 01:42:42 UTC 2023 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm: avoid a deadlock in uvm_map_clean() The locking order between map locks and page "busy" locks is that the page "busy" lock comes first, but

CVS commit: src/sys/uvm/pmap

2023-04-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Apr 27 06:23:31 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_devmap.c Log Message: Correct a type. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/uvm/pmap/pmap_devmap.c Please note that diffs are not

CVS commit: src/sys/uvm/pmap

2023-04-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Apr 27 06:23:31 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_devmap.c Log Message: Correct a type. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/uvm/pmap/pmap_devmap.c Please note that diffs are not

CVS commit: src/sys/uvm/pmap

2023-04-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Apr 22 10:22:43 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: KASSERT(kpreempt_disabled()) before accessing curcpu() To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57

CVS commit: src/sys/uvm/pmap

2023-04-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Apr 22 10:22:43 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: KASSERT(kpreempt_disabled()) before accessing curcpu() To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57

CVS commit: src/sys/uvm

2023-04-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 9 12:37:12 UTC 2023 Modified Files: src/sys/uvm: uvm_vnode.c Log Message: uvm: Simplify assertion in uvn_get. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120

CVS commit: src/sys/uvm

2023-04-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 9 12:37:12 UTC 2023 Modified Files: src/sys/uvm: uvm_vnode.c Log Message: uvm: Simplify assertion in uvn_get. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120

CVS commit: src/sys/uvm

2023-04-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 9 09:00:56 UTC 2023 Modified Files: src/sys/uvm: uvm_amap.c uvm_bio.c uvm_fault.c uvm_km.c uvm_page.c uvm_physseg.c uvm_swap.c uvm_vnode.c Log Message: uvm(9): KASSERT(A && B) -> KASSERT(A); KASSERT(B)

CVS commit: src/sys/uvm

2023-04-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 9 09:00:56 UTC 2023 Modified Files: src/sys/uvm: uvm_amap.c uvm_bio.c uvm_fault.c uvm_km.c uvm_page.c uvm_physseg.c uvm_swap.c uvm_vnode.c Log Message: uvm(9): KASSERT(A && B) -> KASSERT(A); KASSERT(B)

CVS commit: src/sys/uvm

2023-03-24 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Mar 24 07:26:21 UTC 2023 Modified Files: src/sys/uvm: uvm_map.c Log Message: Unwrap. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.404 -r1.405 src/sys/uvm/uvm_map.c Please note that diffs are not public domain;

CVS commit: src/sys/uvm

2023-03-24 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Mar 24 07:26:21 UTC 2023 Modified Files: src/sys/uvm: uvm_map.c Log Message: Unwrap. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.404 -r1.405 src/sys/uvm/uvm_map.c Please note that diffs are not public domain;

CVS commit: src/sys/uvm

2023-02-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Feb 27 16:24:46 UTC 2023 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm(9): KASSERT(A && B) -> KASSERT(A); KASSERT(B) While here, print some of the inputs with KASSERTMSG. To generate a diff of this commit: cvs

CVS commit: src/sys/uvm

2023-02-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Feb 27 16:24:46 UTC 2023 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm(9): KASSERT(A && B) -> KASSERT(A); KASSERT(B) While here, print some of the inputs with KASSERTMSG. To generate a diff of this commit: cvs

CVS commit: src/sys/uvm

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Feb 24 11:03:13 UTC 2023 Modified Files: src/sys/uvm: uvm_aobj.c Log Message: uvm: Eliminate __HAVE_ATOMIC_AS_MEMBAR conditionals. Discussed on tech-kern: https://mail-index.netbsd.org/tech-kern/2023/02/23/msg028729.html

CVS commit: src/sys/uvm

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Feb 24 11:03:13 UTC 2023 Modified Files: src/sys/uvm: uvm_aobj.c Log Message: uvm: Eliminate __HAVE_ATOMIC_AS_MEMBAR conditionals. Discussed on tech-kern: https://mail-index.netbsd.org/tech-kern/2023/02/23/msg028729.html

CVS commit: src/sys/uvm/pmap

2023-02-18 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 19 07:20:44 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Spaces to TABs. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/uvm/pmap/pmap_tlb.c Please note that diffs are

CVS commit: src/sys/uvm/pmap

2023-02-18 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 19 07:20:44 UTC 2023 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Spaces to TABs. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/uvm/pmap/pmap_tlb.c Please note that diffs are

CVS commit: src/sys/uvm

2022-12-20 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Dec 21 02:28:06 UTC 2022 Modified Files: src/sys/uvm: uvm_swap.c Log Message: swap: disallow user opens of swap block device the swap/drum block device was never intended to allow user opens, but when the internal VOP_OPEN() in

CVS commit: src/sys/uvm

2022-12-20 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Dec 21 02:28:06 UTC 2022 Modified Files: src/sys/uvm: uvm_swap.c Log Message: swap: disallow user opens of swap block device the swap/drum block device was never intended to allow user opens, but when the internal VOP_OPEN() in

CVS commit: src/sys/uvm

2022-11-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Nov 23 23:53:53 UTC 2022 Modified Files: src/sys/uvm: uvm_map.c Log Message: mmap(2): Avoid arithmetic overflow in search for free space. PR kern/56900 Reported-by: syzbot+3833ae1d38037a263...@syzkaller.appspotmail.com

CVS commit: src/sys/uvm

2022-11-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Nov 23 23:53:53 UTC 2022 Modified Files: src/sys/uvm: uvm_map.c Log Message: mmap(2): Avoid arithmetic overflow in search for free space. PR kern/56900 Reported-by: syzbot+3833ae1d38037a263...@syzkaller.appspotmail.com

CVS commit: src/sys/uvm/pmap

2022-11-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Nov 7 07:28:04 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Fix UVMHIST build To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/uvm/pmap/pmap_tlb.c Please note that diffs are not

CVS commit: src/sys/uvm/pmap

2022-11-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Nov 7 07:28:04 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Fix UVMHIST build To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/uvm/pmap/pmap_tlb.c Please note that diffs are not

CVS commit: src/sys/uvm/pmap

2022-11-03 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Nov 3 18:55:07 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.h Log Message: _KERNEL_OPT protection To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/uvm/pmap/pmap.h Please note that diffs are not

CVS commit: src/sys/uvm/pmap

2022-11-03 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Nov 3 18:55:07 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.h Log Message: _KERNEL_OPT protection To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/uvm/pmap/pmap.h Please note that diffs are not

CVS commit: src/sys/uvm/pmap

2022-11-02 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Nov 2 08:05:17 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/uvm/pmap/pmap.c Please note that diffs are not public domain; they are

CVS commit: src/sys/uvm/pmap

2022-11-02 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Nov 2 08:05:17 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/uvm/pmap/pmap.c Please note that diffs are not public domain; they are

CVS commit: src/sys/uvm/pmap

2022-10-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 27 06:49:51 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap_segtab.c Log Message: In pmap_pte_reserve ensure we're atomically swapping out an invalid entry otherwise concurrent updates might both think they've updated the

CVS commit: src/sys/uvm/pmap

2022-10-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 27 06:49:51 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap_segtab.c Log Message: In pmap_pte_reserve ensure we're atomically swapping out an invalid entry otherwise concurrent updates might both think they've updated the

CVS commit: src/sys/uvm/pmap

2022-10-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 27 06:20:41 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: No need to hold the pmap_tlb_miss_lock when calling pmap_segtab_destroy To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71

CVS commit: src/sys/uvm/pmap

2022-10-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 27 06:20:41 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: No need to hold the pmap_tlb_miss_lock when calling pmap_segtab_destroy To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71

CVS commit: src/sys/uvm/pmap

2022-10-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 27 06:19:56 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c pmap.h Log Message: Rename pm_count to pm_refcnt To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/uvm/pmap/pmap.c cvs rdiff -u -r1.23

CVS commit: src/sys/uvm/pmap

2022-10-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 27 06:19:56 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c pmap.h Log Message: Rename pm_count to pm_refcnt To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/uvm/pmap/pmap.c cvs rdiff -u -r1.23

CVS commit: src/sys/uvm/pmap

2022-10-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 27 05:33:37 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.h Log Message: Fix the crash(1) build for mips platforms To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/uvm/pmap/pmap.h Please note that

CVS commit: src/sys/uvm/pmap

2022-10-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 27 05:33:37 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.h Log Message: Fix the crash(1) build for mips platforms To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/uvm/pmap/pmap.h Please note that

CVS commit: src/sys/uvm/pmap

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 06:37:15 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: Correct the pmap_kstart_segtab entry in pmap_kern_segtab To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/uvm/pmap/pmap.c

CVS commit: src/sys/uvm/pmap

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 06:37:15 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: Correct the pmap_kstart_segtab entry in pmap_kern_segtab To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/uvm/pmap/pmap.c

CVS commit: src/sys/uvm/pmap

2022-10-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 20 06:24:51 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Add a KASSERT to check that tlb_asid_t is a large enough type. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sys/uvm/pmap

2022-10-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 20 06:24:51 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Add a KASSERT to check that tlb_asid_t is a large enough type. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sys/uvm/pmap

2022-09-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Sep 15 06:44:18 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: whitespace - remove spaces before tabs To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/uvm/pmap/pmap.c Please note that

CVS commit: src/sys/uvm/pmap

2022-09-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Sep 15 06:44:18 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: whitespace - remove spaces before tabs To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/uvm/pmap/pmap.c Please note that

CVS commit: src/sys/uvm/pmap

2022-09-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Sep 12 07:38:32 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: A simplification and some minor whitespace To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/uvm/pmap/pmap.c Please note

CVS commit: src/sys/uvm/pmap

2022-09-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Sep 12 07:38:32 UTC 2022 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: A simplification and some minor whitespace To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/uvm/pmap/pmap.c Please note

CVS commit: src/sys/uvm

2022-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 20 23:26:02 UTC 2022 Modified Files: src/sys/uvm: uvm_pdpolicy.h Log Message: uvm_pdpolicy.h: Fix missing forward declarations and includes. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/uvm

2022-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 20 23:26:02 UTC 2022 Modified Files: src/sys/uvm: uvm_pdpolicy.h Log Message: uvm_pdpolicy.h: Fix missing forward declarations and includes. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/uvm

2022-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 20 23:08:54 UTC 2022 Modified Files: src/sys/uvm: uvm_pmap.h Log Message: uvm/uvm_pmap.h: Fix missing types and forward declarations. - Need sys/types.h for vaddr_t, paddr_t, u_int, - Forward-declare struct vm_page

CVS commit: src/sys/uvm

2022-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 20 23:08:54 UTC 2022 Modified Files: src/sys/uvm: uvm_pmap.h Log Message: uvm/uvm_pmap.h: Fix missing types and forward declarations. - Need sys/types.h for vaddr_t, paddr_t, u_int, - Forward-declare struct vm_page

CVS commit: src/sys/uvm

2022-08-05 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Aug 6 05:55:37 UTC 2022 Modified Files: src/sys/uvm: uvm_km.c Log Message: allow KMSAN to work again by restoring the limiting of kva even with NKMEMPAGES_MAX_UNLIMITED. we used to limit kva to 1/8 of physmem but limiting to

CVS commit: src/sys/uvm

2022-08-05 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Aug 6 05:55:37 UTC 2022 Modified Files: src/sys/uvm: uvm_km.c Log Message: allow KMSAN to work again by restoring the limiting of kva even with NKMEMPAGES_MAX_UNLIMITED. we used to limit kva to 1/8 of physmem but limiting to

CVS commit: src/sys/uvm

2022-08-02 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Aug 3 01:52:11 UTC 2022 Modified Files: src/sys/uvm: uvm_km.c Log Message: for platforms which define NKMEMPAGES_MAX_UNLIMITED, set nkmempages high enough to allow the kernel to map all of RAM into kmem, so that free physical

CVS commit: src/sys/uvm

2022-08-02 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Aug 3 01:52:11 UTC 2022 Modified Files: src/sys/uvm: uvm_km.c Log Message: for platforms which define NKMEMPAGES_MAX_UNLIMITED, set nkmempages high enough to allow the kernel to map all of RAM into kmem, so that free physical

CVS commit: src/sys/uvm

2022-07-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jul 7 13:27:02 UTC 2022 Modified Files: src/sys/uvm: uvm_device.c Log Message: uvm: CTASSERT about MIN_PAGE_SIZE, which is constant. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/uvm/uvm_device.c

CVS commit: src/sys/uvm

2022-07-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jul 7 13:27:02 UTC 2022 Modified Files: src/sys/uvm: uvm_device.c Log Message: uvm: CTASSERT about MIN_PAGE_SIZE, which is constant. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/uvm/uvm_device.c

  1   2   3   4   >