CVS commit: src/sys/uvm

2020-05-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri May 15 22:25:18 UTC 2020 Modified Files: src/sys/uvm: uvm_page_status.c Log Message: uvm_pagemarkdirty(): no need to set radix tree tag unless page is currently marked clean. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/uvm

2020-05-10 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun May 10 22:28:09 UTC 2020 Modified Files: src/sys/uvm: files.uvm Log Message: Add missing dependency. Fixes builds with VM_SWAP but no other users of rijndael crypto code. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/uvm

2020-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 10 02:38:10 UTC 2020 Modified Files: src/sys/uvm: uvm_swap.c Log Message: Rename things so the symbol better matches the sysctl name. No functional change intended, except that the symbol that was previously

CVS commit: src/sys/uvm

2020-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 9 22:00:48 UTC 2020 Modified Files: src/sys/uvm: uvm_swap.c Log Message: Avoid overflow if a very large number of pages are swapped at once. Unlikely, but let's make sure we don't hit this ever. To generate a diff

CVS commit: src/sys/uvm

2020-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 9 21:50:39 UTC 2020 Modified Files: src/sys/uvm: uvm_swap.c Log Message: Implement swap encryption. Enabled by sysctl -w vm.swap_encrypt=1. Key is generated lazily when we first need to swap a page. Key is chosen

CVS commit: src/sys/uvm

2020-05-09 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 9 15:13:19 UTC 2020 Modified Files: src/sys/uvm: uvm_extern.h uvm_map.c Log Message: Make the uvm_voaddr structure more compact, only occupying 2 pointers worth of space, by encoding the type in the lower bits of the

CVS commit: src/sys/uvm

2020-04-26 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Apr 27 02:47:26 UTC 2020 Modified Files: src/sys/uvm: uvm_extern.h Log Message: Add missing \ to fix build for PMAP_CACHE_VIVT, i.e., ARMv4 and prior. To generate a diff of this commit: cvs rdiff -u -r1.224 -r1.225

CVS commit: src/sys/uvm

2020-04-26 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Apr 26 16:16:13 UTC 2020 Modified Files: src/sys/uvm: uvm_bio.c Log Message: Disable ubc_direct by default again. There are still stability issues (e.g. panic during 2020.04.25.00.07.27 amd64 releng test run). To generate

CVS commit: src/sys/uvm

2020-04-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Apr 24 19:47:03 UTC 2020 Modified Files: src/sys/uvm: uvm_bio.c Log Message: ubc_alloc_direct(): for a write make sure pages are always marked dirty because there's no managed mapping. To generate a diff of this commit: cvs

CVS commit: src/sys/uvm

2020-04-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Apr 23 21:53:01 UTC 2020 Modified Files: src/sys/uvm: uvm_bio.c uvm_glue.c Log Message: Enable ubc_direct by default, but only on systems with no more than 2 CPUs for now. To generate a diff of this commit: cvs rdiff -u -r1.110

CVS commit: src/sys/uvm

2020-04-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Apr 23 21:12:06 UTC 2020 Modified Files: src/sys/uvm: uvm_bio.c Log Message: ubc_direct_release(): unbusy the pages directly since pg->interlock is being taken. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109

CVS commit: src/sys/uvm

2020-04-19 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Apr 19 21:53:38 UTC 2020 Modified Files: src/sys/uvm: uvm_pager.c Log Message: uvm_aio_aiodone_pages(): only call uvm_pageout_done() if work was done for the page daemon. To generate a diff of this commit: cvs rdiff -u -r1.124

CVS commit: src/sys/uvm

2020-04-19 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Apr 19 08:59:53 UTC 2020 Modified Files: src/sys/uvm: uvm_map.c Log Message: Fix UVMHIST_LOG compile on 32bit platforms To generate a diff of this commit: cvs rdiff -u -r1.380 -r1.381 src/sys/uvm/uvm_map.c Please note that

CVS commit: src/sys/uvm

2020-04-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 18 17:22:26 UTC 2020 Modified Files: src/sys/uvm: uvm_map.c Log Message: Fix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.379 -r1.380 src/sys/uvm/uvm_map.c Please note that diffs are not

