CVS commit: [matt-nb5-mips64] src/sys/uvm

2014-03-24 Thread Matt Thomas
Module Name:src Committed By: matt Date: Mon Mar 24 07:37:14 UTC 2014 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_page.c Log Message: Make sure the hint is initialized to NULL. To generate a diff of this commit: cvs rdiff -u -r1.140.6.3.4.11 -r1.140.6.3.4.12

CVS commit: [matt-nb5-mips64] src/sys/uvm

2014-02-15 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Feb 15 10:18:33 UTC 2014 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pmap.h Log Message: Add PMAP_NOCACHE + others. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.23.10.1 src/sys/uvm/uvm_pmap.h Please note

CVS commit: [matt-nb5-mips64] src/sys/uvm

2014-02-15 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Feb 15 10:19:14 UTC 2014 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_page.c uvm_pglist.c Log Message: Adapt to K{,D}ASSERTMSG changes To generate a diff of this commit: cvs rdiff -u -r1.140.6.3.4.10 -r1.140.6.3.4.11

CVS commit: [matt-nb5-mips64] src/sys/uvm

2013-12-18 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Dec 19 01:22:02 UTC 2013 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pglist.h Log Message: error out if VM_NFREELIST isn't defined To generate a diff of this commit: cvs rdiff -u -r1.7.16.5 -r1.7.16.6

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-05-07 Thread Matt Thomas
Module Name:src Committed By: matt Date: Mon May 7 18:30:56 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_map.c Log Message: Use uvm_km_pagefree to free a kmap entry page. To generate a diff of this commit: cvs rdiff -u -r1.263.4.3.4.8 -r1.263.4.3.4.9

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-05-07 Thread Matt Thomas
Module Name:src Committed By: matt Date: Mon May 7 18:31:25 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdpolicy_clock.c Log Message: Fix typo. To generate a diff of this commit: cvs rdiff -u -r1.12.16.8 -r1.12.16.9 src/sys/uvm/uvm_pdpolicy_clock.c

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-05-07 Thread Matt Thomas
Module Name:src Committed By: matt Date: Mon May 7 18:31:55 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdaemon.c Log Message: Fix free wakeup To generate a diff of this commit: cvs rdiff -u -r1.93.4.2.4.14 -r1.93.4.2.4.15 src/sys/uvm/uvm_pdaemon.c

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-05-07 Thread Matt Thomas
Module Name:src Committed By: matt Date: Mon May 7 21:07:35 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_anon.c Log Message: Move call to uvm_anon_dropswap to with #ifdef VMSWAP To generate a diff of this commit: cvs rdiff -u -r1.51.28.2 -r1.51.28.3

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-27 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Apr 27 20:41:09 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdaemon.c uvm_pdpolicy_clock.c Log Message: Don't decrement pgrp_active in radioactive page dequeue since we don't increment it when activated a

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-16 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Apr 17 00:12:21 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdpolicy_clock.c Log Message: If freemin is 0, don't say a scan is needed. To generate a diff of this commit: cvs rdiff -u -r1.12.16.6 -r1.12.16.7

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-16 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Apr 17 00:19:30 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdaemon.c Log Message: Don't kick off the page daemon if it's not going to be able to do anything. To generate a diff of this commit: cvs rdiff -u

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-13 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Apr 14 00:49:36 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdaemon.c Log Message: If the pagedaemon is stalling, don't wake it. Unless pages were freed for a group, don't wake things up if paging is 0 (stop

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-12 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Apr 12 19:38:27 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_fault.c uvm_km.c Log Message: Apply colormask to get a valid color. To generate a diff of this commit: cvs rdiff -u -r1.125.6.1.4.5 -r1.125.6.1.4.6

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-12 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Apr 12 19:39:55 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdpolicy_clock.c Log Message: Use PQ_SWAPBACKED to determine radioactiveness of page. Make sure to add in number of radioactive pages to actives pages.

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-12 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Apr 12 19:41:57 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdaemon.c Log Message: If after the pagedaemon is woken and it processes the queues and make no progress (frees no pages), instead of immediately

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-12 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Apr 13 00:34:54 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdaemon.c Log Message: Make sure color passed to uvm_reclaimable is valid. To generate a diff of this commit: cvs rdiff -u -r1.93.4.2.4.10

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-11 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Apr 12 01:40:27 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_extern.h uvm_fault.c uvm_km.c uvm_meter.c uvm_pdaemon.c uvm_pdaemon.h uvm_pdpolicy.h uvm_pdpolicy_clock.c uvm_stat.c Log

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-03 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Apr 4 00:26:26 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_init.c uvm_swap.c Log Message: Move the uvm_scheduler_mutex and cv init to uvm_init since they are independent of VMSWAP. To generate a diff of this

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-02-17 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Feb 17 23:35:31 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdpolicy_clock.c Log Message: Assert the page isn't free before munging with its pageq. To generate a diff of this commit: cvs rdiff -u -r1.12.16.3

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-02-17 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Feb 17 23:36:04 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdaemon.c Log Message: Change way waiters are handled. To generate a diff of this commit: cvs rdiff -u -r1.93.4.2.4.6 -r1.93.4.2.4.7

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-02-15 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Feb 16 04:20:46 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_anon.c uvm_page.c uvm_page.h uvm_pdaemon.c uvm_pglist.h uvm_stat.c Log Message: Track the victims selected by the pagedaemon and what

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-02-13 Thread Matt Thomas
Module Name:src Committed By: matt Date: Mon Feb 13 23:07:31 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_page.h uvm_pdaemon.c Log Message: Use separate pending and paging tailq entries. Add a queue check routine to validate the queues aren't corrupt. To

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-02-13 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Feb 14 01:12:43 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_anon.c uvm_km.c uvm_page.c uvm_pager.c uvm_pdaemon.c uvm_pglist.c Log Message: Add more KASSERTs (more! more! more!). When returning page

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-02-11 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sun Feb 12 07:30:25 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdpolicy_clock.c Log Message: Disable some of more agressive debug checks since with lots of pages, they cause O(n^2) increases in time. To generate

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-02-09 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Feb 10 07:14:01 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_km.c Log Message: Place allocated kmem pages on a kmem_pageq. This makes it easy for crash dump code to find them. To generate a diff of this

CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-01-21 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Jan 21 23:20:58 UTC 2012 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pdpolicy_clock.c Log Message: Use pg instead p as a pointer to struct uvm_page. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.12.16.1

CVS commit: [matt-nb5-mips64] src/sys/uvm

2011-11-28 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Nov 29 07:44:52 UTC 2011 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_param.h Log Message: Redefine ptoa() to be the inverse of atop. If you were using a 32-bit vaddr_t with 64-bit paddr_t and using managed addresses

CVS commit: [matt-nb5-mips64] src/sys/uvm

2011-11-28 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Nov 29 07:45:58 UTC 2011 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_page.c Log Message: Add a macro to allow a port to control from which freelists normal pages can be allocated. To generate a diff of this commit: cvs

CVS commit: [matt-nb5-mips64] src/sys/uvm

2011-11-04 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Nov 4 15:32:27 UTC 2011 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pglist.h Log Message: #include machine/vmparam.h if VM_NFREELIST isn't defined. To generate a diff of this commit: cvs rdiff -u -r1.7.16.2 -r1.7.16.3

CVS commit: [matt-nb5-mips64] src/sys/uvm

2011-06-03 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Jun 3 07:52:48 UTC 2011 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_vnode.c Log Message: Restore $NetBSD$ To generate a diff of this commit: cvs rdiff -u -r1.90.28.2 -r1.90.28.3 src/sys/uvm/uvm_vnode.c Please note

CVS commit: [matt-nb5-mips64] src/sys/uvm

2011-06-03 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Jun 3 07:56:08 UTC 2011 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm.h uvm_extern.h uvm_page.h uvm_pglist.h Log Message: Restore $NetBSD$ To generate a diff of this commit: cvs rdiff -u -r1.55.16.1

CVS commit: [matt-nb5-mips64] src/sys/uvm

2011-06-03 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Jun 3 07:59:59 UTC 2011 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_aobj.c uvm_fault.c uvm_km.c uvm_map.c uvm_meter.c uvm_page.c uvm_pager.c uvm_pdaemon.c Log Message: Restore $NetBSD$ To generate a diff

CVS commit: [matt-nb5-mips64] src/sys/uvm

2011-06-03 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Jun 3 08:00:52 UTC 2011 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pglist.c Log Message: Restore $NetBSD$ To generate a diff of this commit: cvs rdiff -u -r1.42.16.9 -r1.42.16.10 src/sys/uvm/uvm_pglist.c Please note

CVS commit: [matt-nb5-mips64] src/sys/uvm

2011-06-02 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Jun 3 02:43:43 UTC 2011 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm.h uvm_extern.h uvm_map.c uvm_meter.c uvm_page.c uvm_page.h uvm_pager.c uvm_pdaemon.c uvm_pglist.c uvm_pglist.h uvm_vnode.c Log

CVS commit: [matt-nb5-mips64] src/sys/uvm

2011-05-27 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri May 27 17:17:17 UTC 2011 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pglist.c Log Message: Fix a bug where limit could be greater avail_end. Now if that happens, we just bail. Use KDASSERTMSG so panics are more

CVS commit: [matt-nb5-mips64] src/sys/uvm

2011-04-29 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Apr 29 08:15:10 UTC 2011 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_unix.c Log Message: Fix PRIdVSIZE macro To generate a diff of this commit: cvs rdiff -u -r1.40.28.1 -r1.40.28.2 src/sys/uvm/uvm_unix.c Please note

CVS commit: [matt-nb5-mips64] src/sys/uvm

2011-04-29 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Apr 29 08:16:43 UTC 2011 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_page.h Log Message: Add macros from current (VM_PAGE_TO_MD, VM_PHYSMEM_PTR, VM_PHYSMEM_PTR_SWAP) To generate a diff of this commit: cvs rdiff -u

CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-08-18 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Aug 18 18:19:11 UTC 2010 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_map.c Log Message: Add a hook so that MD code has handle the change in address space limits when an exec happens. Add a routine to turn on/off UX when

CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-06-01 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Jun 1 19:04:03 UTC 2010 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pglist.c Log Message: Fix bad initialization spotted by Manuel Bouyer. To generate a diff of this commit: cvs rdiff -u -r1.42.16.5 -r1.42.16.6

CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-26 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Jan 26 21:26:28 UTC 2010 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_extern.h uvm_fault.c uvm_km.c uvm_page.c Log Message: Pass hints to uvm_pagealloc* to get it to use the right page color rather than guess

CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-26 Thread Tohru Nishimura
Module Name:src Committed By: nisimura Date: Wed Jan 27 07:45:19 UTC 2010 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_page.c Log Message: Remove JRT two line comment about cache interference since the change specifically addresses general VIPT cache issue. Need

CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-23 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Jan 23 19:54:04 UTC 2010 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_page.h uvm_pglist.c Log Message: Add a start_hint to vm_physseg so when allocating pages, we can skip forward over pages that are probably still

CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-23 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Jan 23 20:03:28 UTC 2010 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pglist.c Log Message: Use roundup2 instead of roundup when doing alignment rounding since all alignments must be a power of 2. (thanks to rmind for

CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-22 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Jan 22 08:54:41 UTC 2010 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pglist.c Log Message: Remove some optimizations since they actually don't do the right thing. We never want to test the starting page first since it

CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-21 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Jan 22 04:03:22 UTC 2010 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_stat.c Log Message: Print out colors in uvmexp_print To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.31.12.1 src/sys/uvm/uvm_stat.c

CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-21 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Jan 22 05:17:32 UTC 2010 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pglist.c Log Message: Rework the algorithm to allocate contiguous pages to be much much faster. (read the comments if you want to know how it's done).

CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-21 Thread Soren Jacobsen
Module Name:src Committed By: snj Date: Fri Jan 22 06:05:16 UTC 2010 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_pglist.c Log Message: Fix a couple comment typos. To generate a diff of this commit: cvs rdiff -u -r1.42.16.1 -r1.42.16.2 src/sys/uvm/uvm_pglist.c

CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-08 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Jan 9 05:54:40 UTC 2010 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_km.c Log Message: If PMAP_ALLOC_POOLPAGE is defined use it instead of uvm_pagealloc To generate a diff of this commit: cvs rdiff -u -r1.101.4.2

CVS commit: [matt-nb5-mips64] src/sys/uvm

2009-09-12 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Sep 12 18:38:46 UTC 2009 Modified Files: src/sys/uvm [matt-nb5-mips64]: uvm_page.c Log Message: Add KASSERT(pg) to uvm_pagefree() so that invalid physical address passed to VM_PHYS_TO_PAGE will be easily caught. To generate a