Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/uvm
Module Name: src
Committed By: pk
Date: Thu Aug 28 13:12:21 UTC 2003
Modified Files:
src/sys/uvm: uvm_anon.c uvm_aobj.c uvm_km.c uvm_pager.c uvm_pdaemon.c
uvm_swap.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/sys/uvm/uvm_anon.c
cvs rdiff -r1.59 -r1.60 src/sys/uvm/uvm_aobj.c
cvs rdiff -r1.63 -r1.64 src/sys/uvm/uvm_km.c
cvs rdiff -r1.60 -r1.61 src/sys/uvm/uvm_pager.c
cvs rdiff -r1.52 -r1.53 src/sys/uvm/uvm_pdaemon.c
cvs rdiff -r1.81 -r1.82 src/sys/uvm/uvm_swap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index