CVS commit: src/sys/uvm

2020-04-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Apr 18 03:27:13 UTC 2020 Modified Files: src/sys/uvm: uvm_extern.h uvm_map.c Log Message: Add an API to get a reference on the identity of an individual byte of virtual memory, a "virtual object address". This is not a

CVS commit: src/sys/uvm/pmap

2020-04-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Apr 14 05:43:57 UTC 2020 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Fix UVMHIST bulid To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/uvm/pmap/pmap_tlb.c Please note that diffs are not

CVS commit: src/sys/uvm

2020-04-13 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Apr 13 22:22:19 UTC 2020 Modified Files: src/sys/uvm: uvm_fault.c Log Message: uvm_fault_check(): if MADV_SEQUENTIAL, change lower lock type to RW_WRITER in case many threads are concurrently doing "sequential" access, to avoid

CVS commit: src/sys/uvm

2020-04-13 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Apr 13 15:16:14 UTC 2020 Modified Files: src/sys/uvm: uvm_pglist.h Log Message: Comments To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/uvm/uvm_pglist.h Please note that diffs are not public domain; they

CVS commit: src/sys/uvm/pmap

2020-04-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Apr 13 08:05:22 UTC 2020 Modified Files: src/sys/uvm/pmap: pmap_synci.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/uvm/pmap/pmap_synci.c Please note that diffs are

CVS commit: src/sys/uvm

2020-04-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Apr 13 07:11:08 UTC 2020 Modified Files: src/sys/uvm: uvm_stat.h Log Message: Oops, forgot the empty macro version of UVMHIST_CALLARGS To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/uvm/uvm_stat.h

CVS commit: src/sys/uvm/pmap

2020-04-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Apr 12 15:36:18 UTC 2020 Modified Files: src/sys/uvm/pmap: pmap.c pmap_tlb.c Log Message: Use UVMHIST_CALLARGS To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/uvm/pmap/pmap.c cvs rdiff -u -r1.31 -r1.32

CVS commit: src/sys/uvm

2020-04-10 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Fri Apr 10 18:17:57 UTC 2020 Modified Files: src/sys/uvm: uvm_pdpolicy_clockpro.c Log Message: Update a link to "CLOCK-Pro" paper. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys/uvm

2020-04-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Apr 10 17:26:47 UTC 2020 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvmspace_exec(): set VM_MAP_DYING for the duration, so pmap_update() is not called until the pmap has been totally cleared out after pmap_remove_all(),

CVS commit: src/sys/uvm/pmap

2020-04-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Apr 9 08:55:45 UTC 2020 Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Make a comment less MIPS specific To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/uvm/pmap/pmap_tlb.c Please note that

CVS commit: src/sys/uvm

2020-04-08 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Apr 8 07:56:34 UTC 2020 Modified Files: src/sys/uvm: uvm_stat.h Log Message: Provide UVMHIST_CALLARGS To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/uvm/uvm_stat.h Please note that diffs are not

CVS commit: src/sys/uvm

2020-04-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Apr 7 19:15:24 UTC 2020 Modified Files: src/sys/uvm: uvm_pager.c Log Message: For single page I/O, use direct mapping if available. To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/sys/uvm/uvm_pager.c

CVS commit: src/sys/uvm

2020-04-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Apr 7 19:12:25 UTC 2020 Modified Files: src/sys/uvm: uvm_bio.c Log Message: ubc_direct_release(): remove spurious call to uvm_pagemarkdirty(). To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108

CVS commit: src/sys/uvm

2020-04-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Apr 7 19:11:13 UTC 2020 Modified Files: src/sys/uvm: uvm_bio.c Log Message: PR kern/54759: vm.ubc_direct deadlock when read()/write() into mapping of itself Prevent ubc_uiomove_direct() on mapped vnodes. To generate a diff of

CVS commit: src/sys/uvm

2020-04-04 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Apr 4 21:17:03 UTC 2020 Modified Files: src/sys/uvm: uvm_map.c Log Message: Mark uvm_map_entry_cache with PR_LARGECACHE. To generate a diff of this commit: cvs rdiff -u -r1.376 -r1.377 src/sys/uvm/uvm_map.c Please note that

