CVS commit: src/sys/uvm

2025-02-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 22 09:36:29 UTC 2025 Modified Files: src/sys/uvm: uvm_swap.c Log Message: Keep b_resid consistent on I/O errors. To generate a diff of this commit: cvs rdiff -u -r1.208 -r1.209 src/sys/uvm/uvm_swap.c Please note that d

CVS commit: src/sys/uvm

2025-02-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 22 09:36:29 UTC 2025 Modified Files: src/sys/uvm: uvm_swap.c Log Message: Keep b_resid consistent on I/O errors. To generate a diff of this commit: cvs rdiff -u -r1.208 -r1.209 src/sys/uvm/uvm_swap.c Please note that d

CVS commit: src/sys/uvm

2024-12-07 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Dec 7 23:19:08 UTC 2024 Modified Files: src/sys/uvm: uvm_km.c Log Message: kmem: improve behavior when using all of physical memory as kmem On systems where kmem does not need to be limited by kernel virtual space (essentially

CVS commit: src/sys/uvm

2024-12-07 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sat Dec 7 23:19:08 UTC 2024 Modified Files: src/sys/uvm: uvm_km.c Log Message: kmem: improve behavior when using all of physical memory as kmem On systems where kmem does not need to be limited by kernel virtual space (essentially

CVS commit: src/sys/uvm/pmap

2024-11-25 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Nov 25 22:03:45 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.h pmap_devmap.h Log Message: Sprinkle #ifdef _KERNEL To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/uvm/pmap/pmap.h cvs rdiff -u -r1.1 -r1

CVS commit: src/sys/uvm/pmap

2024-11-25 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Nov 25 22:03:45 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.h pmap_devmap.h Log Message: Sprinkle #ifdef _KERNEL To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/uvm/pmap/pmap.h cvs rdiff -u -r1.1 -r1

CVS commit: src/sys/uvm

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 11:28:01 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Make KASSERTMSG unconditional for findspace invariants. PR kern/51254: uvm assertion "!topdown || hint <= orig_hint" failed To gene

CVS commit: src/sys/uvm

2024-08-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 16 11:28:01 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Make KASSERTMSG unconditional for findspace invariants. PR kern/51254: uvm assertion "!topdown || hint <= orig_hint" failed To gene

CVS commit: src/sys/uvm

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 11:33:21 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Apply the same orig_hint clamp again to the same entry. Previous change dealt with case like length=0x1000 and: [0x7defb000,0x7defc0

CVS commit: src/sys/uvm

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 11:33:21 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Apply the same orig_hint clamp again to the same entry. Previous change dealt with case like length=0x1000 and: [0x7defb000,0x7defc0

CVS commit: src/sys/uvm

2024-08-14 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Aug 14 22:24:09 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map: Fix build failure with DIAGNOSTIC for rev 1.422 PR kern/51254: uvm assertion "!topdown || hint <= orig_hint" failed To generate a diff of th

CVS commit: src/sys/uvm

2024-08-14 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Aug 14 22:24:09 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map: Fix build failure with DIAGNOSTIC for rev 1.422 PR kern/51254: uvm assertion "!topdown || hint <= orig_hint" failed To generate a diff of th

CVS commit: src/sys/uvm

2024-08-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 21:05:11 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Make sure search in the nearest gap is monotonic. The algorithm, on a hint clamped to the VM bounds, works as follows (assuming topdo

CVS commit: src/sys/uvm

2024-08-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 21:05:11 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Make sure search in the nearest gap is monotonic. The algorithm, on a hint clamped to the VM bounds, works as follows (assuming topdo

CVS commit: src/sys/uvm

2024-08-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 20:58:25 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Show the next entry when findspace invariants fail too. PR kern/51254: uvm assertion "!topdown || hint <= orig_hint" failed To gene

CVS commit: src/sys/uvm

2024-08-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 20:58:25 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Show the next entry when findspace invariants fail too. PR kern/51254: uvm assertion "!topdown || hint <= orig_hint" failed To gene

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 01:26:25 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Take vm map lock around uvm_unmap_remove. This was tripping one of the assertions I added. While it is safe here not to hold the loc

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 01:26:25 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Take vm map lock around uvm_unmap_remove. This was tripping one of the assertions I added. While it is safe here not to hold the loc

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 00:42:02 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Show the entry in findspace invariants. No functional change intended in the non-crash3 case. PR kern/51254: uvm assertion "!topdown

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 00:42:02 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Show the entry in findspace invariants. No functional change intended in the non-crash3 case. PR kern/51254: uvm assertion "!topdown

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 00:41:46 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Avoid potential arithmetic overflow. Should be harmless in this case because vaddr_t is unsigned, so there's no undefined behaviour h

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 00:41:46 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Avoid potential arithmetic overflow. Should be harmless in this case because vaddr_t is unsigned, so there's no undefined behaviour h

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 00:41:31 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Assert another loop invariant in entry lookup. No functional change intended. PR kern/51254: uvm assertion "!topdown || hint <= orig

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 14 00:41:31 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Assert another loop invariant in entry lookup. No functional change intended. PR kern/51254: uvm assertion "!topdown || hint <= orig

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 13 20:52:52 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: Redo uvm_map.c 1.414 without the null pointer dereference. uvm_map(9): Sprinkle assertions and interface contract comments. No functional change

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 13 20:52:52 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: Redo uvm_map.c 1.414 without the null pointer dereference. uvm_map(9): Sprinkle assertions and interface contract comments. No functional change

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 13 20:23:23 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: Revert uvm_map.c 1.414. This was: uvm_map(9): Sprinkle assertions and interface contract comments. Apparently, you have to actually test cha

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 13 20:23:23 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: Revert uvm_map.c 1.414. This was: uvm_map(9): Sprinkle assertions and interface contract comments. Apparently, you have to actually test cha

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 13 17:54:59 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Sprinkle invariant assertions into uvm_map_space_avail. No functional change intended. PR kern/51254: uvm assertion "!topdown || hin

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 13 17:54:59 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Sprinkle invariant assertions into uvm_map_space_avail. No functional change intended. PR kern/51254: uvm assertion "!topdown || hin

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 13 17:54:44 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Sprinkle assertions and interface contract comments. No functional change intended. PR kern/51254: uvm assertion "!topdown || hint <

CVS commit: src/sys/uvm

2024-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 13 17:54:44 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Sprinkle assertions and interface contract comments. No functional change intended. PR kern/51254: uvm assertion "!topdown || hint <

CVS commit: src/sys/uvm

2024-07-16 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Tue Jul 16 16:48:54 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_findspace_invariants: don't repeat the message three times The topdown and bottomup messages were exactly the same and sh3 printf hack added the th

CVS commit: src/sys/uvm

2024-07-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 15 12:51:50 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map.c: Fix kassertmsg/printf newline mismatch in PR 51254 note. To generate a diff of this commit: cvs rdiff -u -r1.411 -r1.412 src/sys/uvm/

CVS commit: src/sys/uvm

2024-07-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 15 12:51:50 UTC 2024 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map.c: Fix kassertmsg/printf newline mismatch in PR 51254 note. To generate a diff of this commit: cvs rdiff -u -r1.411 -r1.412 src/sys/uvm/

CVS commit: src/sys/uvm/pmap

2024-05-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon May 6 07:18:19 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: Fix 32bit UVMHIST builds To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/uvm/pmap/pmap.c Please note that diffs are not pub

CVS commit: src/sys/uvm/pmap

2024-05-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon May 6 07:18:19 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: Fix 32bit UVMHIST builds To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/uvm/pmap/pmap.c Please note that diffs are not pub

CVS commit: src/sys/uvm

2024-05-03 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri May 3 07:09:20 UTC 2024 Modified Files: src/sys/uvm: uvm_io.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/uvm/uvm_io.c Please note that diffs are not public domain; they are subjec

CVS commit: src/sys/uvm

2024-05-03 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri May 3 07:09:20 UTC 2024 Modified Files: src/sys/uvm: uvm_io.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/uvm/uvm_io.c Please note that diffs are not public domain; they are subjec

CVS commit: src/sys/uvm/pmap

2024-05-03 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri May 3 07:06:18 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: More debug. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/sys/uvm/pmap/pmap.c Please note that diffs are not public domain; t

CVS commit: src/sys/uvm/pmap

2024-05-03 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri May 3 07:06:18 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: More debug. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/sys/uvm/pmap/pmap.c Please note that diffs are not public domain; t

CVS commit: src/sys/uvm/pmap

2024-04-18 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Apr 18 12:16:23 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.c pmap.h Log Message: Fix types in pmap_page_clear_attributes so that the top bits of the u_long mdpg_attrs aren't dropped giving atomic_cas_ulong no chance of com

CVS commit: src/sys/uvm/pmap

2024-04-18 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Apr 18 12:16:23 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.c pmap.h Log Message: Fix types in pmap_page_clear_attributes so that the top bits of the u_long mdpg_attrs aren't dropped giving atomic_cas_ulong no chance of com

CVS commit: src/sys/uvm/pmap

2024-03-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Mar 23 08:31:15 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: Default pmap_stealdebug to false To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/uvm/pmap/pmap.c Please note that diffs are

CVS commit: src/sys/uvm/pmap

2024-03-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Mar 23 08:31:15 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: Default pmap_stealdebug to false To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/uvm/pmap/pmap.c Please note that diffs are

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 src/sys/uvm/uvm_s

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 src/sys/uvm/uvm_s

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 !VMSWA

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 !VMSWA

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 P

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 P

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 f

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 f

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 domai

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 domai

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 src/sys/uv

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 src/sys/uv

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 little.

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 little.

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 src/

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 src/

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 comm

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 comm

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 n

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 n

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 diffs

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 diffs

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 same

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 same

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 surv

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 surv

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 public

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 public

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 relevant

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 relevant

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 src/sys/uvm/pmap/pmap_segtab

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 src/sys/uvm/pmap/pmap_segtab

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 Pl

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 Pl

CVS commit: src/sys/uvm/pmap

2023-06-11 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 src/sys/uvm/pmap/

CVS commit: src/sys/uvm/pmap

2023-06-11 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 src/sys/uvm/pmap/

CVS commit: src/sys/uvm/pmap

2023-06-11 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 not

CVS commit: src/sys/uvm/pmap

2023-06-11 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 not

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 uvm_ma

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 uvm_ma

CVS commit: src/sys/uvm/pmap

2023-04-26 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-26 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 src/sys/uvm/pmap/pmap_tlb

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 src/sys/uvm/pmap/pmap_tlb

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 src/sys/uv

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 src/sys/uv

  1   2   3   4   5   >