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
uvm_amap_i.h
uvm_amap.c
uvm_amap.h
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
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
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
uvm_io.c
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
uvm_loan.c
uvm_loan.h
uvm_map_i.h
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
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
uvm_page.c Fix typo in panic message. From miod@openbsd. 2003-06-01 09:26:10 +00:00
uvm_page.h
uvm_pager_i.h
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
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