CVS commit: src/sys/uvm

2020-03-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Mar 23 10:35:56 UTC 2020 Modified Files: src/sys/uvm: uvm_fault.c Log Message: Fix UVMHIST build To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224 src/sys/uvm/uvm_fault.c Please note that diffs are not public

CVS commit: src/sys/uvm

2020-03-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Mar 23 10:35:08 UTC 2020 Modified Files: src/sys/uvm: uvm_fault.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.222 -r1.223 src/sys/uvm/uvm_fault.c Please note that diffs are not

CVS commit: src/sys/uvm

2020-03-20 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Mar 20 19:08:54 UTC 2020 Modified Files: src/sys/uvm: uvm_amap.c uvm_amap.h uvm_anon.c uvm_anon.h uvm_fault.c uvm_loan.c uvm_map.c Log Message: Go back to freeing struct vm_anon one by one. There may have been an

CVS commit: src/sys/uvm

2020-03-20 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Mar 20 18:50:09 UTC 2020 Modified Files: src/sys/uvm: uvm_fault.c Log Message: uvm_fault_upper_lookup(): don't call pmap_extract() and pmap_update() more often than needed. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/uvm

2020-03-19 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Mar 19 20:23:20 UTC 2020 Modified Files: src/sys/uvm: uvm_meter.c Log Message: sysctl_vm_uvmexp2(): some counters were needlessly truncated. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sys/uvm/uvm_meter.c

CVS commit: src/sys/uvm

2020-03-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Mar 17 00:30:18 UTC 2020 Modified Files: src/sys/uvm: uvm_page_array.c Log Message: Fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/uvm/uvm_page_array.c Please note that diffs are not public

CVS commit: src/sys/uvm/pmap

2020-03-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Mar 16 20:07:44 UTC 2020 Modified Files: src/sys/uvm/pmap: pmap_pvt.c Log Message: Use C99-ism to reduce ifdefs. Pointed out by christos@. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/uvm/pmap

2020-03-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Mar 16 19:56:39 UTC 2020 Modified Files: src/sys/uvm/pmap: pmap_pvt.c Log Message: pmap_pv_track(): use PMAP_PAGE_INIT() otherwise the x86 pmap pukes. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/uvm

2020-03-16 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Mar 16 08:03:58 UTC 2020 Modified Files: src/sys/uvm: uvm_page.h Log Message: Include for krwlock_t required by uvm_pagewait(). To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/sys/uvm/uvm_page.h Please

CVS commit: src/sys/uvm

2020-03-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Mar 15 21:06:30 UTC 2020 Modified Files: src/sys/uvm: uvm_physseg.c Log Message: uvm_physseg: cluster fields used during RB tree lookup for PHYS_TO_VM_PAGE(). To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/uvm/pmap

2020-03-15 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Mar 15 11:36:24 UTC 2020 Modified Files: src/sys/uvm/pmap: pmap.h Log Message: Fix build for ports using uvm/pmap; pmap_remove_all() returns a boolean. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/uvm

2020-03-15 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Mar 15 11:17:23 UTC 2020 Modified Files: src/sys/uvm: uvm_page.c Log Message: Fix build with UVMHIST. To generate a diff of this commit: cvs rdiff -u -r1.232 -r1.233 src/sys/uvm/uvm_page.c Please note that diffs are not

CVS commit: src/sys/uvm

2020-03-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Mar 14 21:06:35 UTC 2020 Modified Files: src/sys/uvm: uvm_page.c Log Message: Don't require a write lock for page enqueue/activate/deactivate. To generate a diff of this commit: cvs rdiff -u -r1.231 -r1.232

CVS commit: src/sys/uvm

2020-03-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Mar 14 17:29:53 UTC 2020 Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map_lookup_entry(): save the hint even on failure, since code elsewhere relies on it pointing to the previous entry. To generate a diff of this

CVS commit: src/sys/uvm

2020-03-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Mar 14 14:15:43 UTC 2020 Modified Files: src/sys/uvm: uvm_map.c uvm_map.h Log Message: - uvmspace_exec(), uvmspace_free(): if pmap_remove_all() returns true the pmap is emptied. Pass UVM_FLAG_VAONLY when clearing out the map

