NetBSD/sys/uvm
pk 9a4aea0127 When retiring a swap device with marked bad blocks on it we should update
the `# swap page in use' and `# swap page only' counters.  However, at the
time of swap device removal we can no longer figure out how many of the
bad swap pages are actually also `swap only' pages.

So, on swap I/O errors arrange things to not include the bad swap pages in
the `swpgonly' counter as follows: uvm_swap_markbad() decrements `swpgonly'
by the number of bad pages, and the various VM object deallocation routines
do not decrement `swpgonly' for swap slots marked as SWSLOT_BAD.
2003-08-28 13:12:17 +00:00
..
Makefile Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more. 2002-11-26 23:30:07 +00:00
uvm_amap_i.h Properly set page references counts at the start of the newly 2002-12-20 18:21:13 +00:00
uvm_amap.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
uvm_amap.h Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
uvm_anon.c When retiring a swap device with marked bad blocks on it we should update 2003-08-28 13:12:17 +00:00
uvm_anon.h
uvm_aobj.c When retiring a swap device with marked bad blocks on it we should update 2003-08-28 13:12:17 +00:00
uvm_aobj.h
uvm_bio.c fix ubc pager to take care of loan_count. 2003-05-03 18:05:16 +00:00
uvm_ddb.h
uvm_device.c
uvm_device.h
uvm_extern.h Introduce uvm_swapisfull(), which computes the available swap space by 2003-08-11 16:33:30 +00:00
uvm_fault_i.h /*CONSTCOND*/ 2002-11-02 07:38:42 +00:00
uvm_fault.c Make sure to call uvm_swap_free() and uvm_swap_markbad() with valid (i.e. 2003-08-11 16:44:35 +00:00
uvm_fault.h
uvm_glue.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
uvm_glue.h
uvm_init.c Back out the following chagne: 2003-05-10 21:10:23 +00:00
uvm_io.c Correct use of MAXBSIZE where MAXPHYS was intended. This is a necessary 2003-04-23 00:55:17 +00:00
uvm_km.c When retiring a swap device with marked bad blocks on it we should update 2003-08-28 13:12:17 +00:00
uvm_km.h Back out the following chagne: 2003-05-10 21:10:23 +00:00
uvm_loan.c - export raw page loan out routine as uvm_loanuobjpages. (for nfsd) 2003-05-03 17:54:32 +00:00
uvm_loan.h - export raw page loan out routine as uvm_loanuobjpages. (for nfsd) 2003-05-03 17:54:32 +00:00
uvm_map_i.h Reorder things so that with multiple inclusion protection that optional 2002-12-01 22:58:43 +00:00
uvm_map.c use VM_PAGE_TO_PHYS macro instead of using phys_addr directly. 2003-08-26 15:12:18 +00:00
uvm_map.h Introduce "top down" memory management for mmap()ed allocations. This 2003-02-20 22:16:05 +00:00
uvm_meter.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
uvm_mmap.c fix some indentation. 2003-08-24 18:12:25 +00:00
uvm_object.h
uvm_page_i.h Reorder things so that with multiple inclusion protection that optional 2002-12-01 22:58:43 +00:00
uvm_page.c Fix typo in panic message. From miod@openbsd. 2003-06-01 09:26:10 +00:00
uvm_page.h Back out the following chagne: 2003-05-10 21:10:23 +00:00
uvm_pager_i.h Reorder things so that with multiple inclusion protection that optional 2002-12-01 22:58:43 +00:00
uvm_pager.c When retiring a swap device with marked bad blocks on it we should update 2003-08-28 13:12:17 +00:00
uvm_pager.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
uvm_param.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
uvm_pdaemon.c When retiring a swap device with marked bad blocks on it we should update 2003-08-28 13:12:17 +00:00
uvm_pdaemon.h
uvm_pglist.c use VM_PAGE_TO_PHYS macro instead of using phys_addr directly. 2003-08-26 15:12:18 +00:00
uvm_pglist.h
uvm_pmap.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
uvm_prot.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
uvm_stat.c
uvm_stat.h Use cpu_number() in UVMHIST_LOG() rather than non-public ci_cpuid member 2003-03-08 15:17:23 +00:00
uvm_swap.c When retiring a swap device with marked bad blocks on it we should update 2003-08-28 13:12:17 +00:00
uvm_swap.h Introduce uvm_swapisfull(), which computes the available swap space by 2003-08-11 16:33:30 +00:00
uvm_unix.c add support for non-executable mappings (where the hardware allows this) 2003-08-24 17:52:28 +00:00
uvm_user.c
uvm_vnode.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
uvm.h Reorder things so that with multiple inclusion protection that optional 2002-12-01 22:58:43 +00:00