CVS commit: src/sys/uvm

2020-03-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Mar 14 13:53:26 UTC 2020 Modified Files: src/sys/uvm: uvm_pdpolicy_clock.c uvm_pdpolicy_clockpro.c Log Message: uvm_pdpolicy: Require a write lock on the object only for dequeue. No sense in requiring that for

CVS commit: src/sys/uvm/pmap

2020-03-12 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Mar 12 23:10:27 UTC 2020 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: pmap_tlb_miss_lock needs to be globally visible. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/uvm/pmap/pmap.c Please

CVS commit: src/sys/uvm

2020-03-08 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Mar 8 18:40:30 UTC 2020 Modified Files: src/sys/uvm: uvm_readahead.c Log Message: Only need a read lock for uvm_pagelookup(). To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/uvm/uvm_readahead.c Please

CVS commit: src/sys/uvm

2020-03-08 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Mar 8 15:01:50 UTC 2020 Modified Files: src/sys/uvm: uvm_pdpolicy_clock.c Log Message: Don't zap the non-pdpolicy bits in pg->pqflags. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34

CVS commit: src/sys/uvm

2020-03-06 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Mar 6 20:46:12 UTC 2020 Modified Files: src/sys/uvm: uvm_init.c Log Message: Fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/uvm/uvm_init.c Please note that diffs are not public domain;

CVS commit: src/sys/uvm

2020-03-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 6 02:46:18 UTC 2020 Modified Files: src/sys/uvm: uvm_page.h Log Message: Include "opt_uvm_page_trkown.h" for UVM_PAGE_TRKOWN. To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/sys/uvm/uvm_page.h

CVS commit: src/sys/uvm

2020-03-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 12:21:00 UTC 2020 Modified Files: src/sys/uvm: uvm_glue.c Log Message: Part of PR kern/54994: Memory allocated in the fast path of uarea_poolpage_alloc() is a page itself. Therefore, it is obviously page-aligned.

CVS commit: src/sys/uvm

2020-03-03 Thread Robert Swindells
Module Name:src Committed By: rjs Date: Tue Mar 3 13:32:44 UTC 2020 Modified Files: src/sys/uvm: uvm_vnode.c Log Message: Make some wait channel names unique to six characters. To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/sys/uvm/uvm_vnode.c

CVS commit: src/sys/uvm

2020-03-03 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Mar 3 08:13:44 UTC 2020 Modified Files: src/sys/uvm: uvm_page.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230 src/sys/uvm/uvm_page.c Please note that diffs are not public

CVS commit: src/sys/uvm

2020-03-02 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Mar 3 07:51:26 UTC 2020 Modified Files: src/sys/uvm: uvm_page.c Log Message: Typo in comment To generate a diff of this commit: cvs rdiff -u -r1.228 -r1.229 src/sys/uvm/uvm_page.c Please note that diffs are not public

CVS commit: src/sys/uvm

2020-03-01 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Mar 1 21:43:56 UTC 2020 Modified Files: src/sys/uvm: uvm_pglist.c Log Message: uvm_pglistalloc() / uvm_pglistfree() musn't be called from interrupt context. Assert it. To generate a diff of this commit: cvs rdiff -u -r1.80

CVS commit: src/sys/uvm

2020-02-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Feb 24 21:06:11 UTC 2020 Modified Files: src/sys/uvm: uvm_loan.c Log Message: uvm_unloanpage(): fix a screwup in previous. slock must be set NULL if it can't be acquired. To generate a diff of this commit: cvs rdiff -u -r1.95

CVS commit: src/sys/uvm

2020-02-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Feb 23 23:54:52 UTC 2020 Modified Files: src/sys/uvm: uvm_page.c Log Message: Fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/sys/uvm/uvm_page.c Please note that diffs are not public domain;

CVS commit: src/sys/uvm

2020-02-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Feb 23 21:36:29 UTC 2020 Modified Files: src/sys/uvm: uvm_anon.c Log Message: Use rw_lock_op(). To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/uvm/uvm_anon.c Please note that diffs are not public domain;

CVS commit: src/sys/uvm

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 04:54:47 UTC 2020 Modified Files: src/sys/uvm: uvm_pglist.c Log Message: Make this compile again with PGALLOC_VERBOSE. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/uvm/uvm_pglist.c Please note

CVS commit: src/sys/uvm

2020-01-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jan 30 12:28:51 UTC 2020 Modified Files: src/sys/uvm: uvm_pdpolicy_clock.c uvm_pdpolicy_clockpro.c Log Message: uvmpdpol_estimatepageable(): Don't take any locks here. This can be called from DDB, and in any case the numbers are

CVS commit: src/sys/uvm

2020-01-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 21 20:37:06 UTC 2020 Modified Files: src/sys/uvm: uvm_page.c uvm_page.h uvm_pdpolicy_clock.c Log Message: uvmpdpol_pageactive(): the change to not re-activate recently activated pages worked great with uvm_pageqlock, but it

CVS commit: src/sys/uvm

2020-01-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Jan 20 10:43:49 UTC 2020 Modified Files: src/sys/uvm: uvm_km.c Log Message: Another #define protection. PMAP_ALLOC_POOLPAGE expects PMAP_{,UN}MAP_POOLPAGE to be defined To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/uvm

2020-01-12 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jan 12 17:46:56 UTC 2020 Modified Files: src/sys/uvm: uvm_map.c uvm_map.h Log Message: - uvm_unmap_remove(): need to call pmap_update() with the object still locked, otherwise the page could gain a new identity and still be

CVS commit: src/sys/uvm

2020-01-12 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jan 12 12:55:03 UTC 2020 Modified Files: src/sys/uvm: uvm_glue.c Log Message: l->l_emap_gen isn't used any more. To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.176 src/sys/uvm/uvm_glue.c Please note that diffs are

CVS commit: src/sys/uvm

2020-01-11 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 11 19:51:01 UTC 2020 Modified Files: src/sys/uvm: uvm_page.c Log Message: - uvm_pagezerocheck(): put a global lock around it to protect the single page mapping (DEBUG only). - uvm_pagefree(): increment zeropages as needed.

CVS commit: src/sys/uvm

2020-01-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Jan 10 21:32:18 UTC 2020 Modified Files: src/sys/uvm: uvm_page.h Log Message: UVM_PAGE_TREE_PENALTY isn't used any more. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/sys/uvm/uvm_page.h Please note that

CVS commit: src/sys/uvm

2020-01-09 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jan 9 10:43:45 UTC 2020 Modified Files: src/sys/uvm: uvm_page.h Log Message: Use __SHIFTIN()/__SHIFTOUT(). Suggested by riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/sys/uvm/uvm_page.h Please

CVS commit: src/sys/uvm

2020-01-05 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jan 5 22:01:09 UTC 2020 Modified Files: src/sys/uvm: uvm_page.c Log Message: Page allocator: The method for assigning pages to buckets in the non-NUMA case sucks. It can defeat memory interleaving in the hardware, and not

CVS commit: src/sys/uvm

2020-01-01 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jan 2 02:00:35 UTC 2020 Modified Files: src/sys/uvm: uvm_amap.c uvm_amap.h Log Message: Back out the amap allocation changes from earlier today - have seen a panic with them. Retain the lock changes. To generate a diff of

CVS commit: src/sys/uvm

2020-01-01 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 1 22:01:14 UTC 2020 Modified Files: src/sys/uvm: uvm_amap.c uvm_amap.h Log Message: - Start trying to reduce the high cache miss rate observed around vm_amap. On _LP64, pad struct vm_amap to 128 bytes and use the

CVS commit: src/sys/uvm/pmap

2020-01-01 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jan 1 16:50:42 UTC 2020 Modified Files: src/sys/uvm/pmap: pmap_pvt.c Log Message: Revert previous (include of sys/param.h) - the headers requiring this have been fixed. To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/sys/uvm

2020-01-01 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 1 14:33:48 UTC 2020 Modified Files: src/sys/uvm: uvm_pdpolicy_clock.c Log Message: Fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/uvm/uvm_pdpolicy_clock.c Please note that diffs are

CVS commit: src/sys/uvm

2020-01-01 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 1 13:11:51 UTC 2020 Modified Files: src/sys/uvm: uvm_amap.c Log Message: PR kern/54821: 9.99.32 assertion in uvm_pageactivate Looks like I forgot to commit this file yesterday. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/uvm

2019-12-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jan 1 01:18:34 UTC 2020 Modified Files: src/sys/uvm: uvm_pdpolicy_clock.c Log Message: explicitely include sys/atomic.h for atomic operations. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/uvm

2019-12-31 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Dec 31 17:56:16 UTC 2019 Modified Files: src/sys/uvm: uvm_page.h Log Message: struct vm_page: cluster fields most heavily used by the page allocator and uvmpdpol at the start of the structure, so that while under global lock we

CVS commit: src/sys/uvm/pmap

2019-12-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Dec 30 18:28:06 UTC 2019 Modified Files: src/sys/uvm/pmap: vmpagemd.h Log Message: pg->phys_addr -> VM_PAGE_TO_PHYS(). To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/uvm/pmap/vmpagemd.h Please note that

CVS commit: src/sys/uvm

2019-12-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Dec 30 18:18:03 UTC 2019 Modified Files: src/sys/uvm: uvm_pdpolicy_clock.c Log Message: Whitespace. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/uvm/uvm_pdpolicy_clock.c Please note that diffs are not

CVS commit: src/sys/uvm

2019-12-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Dec 30 18:08:38 UTC 2019 Modified Files: src/sys/uvm: uvm_pdaemon.c uvm_pdaemon.h uvm_pdpolicy.h uvm_pdpolicy_clock.c uvm_pdpolicy_clockpro.c Log Message: pagedaemon: - Use marker pages to keep place in the queue

CVS commit: src/sys/uvm

2019-12-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Dec 30 17:47:06 UTC 2019 Modified Files: src/sys/uvm: uvm_pgflcache.c Log Message: Freelist cache: drain using a high-priority xcall and re-enable now that the pagedaemon starvation problem should be fixed. To generate a diff

CVS commit: src/sys/uvm

2019-12-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Dec 30 17:45:53 UTC 2019 Modified Files: src/sys/uvm: uvm_page.c Log Message: uvm_pagealloc_pgb(): don't fill cache if we're into the reserves. uvm_pagereplace(): use radix_tree_replace_node() to avoid alloc/free. To generate

CVS commit: src/sys/uvm

2019-12-29 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Dec 29 15:45:28 UTC 2019 Modified Files: src/sys/uvm: uvm_pgflcache.c Log Message: It looks like the freelist cache can starve the pagedaemon under certain conditions, so temporarily disable it. Will revisit soon. To generate

CVS commit: src/sys/uvm

2019-12-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Dec 28 16:07:41 UTC 2019 Modified Files: src/sys/uvm: uvm_page.c Log Message: Add missing call to uvm_pgflcache_resume(). To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216 src/sys/uvm/uvm_page.c Please note that

CVS commit: src/sys/uvm

2019-12-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Dec 28 08:49:41 UTC 2019 Modified Files: src/sys/uvm: uvm_page.c Log Message: Use PRIxPADDR to print a physical address (instead of casting to void* and printing a pointer - which does not work well if sizeof(paddr_t) !=

CVS commit: src/sys/uvm

2019-12-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Dec 28 08:33:35 UTC 2019 Modified Files: src/sys/uvm: uvm_pglist.h Log Message: Include here directly to have a sane default for COHERENCY_UNIT. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/uvm/pmap

2019-12-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Dec 28 08:25:33 UTC 2019 Modified Files: src/sys/uvm/pmap: pmap_pvt.c Log Message: Add mising sys/param.h include (for COHERENCY_UNIT, now needed in uvm headers) To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/uvm

2019-12-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Dec 27 13:24:53 UTC 2019 Modified Files: src/sys/uvm: uvm_pgflcache.c Log Message: Fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/uvm/uvm_pgflcache.c Please note that diffs are not public

CVS commit: src/sys/uvm

2019-12-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Dec 27 13:19:25 UTC 2019 Modified Files: src/sys/uvm: uvm.h uvm_page.c Log Message: Nothing uses uvm.cpus any more, and we can do the same with cpu_lookup(), so get rid of it. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/uvm

2019-12-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Dec 27 13:13:17 UTC 2019 Modified Files: src/sys/uvm: uvm_page.h uvm_pdpolicy_clock.c uvm_pdpolicy_clockpro.c Log Message: vm_page: Now that listq is gone, give the pagedaemon its own private TAILQ_ENTRY, so that update of page

CVS commit: src/sys/uvm

2019-12-26 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Dec 27 00:46:38 UTC 2019 Modified Files: src/sys/uvm: uvm_pager.c Log Message: PR kern/48044: panic: kernel diagnostic assertion "uvmexp.swpgonly + npages <= uvmexp.swpginuse" failed swpgonly is updated asynchronously with

CVS commit: src/sys/uvm

2019-12-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Dec 23 19:29:03 UTC 2019 Modified Files: src/sys/uvm: uvm_pdpolicy_clock.c Log Message: uvmpdpol_selectvictim: don't assert wire_count == 0, as we can (safely) race with object owner and wired pages can very briefly appear on the

CVS commit: src/sys/uvm

2019-12-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Dec 22 16:37:36 UTC 2019 Modified Files: src/sys/uvm: uvm_page.c Log Message: uvm_pagealloc_strat(): Tweak the locking to allow for lazy dequeue of pages in the pdpolicy code. This means taking pg->interlock if assigning to an

CVS commit: src/sys/uvm

2019-12-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Dec 21 16:10:20 UTC 2019 Modified Files: src/sys/uvm: uvm_pdaemon.c Log Message: Fix merge error - don't init uvmpd_lock twice. To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/uvm/uvm_pdaemon.c Please

CVS commit: src/sys/uvm

2019-12-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Dec 21 15:16:14 UTC 2019 Modified Files: src/sys/uvm: uvm_page.c Log Message: uvm_page_to_phys: mask off the lower bits. To generate a diff of this commit: cvs rdiff -u -r1.210 -r1.211 src/sys/uvm/uvm_page.c Please note that

CVS commit: src/sys/uvm

2019-12-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Dec 21 14:41:44 UTC 2019 Modified Files: src/sys/uvm: uvm_page.c uvm_page.h uvm_pager.c uvm_pglist.c uvm_physseg.c uvm_vnode.c Log Message: - Rename VM_PGCOLOR_BUCKET() to VM_PGCOLOR(). I want to reuse "bucket" for

CVS commit: src/sys/uvm

2019-12-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Dec 21 12:58:26 UTC 2019 Modified Files: src/sys/uvm: uvm_extern.h uvm_page.c Log Message: Add uvm_free(): returns number of free pages in system. To generate a diff of this commit: cvs rdiff -u -r1.214 -r1.215

CVS commit: src/sys/uvm

2019-12-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Dec 21 11:41:19 UTC 2019 Modified Files: src/sys/uvm: uvm_pdaemon.c Log Message: uvm_reclaimable(): need to sum the per-CPU values for filepages/execpages. To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116

CVS commit: src/sys/uvm

2019-12-20 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Dec 20 19:03:18 UTC 2019 Modified Files: src/sys/uvm: uvm_physseg.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/uvm/uvm_physseg.c Please note that diffs are not public domain; they

CVS commit: src/sys/uvm

2019-12-18 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Dec 18 20:38:14 UTC 2019 Modified Files: src/sys/uvm: uvm_loan.c uvm_page.c Log Message: PR kern/54783: t_mmap crahes the kernel - Fix various locking & sequencing errors with breaking loans. - Don't call uvm_pageremove_tree()

CVS commit: src/sys/uvm/pmap

2019-12-18 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Dec 18 11:27:56 UTC 2019 Modified Files: src/sys/uvm/pmap: pmap_pvt.c pmap_segtab.c pmap_synci.c pmap_tlb.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/uvm/pmap/pmap_pvt.c cvs rdiff

CVS commit: src/sys/uvm/pmap

2019-12-18 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Dec 18 10:55:50 UTC 2019 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: Remove duplicate #includes To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/uvm/pmap/pmap.c Please note that diffs are not

<    1   2   3   4   5   6   7   >